-
Notifications
You must be signed in to change notification settings - Fork 38
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
BS-123 #81
BS-123 #81
Conversation
…o, build the jar and include it in the execution classpath
.github/workflows/build_publish.yml
Outdated
@@ -4,9 +4,9 @@ on: | |||
branches: | |||
- snomed-master | |||
- 'snomed-release-*' | |||
- reports-issue |
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.
please remove this branch.
@@ -0,0 +1,33 @@ | |||
FROM amazoncorretto:8 |
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.
where are you using newly created file ?
|
||
RUN cp /opt/bahmni-reports-extension-icd10/target/extensions-1.0-SNAPSHOT.jar ${WAR_DIRECTORY}/WEB-INF/lib/extensions-1.0-SNAPSHOT.jar |
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.
please follow semantic versioning
for version
@@ -99,7 +99,7 @@ private void enrichUsingReflection(String extensionClassStr, Collection<Map<Stri | |||
Constructor constructor = extensionClass.getDeclaredConstructor(); | |||
constructor.setAccessible(true); | |||
ResultSetExtension extension = (ResultSetExtension) constructor.newInstance(); | |||
extension.enrich(collection, jasperReport); | |||
extension.enrich(collection, jasperReport);//enrich |
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.
please remove this comment
@@ -22,7 +24,10 @@ COPY target/bahmnireports.war /etc/bahmni-reports/bahmnireports.war | |||
RUN cd ${WAR_DIRECTORY} && jar xvf /etc/bahmni-reports/bahmnireports.war | |||
|
|||
ADD https://repo.mybahmni.org/packages/build/bahmni-embedded-tomcat-8.0.42.jar /opt/bahmni-reports/lib/bahmni-embedded-tomcat.jar | |||
RUN cd /opt/ && git clone https://github.com/Bahmni/bahmni-reports-extension-icd10.git | |||
RUN cd /opt/bahmni-reports-extension-icd10 && mvn clean install |
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.
you can remove the directory /opt/bahmni-reports-extension-icd10
after copying of jar file
Not needed |
Requirements
Summary
Workflows to clone ICD10 extensions repository, build the jar and add the jar to the execution classpath
Screenshot
JIRA tickets
https://bahmni.atlassian.net/browse/BS-123