diff --git a/ExampleSteps/AddVAT/build.gradle b/ExampleSteps/AddVAT/build.gradle
index 3c411cb..cda11ab 100644
--- a/ExampleSteps/AddVAT/build.gradle
+++ b/ExampleSteps/AddVAT/build.gradle
@@ -11,10 +11,10 @@ repositories {
dependencies {
compileOnly(
- "com.experian.datastudio:sdkapi:2.0.0",
- "com.experian.datastudio:sdklib:2.0.0"
+ "com.experian.datastudio:sdkapi:2.1.0",
+ "com.experian.datastudio:sdklib:2.1.0"
)
- testImplementation "com.experian.datastudio:sdktestframework:2.0.0"
+ testImplementation "com.experian.datastudio:sdktestframework:2.1.0"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.0'
}
diff --git a/ExampleSteps/ConcatValues/build.gradle b/ExampleSteps/ConcatValues/build.gradle
index 3c411cb..cda11ab 100644
--- a/ExampleSteps/ConcatValues/build.gradle
+++ b/ExampleSteps/ConcatValues/build.gradle
@@ -11,10 +11,10 @@ repositories {
dependencies {
compileOnly(
- "com.experian.datastudio:sdkapi:2.0.0",
- "com.experian.datastudio:sdklib:2.0.0"
+ "com.experian.datastudio:sdkapi:2.1.0",
+ "com.experian.datastudio:sdklib:2.1.0"
)
- testImplementation "com.experian.datastudio:sdktestframework:2.0.0"
+ testImplementation "com.experian.datastudio:sdktestframework:2.1.0"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.0'
}
diff --git a/ExampleSteps/IPGeolocation/build.gradle b/ExampleSteps/IPGeolocation/build.gradle
index b337bda..6eb8be6 100644
--- a/ExampleSteps/IPGeolocation/build.gradle
+++ b/ExampleSteps/IPGeolocation/build.gradle
@@ -18,15 +18,15 @@ repositories {
dependencies {
compileOnly(
- "com.experian.datastudio:sdkapi:2.0.0",
- "com.experian.datastudio:sdklib:2.0.0"
+ "com.experian.datastudio:sdkapi:2.1.0",
+ "com.experian.datastudio:sdklib:2.1.0"
)
implementation(
'commons-io:commons-io:2.6',
"org.json:json:20160810",
"org.apache.commons:commons-lang3:3.9"
)
- testImplementation "com.experian.datastudio:sdktestframework:2.0.0"
+ testImplementation "com.experian.datastudio:sdktestframework:2.1.0"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.0'
}
diff --git a/ExampleSteps/IPGeolocation/src/main/java/com/experian/aperture/datastudio/sdk/step/examples/IPGeolocation.java b/ExampleSteps/IPGeolocation/src/main/java/com/experian/aperture/datastudio/sdk/step/examples/IPGeolocation.java
index 2421012..6e58277 100644
--- a/ExampleSteps/IPGeolocation/src/main/java/com/experian/aperture/datastudio/sdk/step/examples/IPGeolocation.java
+++ b/ExampleSteps/IPGeolocation/src/main/java/com/experian/aperture/datastudio/sdk/step/examples/IPGeolocation.java
@@ -62,6 +62,7 @@ public StepConfiguration createConfiguration(StepConfigurationBuilder configurat
.withId(SETTING_ID)
.withName("Lang Localization Setting (e.g. en, de, zh-CN)")
.withIsRequired(true)
+ .withFieldType(StepSettingType.TEXT)
.build())
.build())
.build();
diff --git a/README.md b/README.md
index 6b05ce5..6d25830 100644
--- a/README.md
+++ b/README.md
@@ -47,6 +47,7 @@ This repo contains the SDK JAR and a pre-configured Java project that uses Gradl
- [Destroy cache](#destroy-cache)
- [Assigning value to cache](#assigning-value-to-cache)
- [Getting value from cache](#getting-value-from-cache)
+ - [Custom step exception](#custom-step-exception)
- [Step setting](#step-setting)
- [Creating step setting](#creating-step-setting)
- [Accessing step setting](#accessing-step-setting)
@@ -76,7 +77,8 @@ This repo contains the SDK JAR and a pre-configured Java project that uses Gradl
| Data Studio version | Compatible SDK version |
|:-------------------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
-| 2.0.0 | [2.0.0](https://github.com/experiandataquality/aperture-data-studio-sdk) |
+| 2.0.6 | [2.0.0](https://github.com/experiandataquality/aperture-data-studio-sdk/tree/v2.0.0) — [2.1.0](https://github.com/experiandataquality/aperture-data-studio-sdk) |
+| 2.0.0 | [2.0.0](https://github.com/experiandataquality/aperture-data-studio-sdk/tree/v2.0.0) |
| 1.6.2 | [1.5.0](https://github.com/experiandataquality/aperture-data-studio-sdk/tree/v1.5.0) — [1.6.2](https://github.com/experiandataquality/aperture-data-studio-sdk/tree/v1.6.2) |
| 1.6.1 | [1.5.0](https://github.com/experiandataquality/aperture-data-studio-sdk/tree/v1.5.0) — [1.6.1](https://github.com/experiandataquality/aperture-data-studio-sdk/tree/v1.6.1) |
| 1.6.0 | [1.5.0](https://github.com/experiandataquality/aperture-data-studio-sdk/tree/v1.5.0) — [1.6.0](https://github.com/experiandataquality/aperture-data-studio-sdk/tree/v1.6.0) |
@@ -107,14 +109,14 @@ This repo contains the SDK JAR and a pre-configured Java project that uses Gradl
}
dependencies {
- compileOnly("com.experian.datastudio:sdkapi:2.0.0")
- compileOnly("com.experian.datastudio:sdklib:2.0.0")
+ compileOnly("com.experian.datastudio:sdkapi:2.1.0")
+ compileOnly("com.experian.datastudio:sdklib:2.1.0")
}
```
If you don't want to use Gradle, you'll have to configure your own Java project to generate a compatible JAR artifact:
- Create a new Java project or open an existing one.
- - Download and install the [sdkapi.jar](https://raw.githubusercontent.com/experiandataquality/aperture-data-studio-sdk/github-maven-repository/maven/com/experian/datastudio/sdkapi/2.0.0/sdkapi-2.0.0.jar) file.
+ - Download and install the [sdkapi.jar](https://raw.githubusercontent.com/experiandataquality/aperture-data-studio-sdk/github-maven-repository/maven/com/experian/datastudio/sdkapi/2.1.0/sdkapi-2.1.0.jar) file.
If using Maven, modify `pom.xml` to add the SDK GitHub repository:
@@ -149,13 +151,13 @@ This repo contains the SDK JAR and a pre-configured Java project that uses Gradl
public class CustomStepException
+extends java.lang.RuntimeException
+Constructor and Description | +
---|
CustomStepException(int errorCode,
+ java.lang.String message)
+Constructs CustomStepException with error code and message.
+ |
+
CustomStepException(int errorCode,
+ java.lang.String message,
+ java.lang.Throwable cause)
+Constructs CustomStepException with error code, message.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
int |
+getErrorCode()
+Returns the customize error code to be displayed on Job details page
+ |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public CustomStepException(int errorCode, + java.lang.String message)+
errorCode
- the customize error code to be displayed on Job details pagemessage
- the message to be loggedpublic CustomStepException(int errorCode, + java.lang.String message, + java.lang.Throwable cause)+
errorCode
- the customize error code to be displayed on Job details pagemessage
- the message to be loggedcause
- the causediff --git a/docs/sdkapi/allclasses-frame.html b/docs/sdkapi/allclasses-frame.html index aea886b..afc3f2e 100644 --- a/docs/sdkapi/allclasses-frame.html +++ b/docs/sdkapi/allclasses-frame.html @@ -3,7 +3,7 @@
-
+
@@ -33,6 +33,7 @@
+
@@ -140,6 +141,7 @@
+
diff --git a/docs/sdkapi/allclasses-noframe.html b/docs/sdkapi/allclasses-noframe.html index bab52be..d6ca7b7 100644 --- a/docs/sdkapi/allclasses-noframe.html +++ b/docs/sdkapi/allclasses-noframe.html @@ -3,7 +3,7 @@
-
+
@@ -33,6 +33,7 @@
+
@@ -140,6 +141,7 @@
+
diff --git a/docs/sdkapi/com/experian/datastudio/sdk/api/CustomDefinition.html b/docs/sdkapi/com/experian/datastudio/sdk/api/CustomDefinition.html index fc4c162..77688a4 100644 --- a/docs/sdkapi/com/experian/datastudio/sdk/api/CustomDefinition.html +++ b/docs/sdkapi/com/experian/datastudio/sdk/api/CustomDefinition.html @@ -3,7 +3,7 @@
-
+
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ diff --git a/docs/sdkapi/com/experian/datastudio/sdk/api/package-summary.html b/docs/sdkapi/com/experian/datastudio/sdk/api/package-summary.html index 8e927c1..5a1db6c 100644 --- a/docs/sdkapi/com/experian/datastudio/sdk/api/package-summary.html +++ b/docs/sdkapi/com/experian/datastudio/sdk/api/package-summary.html @@ -3,7 +3,7 @@
-
+
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ diff --git a/docs/sdkapi/com/experian/datastudio/sdk/api/parser/configuration/package-summary.html b/docs/sdkapi/com/experian/datastudio/sdk/api/parser/configuration/package-summary.html index 2f72f60..ecd6262 100644 --- a/docs/sdkapi/com/experian/datastudio/sdk/api/parser/configuration/package-summary.html +++ b/docs/sdkapi/com/experian/datastudio/sdk/api/parser/configuration/package-summary.html @@ -3,7 +3,7 @@
-
+
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ diff --git a/docs/sdkapi/com/experian/datastudio/sdk/api/parser/package-summary.html b/docs/sdkapi/com/experian/datastudio/sdk/api/parser/package-summary.html index 375b254..572b500 100644 --- a/docs/sdkapi/com/experian/datastudio/sdk/api/parser/package-summary.html +++ b/docs/sdkapi/com/experian/datastudio/sdk/api/parser/package-summary.html @@ -3,7 +3,7 @@
-
+
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ diff --git a/docs/sdkapi/com/experian/datastudio/sdk/api/parser/processor/package-summary.html b/docs/sdkapi/com/experian/datastudio/sdk/api/parser/processor/package-summary.html index 6129e89..f0873ef 100644 --- a/docs/sdkapi/com/experian/datastudio/sdk/api/parser/processor/package-summary.html +++ b/docs/sdkapi/com/experian/datastudio/sdk/api/parser/processor/package-summary.html @@ -3,7 +3,7 @@
-
+
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ + +
+