From 60d7a554cac1c0cc9af5ab66aefab76a897fb7c4 Mon Sep 17 00:00:00 2001 From: Chris Hossenlopp Date: Tue, 25 Sep 2018 16:14:33 -0400 Subject: [PATCH 1/3] Updated for 1.3.8 --- pom.xml | 14 +++++++------- .../cqlTranslationServer/TranslationResource.java | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 029b908..dae8384 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.mitre.bonnie cqlTranslationServer jar - 1.2.20 + 1.3.8 cqlTranslationServer @@ -54,32 +54,32 @@ info.cqframework cql - 1.2.20 + 1.3.8 info.cqframework model - 1.2.20 + 1.3.8 info.cqframework cql-to-elm - 1.2.20 + 1.3.8 info.cqframework elm - 1.2.20 + 1.3.8 info.cqframework quick - 1.2.20 + 1.3.8 info.cqframework qdm - 1.2.20 + 1.3.8 commons-cli diff --git a/src/main/java/org/mitre/bonnie/cqlTranslationServer/TranslationResource.java b/src/main/java/org/mitre/bonnie/cqlTranslationServer/TranslationResource.java index fb7c137..1a54ce1 100644 --- a/src/main/java/org/mitre/bonnie/cqlTranslationServer/TranslationResource.java +++ b/src/main/java/org/mitre/bonnie/cqlTranslationServer/TranslationResource.java @@ -95,7 +95,7 @@ private CqlTranslator getTranslator(File cql, boolean disablePromotion) { List optionsList = new ArrayList(); optionsList.add(Options.EnableAnnotations); if (disablePromotion) { - optionsList.add(Options.DisablePromotion); + optionsList.add(Options.DisableListPromotion); } Options[] options = optionsList.toArray(new Options[optionsList.size()]); return CqlTranslator.fromFile(cql, modelManager, libraryManager, options); From 02d315c6a7cc7f116c784e7d8e2e5c2c20ac5c08 Mon Sep 17 00:00:00 2001 From: Chris Hossenlopp Date: Thu, 27 Sep 2018 15:24:35 -0400 Subject: [PATCH 2/3] updated for 1.3.10 --- pom.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index dae8384..3d47834 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.mitre.bonnie cqlTranslationServer jar - 1.3.8 + 1.3.10 cqlTranslationServer @@ -54,32 +54,32 @@ info.cqframework cql - 1.3.8 + 1.3.10 info.cqframework model - 1.3.8 + 1.3.10 info.cqframework cql-to-elm - 1.3.8 + 1.3.10 info.cqframework elm - 1.3.8 + 1.3.10 info.cqframework quick - 1.3.8 + 1.3.10 info.cqframework qdm - 1.3.8 + 1.3.10 commons-cli From d019cc768cceb40f0722c2e1591c82a0b8aa9c52 Mon Sep 17 00:00:00 2001 From: Chris Hossenlopp Date: Thu, 27 Sep 2018 16:57:37 -0400 Subject: [PATCH 3/3] updated dockerfile and readme --- Dockerfile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cfbcb44..5e05378 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,4 +19,4 @@ EXPOSE 8080 # execute it # CMD ["mvn", "exec:java"] -CMD ["java", "-jar", "target/cqlTranslationServer-1.2.20-jar-with-dependencies.jar", "-d"] +CMD ["java", "-jar", "target/cqlTranslationServer-1.3.10-jar-with-dependencies.jar", "-d"] diff --git a/README.md b/README.md index 371e7a0..5f143d3 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Build: Executed via the command line: - java -jar target/cqlTranslationServer-1.2.20-jar-with-dependencies.jar + java -jar target/cqlTranslationServer-1.3.10-jar-with-dependencies.jar Example usage via HTTP request: