You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+81-28Lines changed: 81 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,39 @@ Learning experience metadata received from XIAs is stored in the Metadata Loadin
7
7
8
8
XIS can syndicate its composite records to another XIS. One or more facets/dimensions can filter the record-set to transmit a subset of the overall composite record repository. In addition, the transmitted fieldset can be configured to contain redacted values for specified fields when information is considered too sensitive for syndication.
9
9
10
+
## ECC System Architecture
11
+
12
+
```mermaid
13
+
---
14
+
title: ECC Connected Systems
15
+
---
16
+
graph TD;
17
+
subgraph Legend
18
+
1("System")-->|MVP|2("System");
19
+
1("System")-.->|Future Planned|2("System");
20
+
end
21
+
subgraph External Applications
22
+
XSR;
23
+
XSS[XSS/LDSS];
24
+
end
25
+
subgraph ECC
26
+
XIS;
27
+
XDS;
28
+
XDSUI[XDS UI];
29
+
XMS;
30
+
XMSUI[XMS UI];
31
+
XIA;
32
+
XSE;
33
+
end
34
+
XSS-->|Schema|XIS & XIA;
35
+
XIA-->|Courses|XIS;
36
+
XIS-->|Courses|XMS & XDS & XSE;
37
+
XSE-->|Courses|XDS;
38
+
XSR-->|Courses|XIA;
39
+
XDS-->|Courses|XDSUI;
40
+
XMS-->|Courses|XMSUI;
41
+
```
42
+
10
43
## Workflows
11
44
### ETL
12
45
ETL pipeline from XIA loads processed metadata ledger and supplemental ledger in a metadata ledger and supplemental ledger of XIS component after a validation. Metadata combined with supplemental metadata provided by an Experience Owner or Experience Manager from XMS also gets stored in XIS. All of them from XIA and XMS finally get merged into XIS's composite ledger after a validation.
@@ -43,35 +76,35 @@ Or copy it into one of these folders to install it system-wide:
43
76
`Python >=3.9` : Download and install it from here [Python](https://www.python.org/downloads/).
1. 1. Navigate over to `http://localhost:8080/admin/` in your browser and login to the Django Admin page with the admin credentials set in your `.env` (`DJANGO_SUPERUSER_EMAIL` & `DJANGO_SUPERUSER_PASSWORD`)
- `Template`: Select a 'template' from the drop down options set up previously.
164
197
165
-
## 6. Running Of XIS Tasks:
198
+
## Running Of XIS Tasks:
166
199
167
200
### Running Tasks
168
201
XIS has 3 workflows that can be run. Consolidation and loading of Metadata and Supplemental Metadata into Compositing Ledger then loading it into XSE. XIS Upstream Syndication. And XIS Downstream Syndication. They can each be triggered 2 ways:
@@ -189,7 +222,7 @@ XIS has 3 workflows that can be run. Consolidation and loading of Metadata and
189
222
- `Name` - Short description for this task
190
223
- `Task (registered)`: The workflow to run from the Task (registered) dropdown list. On the selected time interval celery task will run the task.
191
224
192
-
## 7. Removing Deployment
225
+
## Removing Deployment
193
226
To destroy the created resources, simply run the command below in your terminal:
194
227
195
228
@@ -199,24 +232,44 @@ To destroy the created resources, simply run the command below in your terminal:
199
232
200
233
XIS supports API's endpoints which can get called from other components
201
234
202
-
1. `http://localhost:8080/api/catalogs/`
235
+
1. `/api/catalogs/`
236
+
237
+
This API fetches the names of all course providers in the composite ledger
238
+
239
+
2. `/api/metadata/`
240
+
241
+
This API is for uploading metadata ledger records
242
+
243
+
3. `/api/supplemental-data/`
244
+
245
+
This API is for uploading supplemental ledger records
246
+
247
+
4. `/api/metadata/<str:course_id>/`
248
+
249
+
This API fetches the composite ledger object
250
+
251
+
5. `/api/managed-data/catalogs/`
252
+
253
+
This API fetches the names of all course providers in the metadata ledger
254
+
255
+
6. `/api/managed-data/catalogs/<str:provider_id>`
203
256
204
-
This API fetches the names of all course providers
257
+
This API fetches the metadata and supplemental ledger data under a specific catalog/course provider
This API fetches or modifies the record of the corresponding course id
209
262
210
-
# Logs
263
+
## Logs
211
264
To check the running of celery tasks, check the logs of application and celery container.
212
265
213
266
214
-
# Troubleshooting
267
+
## Troubleshooting
215
268
- If the container builds but crashes or logs an error of unrecognized commands, the issue is usually incorrect line endings. Most IDEs/Text Editors allow changing the line endings, but the dos2unix utility can also be used to change the line endings of `start-app.sh` and `start-server.sh` to LF.
216
269
217
270
218
271
- A good basic troubleshooting step is to use `docker-compose down` and then `docker-compose up --build` to rebuild the app image; however, this will delete everything in the database.
219
272
220
-
# License
273
+
## License
221
274
This project uses the [MIT](http://www.apache.org/licenses/LICENSE-2.0) license.
0 commit comments