embulk-output-embulk_output_domo 0.3.3 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 369ef52a51a9004c3d21d03946c6034b24d359d4
4
- data.tar.gz: 9d046241a16d2156fca7cff577ca72560ca6d86b
3
+ metadata.gz: 958830dea0285c84bdcc1b911335ef42fbaedfd4
4
+ data.tar.gz: 0b217dc01789a7899b4b76b2593ec8a865486d0b
5
5
  SHA512:
6
- metadata.gz: 9e463ffcac24d5cebf86265d8a37905d3b2e9802df8b90d61d60234528e938fc578f9720e09dde4869a86d0fb9a52a847d500b03e06e8ea096b0700bf9c7507c
7
- data.tar.gz: 51229748f9c9994efc3ea2413e9e8a96464559ec466dabbc259b6a52d318c5555ce44ac0bc8cfbaccea3ac6c138f90566befacfeb24f9820addf71c9cf333781
6
+ metadata.gz: e59872204c73dc1b93b1c99145bbd5ece8a6e306b41fe4d6614db0c778776f092cf4e8c099ed3b7f84a35bb25dfd8e7cfd0e78c409df7f2cac190efc2ddc99fa
7
+ data.tar.gz: 3a10c3b03f14a6b2ca97909a17e63a9f324aa20a1f37382cd6e10983eef2f2798f3d7432a55a0e70eb957c6b87e677c8b9f021b4c226a3dcd783ea4d3ba77cb0
data/.gitignore CHANGED
@@ -10,4 +10,5 @@ build/
10
10
  /.metadata/
11
11
  .classpath
12
12
  .project
13
- angelos.yml
13
+ angelos.yml
14
+ angelos*
data/build.gradle CHANGED
@@ -13,7 +13,7 @@ configurations {
13
13
  provided
14
14
  }
15
15
 
16
- version = "0.3.3"
16
+ version = "0.3.4"
17
17
 
18
18
  sourceCompatibility = 1.8
19
19
  targetCompatibility = 1.8
@@ -192,6 +192,17 @@ public class EmbulkOutputDomoOutputPlugin
192
192
  logger.info("Found search sds size = "+searchedSds.size());
193
193
  if (searchedSds.size() >0) {
194
194
  sds = searchedSds.get(0);
195
+
196
+ for(Stream sd : searchedSds){
197
+ logger.info("Compare "+sd.getDataset().getName() + " == " + task.getStreamName() +" = " +Boolean.toString(sd.getDataset().getName().equals(task.getStreamName().trim())));
198
+
199
+ if (sd.getDataset().getName().equals(task.getStreamName().trim())){
200
+
201
+ logger.info("We have a match "+sd.getId());
202
+ sds = sd;
203
+ break;
204
+ }
205
+ }
195
206
  }
196
207
  else{
197
208
  logger.info("Lets create new Stream");
@@ -208,6 +219,7 @@ public class EmbulkOutputDomoOutputPlugin
208
219
 
209
220
  sds = streamClient.create(sdsRequest);
210
221
  }
222
+
211
223
  logger.info("Stream "+ sds);
212
224
  execution = streamClient.createExecution(sds.getId());
213
225
  logger.info("Created Execution: " + execution);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-embulk_output_domo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angelos Alexopoulos
@@ -67,7 +67,7 @@ files:
67
67
  - classpath/commons-io-2.6.jar
68
68
  - classpath/hamcrest-core-1.3.jar
69
69
  - classpath/okio-1.12.0.jar
70
- - classpath/embulk-output-embulk_output_domo-0.3.3.jar
70
+ - classpath/embulk-output-embulk_output_domo-0.3.4.jar
71
71
  homepage: https://github.com/alexopoulos7/embulk-output-embulk_output_domo
72
72
  licenses:
73
73
  - MIT