Skip to content

Commit

Permalink
Checking in Gradle wrapper jar. Changing filename pattern for generators
Browse files Browse the repository at this point in the history
  • Loading branch information
angshu committed Jul 27, 2020
1 parent 7ea4f7e commit c5d5b5b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void execute(String patientName, Date fromDate, int number, Path location
.collect(Collectors.toList());
Bundle.BundleEntryComponent patientEntry = patientEntries.get(0);
String fileName = String.format("%sDiagnosticReportDoc%s.json",
patientEntry.getResource().getId(), Utils.formatDate(date, "MMddyyyy"));
patientEntry.getResource().getId(), Utils.formatDate(date, "yyyyMMdd"));
Path path = Paths.get(location.toString(), fileName);
System.out.println("Saving DiagnosticReport to file:" + path.toString());
Utils.saveToFile(path, encodedString);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void execute(String patientName, Date fromDate, int number, Path location
.collect(Collectors.toList());
Bundle.BundleEntryComponent patientEntry = patientEntries.get(0);
String fileName = String.format("%sPrescriptionDoc%s.json",
patientEntry.getResource().getId(), Utils.formatDate(date, "MMddyyyy"));
patientEntry.getResource().getId(), Utils.formatDate(date, "yyyyMMdd"));
Path path = Paths.get(location.toString(), fileName);
System.out.println("Saving Prescription to file:" + path.toString());
Utils.saveToFile(path, encodedString);
Expand Down

0 comments on commit c5d5b5b

Please sign in to comment.