Skip to content

Commit b3d1bfb

Browse files
committed
Remove module code. Moved to https://github.com/LabKey/clientModules
1 parent e4196ba commit b3d1bfb

File tree

1,090 files changed

+1
-204728
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,090 files changed

+1
-204728
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 0 additions & 25 deletions
This file was deleted.

LICENSE.txt

Lines changed: 0 additions & 202 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1 @@
1-
# CDS
2-
3-
## Dataset/Assay updates
4-
A frequent request from client is to add/modify dataset fields. There are currently 7 datasets defined for DataSpace: 1 demographics, 5 subject level assay and 1 mab assay. The dataset definitions lives in dataset xml files (MasterDataspace/study/datasets/) and are loaded to LabKey server via folder import.
5-
6-
The following work are usually required to change dataset fields:
7-
Make modification to dataset definition in dataset_metadata.xml
8-
Add new fields, or modify existing fields label/description, etc
9-
Re import dataset definition by uploading MasterDataspace/ and import folder.xml
10-
Make schema, query and ETL changes for dataset change
11-
Schema change usually is needed when new fields are to be added. There is a set of import_* tables, that the ETL import flat txt import files into, as a first step. See “CDS ETLs” section for more information.
12-
Customize field in measure.js
13-
14-
Measure.js: field behavior in app
15-
Dataset_metadata.xml defines some basic field props, such as name, description, measure, dimension, field type, etc. Fields are future decorated in measure.js to allow customized behavior in Plot (Y axis, X axis and color) and Grid variable selector.
16-
CDS ETLs
17-
2 ETLs are used to load data into the app from a set of txt files.
18-
19-
CDSImport.xml
20-
This first step ETL reads txt files into a set of import_tables. When new dataset fields are requested, schema change is often needed so the import_ tables match the new fields available in the uploaded txt files.
21-
22-
LoadApplications.xml
23-
This step transforms the raw data into processed data and loads to destination cds and study schema. Data processing are done in 2 ways:
24-
Through staging queries. There are a set of queries defined over cds as well as study schema, they are mainly used for the following purposes: intermediate / semi processed source table for ETL (lots of the ds_* queries), helper queries for Learn About (some ds_ and most learn_).
25-
Through java code. For more complex processing, java based (or a combination of query and java) approach is used. See PopulateTreatmentArmTask for example.
26-
27-
## Compiling scss for cds
28-
Themes are built with Webpack and no longer need to be checked in. Styles are built during a gradle build via our build
29-
commands in package.json.
30-
31-
Styles for main cds app live in the theme/connector/ directory.
32-
33-
Styles for the front page live in the theme/front-page/ directory.
34-
35-
You might need to run 'npm run build' from the cds/ root directory before running deployApp for the changes in .scss to take effect.
36-
37-
## Staging and prod server upgrade
38-
Staging server reminder: One thing worth reminding Jon of during each staging upgrade is, for DataSpace staging, a data refresh is never needed/desired. The staging server may hold in progress work, such as R reports, that should not be wiped out during upgrade.
39-
CDS take the latest patch release build, not the latest Alpha (sprint) build.
40-
41-
For each upgrade, developer should check if there is any dataset change. If so, upload the version of MasterDataspace/ folder that matches the build to the server, and run folder import to update dataset definition. If this is not done, ETL might fail.
42-
If there is new data, the 2 ETLs will be run. Usually the client uploads the new data and then run the ETLs themselves.
43-
44-
Recommend browser cache clearing if client is seeing weird styles.
1+
Module moved to [LabKey/clientModules](https://github.com/LabKey/clientModules) in 24.11

build.gradle

Lines changed: 0 additions & 25 deletions
This file was deleted.

module.properties

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)