-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update SMILE dependencies to 2.0.0.RELEASE (#81)
* Update to java21 General updates: - Support java21 - Spring framework and spring boot updates - Updated test layer to junit-jupiter - Updated circleci config Signed-off-by: Angelica Ochoa <15623749+ao508@users.noreply.github.com> * Update SMILE dependencies to 2.0.0.RELEASE Signed-off-by: Angelica Ochoa <15623749+ao508@users.noreply.github.com> --------- Signed-off-by: Angelica Ochoa <15623749+ao508@users.noreply.github.com>
- Loading branch information
Showing
9 changed files
with
118 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
FROM maven:3.6.1-jdk-11-slim | ||
FROM maven:3.8.8 | ||
# create working directory and set | ||
RUN mkdir /label-generator | ||
ADD . /label-generator | ||
WORKDIR /label-generator | ||
RUN mvn clean install | ||
|
||
# copy jar and set entrypoint | ||
FROM openjdk:11-slim | ||
FROM openjdk:21 | ||
COPY --from=0 /label-generator/target/smile_label_generator.jar /label-generator/smile_label_generator.jar | ||
ENTRYPOINT ["java"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
jdk: | ||
- openjdk21 | ||
|
||
before_install: | ||
- sdk install maven 3.8.8 | ||
- sdk use maven 3.8.8 | ||
- sdk install java 21.0.2-open | ||
- sdk use java 21.0.2-open | ||
- sdk update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package org.mskcc.smile; | ||
|
||
import org.mskcc.cmo.messaging.Gateway; | ||
import org.mskcc.smile.service.impl.LabelGenMessageHandlingServiceImpl; | ||
import org.mskcc.smile.service.impl.RequestReplyHandlingServiceImpl; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.boot.test.mock.mockito.MockBean; | ||
|
||
/** | ||
* | ||
* @author laptop | ||
*/ | ||
@SpringBootApplication(scanBasePackages = {"org.mskcc.smile.service", "org.mskcc.smile.commons.*"}) | ||
public class LabelGeneratorTestApp { | ||
@MockBean | ||
public Gateway messagingGateway; | ||
|
||
@MockBean | ||
public LabelGenMessageHandlingServiceImpl labelGenMessageHandlingServiceImpl; | ||
|
||
@MockBean | ||
public RequestReplyHandlingServiceImpl requestReplyMessageHandlingServiceImpl; | ||
} |
Oops, something went wrong.