From 087df6df02bbafa7ac72307447d60e77761d58a8 Mon Sep 17 00:00:00 2001 From: Urmila Nadkarni Date: Thu, 10 Nov 2016 14:51:10 -0800 Subject: [PATCH 1/2] EN-11943: CLI - log the job ID when the job begins --- .../com/socrata/datasync/publishers/DeltaImporter2Publisher.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/socrata/datasync/publishers/DeltaImporter2Publisher.java b/src/main/java/com/socrata/datasync/publishers/DeltaImporter2Publisher.java index c5e9c4b3..d0aae604 100644 --- a/src/main/java/com/socrata/datasync/publishers/DeltaImporter2Publisher.java +++ b/src/main/java/com/socrata/datasync/publishers/DeltaImporter2Publisher.java @@ -381,6 +381,7 @@ void handleHttpResponsePath(CloseableHttpResponse response) throws IOException, do { psm.go(); } while (psm.jobId == null); + System.out.println("Diff was successfully committed: job ID is " + psm.jobId); return psm.jobId; } From 56e08ef4acf62513e7d6cb56f5e525e3ac689a74 Mon Sep 17 00:00:00 2001 From: Trey Causey Date: Tue, 6 Dec 2016 09:02:15 -0800 Subject: [PATCH 2/2] Updating README, pom, version to 1.7.3 --- README.md | 4 ++-- pom.xml | 12 +++++++++++- .../com/socrata/datasync/VersionProviderTest.java | 4 ++-- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5631a09e..5746df14 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Socrata Datasync ================ -Last updated: April 23, 2014 +Last updated: December 6, 2016 Authors: [Adrian Laurenzi](http://www.github.com/alaurenz) & [Louis Fettet](http://www.github.com/LouisFettet) @@ -50,7 +50,7 @@ mvn clean compile -Dmaven.test.skip=true assembly:single This puts the JAR file into the "target" directory inside the repo. So to open DataSync, simply: ``` cd target -java -jar DataSync-1.7.2-jar-with-dependencies.jar +java -jar DataSync-1.7.3-jar-with-dependencies.jar ``` ### Java SDK diff --git a/pom.xml b/pom.xml index dad4e2ff..9d9c6753 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 DataSync DataSync - 1.7.2 + 1.7.3 Ayn Leslie-Cook @@ -25,6 +25,16 @@ louis.fettet@socrata.com Socrata + + Urmila Nadkarni + urmila.nadkarni@socrata.com + Socrata + + + Robert Macbomber + robert.macomber@socrata.com + Socrata + src/main/java diff --git a/src/test/java/com/socrata/datasync/VersionProviderTest.java b/src/test/java/com/socrata/datasync/VersionProviderTest.java index 2c463d11..58fe501b 100644 --- a/src/test/java/com/socrata/datasync/VersionProviderTest.java +++ b/src/test/java/com/socrata/datasync/VersionProviderTest.java @@ -35,7 +35,7 @@ public void testVersionMajorNumbers() { @Test public void testGetLatestVersion() throws URISyntaxException { - TestCase.assertEquals("1.7.2", VersionProvider.getLatestVersion()); + TestCase.assertEquals("1.7.3", VersionProvider.getLatestVersion()); } @Test @@ -48,6 +48,6 @@ public void testIsLatestVersion() throws URISyntaxException { @Test public void testGetThisVersion() { - TestCase.assertEquals("1.7.2", VersionProvider.getThisVersion()); + TestCase.assertEquals("1.7.3", VersionProvider.getThisVersion()); } }