Skip to content

Commit

Permalink
Merge pull request #335 from ncats/fix_example_config
Browse files Browse the repository at this point in the history
changed config of example module to allow it to start up independently
  • Loading branch information
blueSwordfish authored May 22, 2024
2 parents 68d6f2d + 9e285e0 commit 172ad0b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 7 deletions.
12 changes: 6 additions & 6 deletions gsrs-module-substance-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@
<artifactId>gsrs-core-entities</artifactId>
<version>${gsrs.version}</version>
</dependency>
<dependency>
<groupId>gov.nih.ncats</groupId>
<artifactId>gsrs-module-substances-data-exchange</artifactId>
<version>${gsrs.substance.version}</version>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
Expand Down Expand Up @@ -327,12 +333,6 @@
<version>0.4.0</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>gov.nih.ncats</groupId>
<artifactId>gsrs-module-substances-data-exchange</artifactId>
<version>${gsrs.substance.version}</version>
<scope>test</scope>
</dependency>
<!--dependency>
<groupId>gov.nih.ncats</groupId>
<artifactId>gsrs-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,31 @@ ix.authentication.logheaders=false

#logging.level.org.hibernate.SQL=DEBUG
#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
logging.level.gsrs.module.substance.scrubbers.basic=trace
logging.level.gsrs.module.substance.scrubbers.basic=trace

gsrs.matchableCalculators.substances =
[
{"matchableCalculationClass" : "gsrs.dataexchange.extractors.CASNumberMatchableExtractor",
"config" :{
"casCodeSystems": ["CAS", "CASNo", "CASNumber"]
}
},
{"matchableCalculationClass" : "gsrs.dataexchange.extractors.AllNamesMatchableExtractor","config" :{}},
{"matchableCalculationClass" : "gsrs.dataexchange.extractors.ApprovalIdMatchableExtractor","config" :{}},
{"matchableCalculationClass" : "gsrs.dataexchange.extractors.DefinitionalHashMatchableExtractor","config" :{}},
{"matchableCalculationClass" : "gsrs.dataexchange.extractors.SelectedCodesMatchableExtractor",
"config" :
{
"codeSystems" :["CAS", "ChemBL", "NCI", "NSC", "EINECS"]
}
},
{"matchableCalculationClass" : "gsrs.dataexchange.extractors.UUIDMatchableExtractor","config" :{}},
{"matchableCalculationClass" : "gsrs.dataexchange.extractors.CodeMatchableExtractor",
"config" :{
"reqCodeSystems": ["FDA UNII"],
"codeType": "PRIMARY",
"codeKey": "CODE"
}
}
]

0 comments on commit 172ad0b

Please sign in to comment.