Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mskcc/limsrest
the restful service used by the IGO LIMS
https://github.com/mskcc/limsrest
Last synced: about 1 month ago
JSON representation
the restful service used by the IGO LIMS
- Host: GitHub
- URL: https://github.com/mskcc/limsrest
- Owner: mskcc
- Created: 2017-08-16T15:46:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-10T14:50:43.000Z (about 1 month ago)
- Last Synced: 2024-11-10T15:36:13.104Z (about 1 month ago)
- Language: Java
- Homepage:
- Size: 100 MB
- Stars: 2
- Watchers: 7
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LimsRest
The restful service used by IGO and IGO customers.## Dev
Please update properties files as the populated files are not uploaded to this repo. If you are updating any properties,
please commit an unassigned value of that property to the relevant properties files in `local`, `dev`, and `production`
### Local Setup
1. Copy properties file from resource path at the LIMS rest host being deployed to
```
# ON LIMSREST HOST
# TODO - Provide these values
YOUR_HOST=
TGT_PATH= # path to your ./src/local/resources directory of this project
rsc_path= # e.g. ".../path/to/sapio/lims/tomcat/webapps/LimsRest##-1.17.3d/WEB-INF/classes"
files="app.properties connect.txt limsrestcredentials.properties"
for f in ${files}; do
scp ${rsc_path}/${f} ${YOUR_HOST}:${TGT_PATH}
done
```2. Copy over the files pointed to the fields in `app.properties`
* `nats.keystore_path`
* `nats.truststore_path`
(Optional - point to a log file)
* `metadb.publishing_failures_filepath`3. Update `connect.txt`
* `lims.host` - Add hostname properties files were copied from
* `lims.user1`/`lims.user2` - Add personal API user (e.g. api-streid)
* `lims.pword1`/`lims.pword2` - Add personal API user password`4. Modify `gradle.properties` so the target points to dev
```
nexusUrl=
nexusUrlReleases=
nexusUsername=
nexusPassword=
target=dev
```5. (`gradle clean` &) `gradle bootRun`
## Deploy
1. Copy properties file (see [Local Setup, Step 1](#local-setup))
2. Modify `gradle.properties` so point to prod (see [Local Setup, Step 4](#local-setup))
3. `gradle clean` and `gradle build`