Commit f243d715 authored by Akshat  Joshi's avatar Akshat Joshi
Browse files

Merge branch 'Bug-9334' of...

Merge branch 'Bug-9334' of https://community.opengroup.org/osdu/platform/system/schema-service into Bug-9334
parents b1e78d55 641465d0
Pipeline #116326 failed with stages
in 35 seconds
......@@ -107,6 +107,7 @@ public class SchemaServiceStepDef_PUT implements En {
JsonElement jsonBody = new Gson().fromJson(body, JsonElement.class);
int currentMinorVersion = Integer.parseInt(this.context.getSchemaVersionMinor());
int currentMajorVersion = Integer.parseInt(this.context.getSchemaVersionMajor());
currentMajorVersion = currentMajorVersion + 1;
String id = "OSDUTest:testSource:testEntity:" + currentMajorVersion + "."
+ currentMinorVersion + ".0";
updateVersionInJsonBody(jsonBody, currentMinorVersion, currentMajorVersion, id);
......
......@@ -128,7 +128,6 @@ public class SystemSchemaStepDef_PUT implements En {
int currentMinorVersion = Integer.parseInt(this.context.getSchemaVersionMinor());
int currentMajorVersion = Integer.parseInt(this.context.getSchemaVersionMajor());
currentMajorVersion = currentMajorVersion + 1;
currentMinorVersion = currentMinorVersion + 1;
String id = "SchemaSanityTest:testSource:testEntity:" + currentMajorVersion + "."
+ currentMinorVersion + ".0";
updateVersionInJsonBody(jsonBody, currentMinorVersion, currentMajorVersion, id);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment