Information on the operations processes for the EVSRESTAPI project
- Curl, jq, git
- Clone the project - https://github.com/NCIEVS/evsrestapi-operations
- Choose a workspace directory, e.g. c:/workspace
- cd c:/workspace
- git clone https://github.com/NCIEVS/evsrestapi-operations
- cd evsrestapi-operations
- cp setenv.sh_orig setenv.sh
- Edit setenv.sh for local environment (and optionally for dev/qa environments)
- cd /local/content
- git clone https://github.com/NCIEVS/evsrestapi-operations
- cd evsrestapi-operations
- cp setenv.sh_orig setenv.sh
- Edit setenv.sh for local environment
- Use
make clean build
to create a zip of all the scripts in the bin directory - This command would create a build directory if it does not exist and creates the zip file in that directory
- The version of the scripts are maintained in the
Makefile
The UMLS Semantic Network is loaded using a python script. This script requires Python 3.7+. The script can be invoked as follows
python src/converter/umls_sem_net.py -d "/Users/squareroot/Documents/wci/loading-terminologies/UmlsSemNet/SRDEF" -r "/Users/squareroot/Documents/wci/loading-terminologies/UmlsSemNet/SRSTRE1" -o "/Users/squareroot/temp"
Input for the script:
-d UMLS Sematic Net definition file
-r UMLS Sematic Net relationship file
-o Directory where the output files will be generated
The evsrestapi indexing process relies on configuration files and data files in this repository. To support the ability for dev/qa to have in access to development features, we require a branching strategy to support development and testing as well as production deployment. This can be managed with the following environment var setting. Use this "develop" url in local/dev/qa contexts.
export CONFIG_BASE_URI=https://raw.githubusercontent.com/NCIEVS/evsrestapi-operations/develop/config/metadata