-
Notifications
You must be signed in to change notification settings - Fork 80
Loading Concept Reference Range Configurations #287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
2a87d27
to
98370cf
Compare
import org.springframework.beans.factory.annotation.Autowired; | ||
import org.springframework.beans.factory.annotation.Qualifier; | ||
|
||
class ConceptReferenceRangeLoaderIntegrationTest extends DomainBaseModuleContextSensitiveTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this class not public?
98370cf
to
614e0e2
Compare
7e979fa
to
34a830c
Compare
34a830c
to
150d3a1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wikumChamith thanks for your initiative and work on this.
Could you however edit your PR description here and detail what this PR brings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, it's looking good @wikumChamith. Just a reminder to conditionally load the api-2.7 packages through the config.xml
file in the omod sub-module's resources. Here's another minor concern to consider.
api/src/test/java/org/openmrs/module/initializer/DomainBaseModuleContextSensitiveTest.java
Outdated
Show resolved
Hide resolved
...openmrs/module/initializer/api/conceptreferencerange/ConceptReferenceRangeLineProcessor.java
Outdated
Show resolved
Hide resolved
@Component | ||
public class ConceptReferenceRangeLineProcessor extends BaseLineProcessor<ConceptReferenceRange> { | ||
|
||
private final String HEADER_CONCEPT_NUMERIC_UUID = "Concept Numeric UUID"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And so on throughout. I think this is more consistent with how things are done:
private final String HEADER_CONCEPT_NUMERIC_UUID = "Concept Numeric UUID"; | |
private final String HEADER_CONCEPT_NUMERIC_UUID = "Concept numeric uuid"; |
api-2.7/pom.xml
Outdated
<artifactId>initializer</artifactId> | ||
<groupId>org.openmrs.module</groupId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: When referencing external modules, it should be Group-Artifact-Version.
<artifactId>initializer</artifactId> | |
<groupId>org.openmrs.module</groupId> | |
<groupId>org.openmrs.module</groupId> | |
<artifactId>initializer</artifactId> |
...va/org/openmrs/module/initializer/api/conceptreferencerange/ConceptReferenceRangeLoader.java
Outdated
Show resolved
Hide resolved
150d3a1
to
d81fd6d
Compare
...org/openmrs/module/initializer/api/lineprocessor/ConceptReferenceRangeLineProcessorTest.java
Outdated
Show resolved
Hide resolved
d81fd6d
to
22c7299
Compare
22c7299
to
469c510
Compare
@mks-d Any objection to merging this in? |
This update adds support for initializing concept reference ranges which was introduced in Platform 2.7.0