Commit 52c377a6 authored by Abhishek Kumar (SLB)'s avatar Abhishek Kumar (SLB)
Browse files

Merge remote-tracking branch 'origin/master' into 100-osdu-dd-m12-delivery

parents 9073bd49 8aad7f4b
Pipeline #117912 failed with stages
in 4 seconds
......@@ -62,7 +62,7 @@ include:
file: "cloud-providers/azure.yml"
- project: "osdu/platform/ci-cd-pipelines"
file: "cloud-providers/osdu-gcp-gke.yml"
file: "cloud-providers/osdu-gcp-global.yml"
- local: "devops/gcp/pipeline/override-stages.yml"
......
This diff is collapsed.
......@@ -23,7 +23,6 @@ source ./validate-env.sh "SCHEMA_URL"
source ./validate-env.sh "ENTITLEMENTS_HOST"
bootstrap_schema_gettoken_onprem() {
echo "Waiting for a sidecar container is provisioned"
ID_TOKEN="$(curl --location --request POST "${OPENID_PROVIDER_URL}/protocol/openid-connect/token" \
--header "Content-Type: application/x-www-form-urlencoded" \
......@@ -35,21 +34,21 @@ bootstrap_schema_gettoken_onprem() {
}
bootstrap_schema_gettoken_gcp() {
echo "Waiting for a sidecar container is provisioned"
BEARER_TOKEN=$(gcloud auth print-identity-token --audiences="${AUDIENCES}")
export BEARER_TOKEN
echo "Clean-up for Datastore schemas"
python3 ./scripts/GcpDatastoreCleanUp.py
# FIXME CleanUP script needed only for TF installation
# echo "Clean-up for Datastore schemas"
# python3 ./scripts/GcpDatastoreCleanUp.py
# FIXME find a better solution about datastore cleaning completion
sleep 5
# sleep 5
}
bootstrap_schema_prechek_env() {
status_code=$(curl --retry 1 --location -globoff --request POST \
"${ENTITLEMENTS_HOST}/api/entitlements/v2/tenant-provisioning" \
status_code=$(curl --retry 1 --location -globoff --request GET \
"${ENTITLEMENTS_HOST}/api/entitlements/v2/groups" \
--write-out "%{http_code}" --silent --output "/dev/null"\
--header 'Content-Type: application/json' \
--header "data-partition-id: ${DATA_PARTITION}" \
......@@ -59,7 +58,7 @@ bootstrap_schema_prechek_env() {
then
echo "$status_code: Entitlements provisioning completed successfully!"
else
echo "$status_code: Entitlements provisioning failed!"
echo "$status_code: Entitlements provisioning is in progress or failed!"
exit 1
fi
}
......
data:
# common
entitlements_host: "http://entitlements"
gcp_schema_changed_topic_name: "schema_changed"
gcp_schema_changed_topic_name: "schema-changed"
log_level: "INFO"
partition_host: "http://partition"
shared_tenant_name: ""
......
variables:
OSDU_GCP_ENABLE_BOOTSTRAP: "true"
OSDU_GCP_SERVICE: schema
OSDU_GCP_VENDOR: gcp
OSDU_GCP_HELM_CONFIG_SERVICE: schema-config
OSDU_GCP_HELM_DEPLOYMENT_SERVICE: schema-deploy
OSDU_GCP_HELM_TIMEOUT: "--timeout 15m"
OSDU_GCP_HELM_CONFIG_SERVICE_VARS: >
--set data.log_level=INFO
--set data.google_audiences=$GOOGLE_AUDIENCE
--set data.shared_tenant_name=$OSDU_GCP_TENANT
--set data.data_partition_id=$DATA_PARTITION_ID
OSDU_GCP_HELM_CONFIG_SERVICE_VARS_DEV2: >
--set data.log_level=INFO
--set data.google_audiences=$GOOGLE_AUDIENCE
--set data.shared_tenant_name=$OSDU_GCP_TENANT
--set data.data_partition_id=$DATA_PARTITION_ID
OSDU_GCP_HELM_DEPLOYMENT_SERVICE_VARS: >
--set data.image=$CI_REGISTRY_IMAGE/osdu-gcp-$OSDU_GCP_SERVICE:$CI_COMMIT_SHORT_SHA
--set data.serviceAccountName=$OSDU_GCP_SERVICE-k8s
--set data.bootstrap_image=$CI_REGISTRY_IMAGE/osdu-gcp-bootstrap-$OSDU_GCP_SERVICE:$CI_COMMIT_SHORT_SHA
--set data.bootstrapServiceAccountName=datafier-workload-identity-gke
$OSDU_GCP_HELM_TIMEOUT
# FIXME add value below for DEV2 pipeline
# OSDU_GCP_HELM_DEPLOYMENT_SERVICE_VARS_DEV2: >
osdu-gcp-containerize-bootstrap-gitlab:
variables:
BUILD_PATH: devops/$OSDU_GCP_VENDOR/bootstrap-osdu-module/Dockerfile
osdu-gcp-containerize-bootstrap-gcr:
variables:
BUILD_PATH: devops/$OSDU_GCP_VENDOR/bootstrap-osdu-module/Dockerfile
# REFACTOR to common pipeline
osdu-gcp-deploy-deployment:
needs:
- osdu-gcp-containerize-gitlab
- osdu-gcp-deploy-configmap
- osdu-gcp-containerize-bootstrap-gitlab
after_script:
- echo ----- Verify Bootstrap -----
- kubectl rollout status deployment.v1.apps/$OSDU_GCP_SERVICE-bootstrap -n $OSDU_GCP_HELM_NAMESPACE --timeout=900s
- POD=$(kubectl get pod --sort-by=.metadata.creationTimestamp -n $OSDU_GCP_HELM_NAMESPACE | grep $OSDU_GCP_SERVICE-bootstrap | tail -1 | awk '{print $1}')
- STATUS=$(kubectl wait -n $OSDU_GCP_HELM_NAMESPACE --for=condition=Ready pod/$POD --timeout=300s)
- echo $STATUS
- if [[ "$STATUS" != *"met"* ]]; then echo "POD didn't start correctly" ; exit 1 ; fi
# REFACTOR to common pipeline for DEV2
# osdu-gcp-dev2-deploy-deployment:
# variables:
# OSDU_GCP_BOOTSTRAP_NAMESPACE: config
# OSDU_GCP_BOOTSTRAP_SERVICE_ACCOUNT: workload-gke-bootstrap-sa
# needs:
# - osdu-gcp-containerize-gitlab
# - osdu-gcp-deploy-configmap
# - osdu-gcp-containerize-bootstrap-schema
# after_script:
# - echo ----- Verify Bootstrap -----
# - kubectl rollout status deployment.v1.apps/$OSDU_GCP_SERVICE-bootstrap -n $OSDU_GCP_HELM_NAMESPACE --timeout=900s
# - POD=$(kubectl get pod --sort-by=.metadata.creationTimestamp -n $OSDU_GCP_HELM_NAMESPACE | grep $OSDU_GCP_SERVICE-bootstrap | tail -1 | awk '{print $1}')
# - STATUS=$(kubectl wait -n $OSDU_GCP_HELM_NAMESPACE --for=condition=Ready pod/$POD --timeout=300s)
# - echo $STATUS
# - if [[ "$STATUS" != *"met"* ]]; then echo "POD didn't start correctly" ; exit 1 ; fi
osdu-gcp-anthos-deploy-deployment:
needs:
- osdu-gcp-containerize-gitlab
- osdu-gcp-containerize-bootstrap-gitlab
- osdu-gcp-anthos-deploy-configmap
osdu-gcp-test:
script:
- $MAVEN_BUILD . test-results.log verify -q -f testing/schema-test-core/pom.xml
artifacts:
when: always
paths:
- test-results.log
- testing/schema-test-core/target/*/TEST-*.xml
reports:
junit:
- testing/schema-test-core/target/*/TEST-*.xml
# FIXME for DEV2
osdu-gcp-dev2-test:
script:
- $MAVEN_BUILD . test-results.log verify -q -f testing/schema-test-core/pom.xml
artifacts:
when: always
paths:
- test-results.log
- testing/schema-test-core/target/*/TEST-*.xml
reports:
junit:
- testing/schema-test-core/target/*/TEST-*.xml
osdu-gcp-anthos-test:
script:
- $MAVEN_BUILD . test-results.log verify -q -f testing/schema-test-core/pom.xml
artifacts:
when: always
paths:
- test-results.log
- testing/schema-test-core/target/*/TEST-*.xml
reports:
junit:
- testing/schema-test-core/target/*/TEST-*.xml
variables:
OSDU_GCP_ENABLE_BOOTSTRAP: "true"
OSDU_GCP_SERVICE: schema
OSDU_GCP_VENDOR: gcp
OSDU_GCP_HELM_CONFIG_SERVICE: schema-config
OSDU_GCP_HELM_DEPLOYMENT_SERVICE: schema-deploy
OSDU_GCP_HELM_TIMEOUT: "--timeout 15m"
OSDU_GCP_HELM_CONFIG_SERVICE_VARS: >
--set data.log_level=INFO
--set data.google_audiences=$GOOGLE_AUDIENCE
--set data.shared_tenant_name=$OSDU_GCP_TENANT
--set data.data_partition_id=$DATA_PARTITION_ID
OSDU_GCP_HELM_CONFIG_SERVICE_VARS_DEV2: >
--set data.log_level=INFO
--set data.google_audiences=$GOOGLE_AUDIENCE
--set data.shared_tenant_name=$OSDU_GCP_TENANT
--set data.data_partition_id=$DATA_PARTITION_ID
OSDU_GCP_HELM_DEPLOYMENT_SERVICE_VARS: >
--set data.image=$CI_REGISTRY_IMAGE/osdu-gcp-$OSDU_GCP_SERVICE:$CI_COMMIT_SHORT_SHA
--set data.serviceAccountName=$OSDU_GCP_SERVICE-k8s
--set data.bootstrap_image=$CI_REGISTRY_IMAGE/osdu-gcp-bootstrap-$OSDU_GCP_SERVICE:$CI_COMMIT_SHORT_SHA
--set data.bootstrapServiceAccountName=datafier-workload-identity-gke
$OSDU_GCP_HELM_TIMEOUT
osdu-gcp-containerize-bootstrap-gitlab:
variables:
BUILD_PATH: devops/$OSDU_GCP_VENDOR/bootstrap-osdu-module/Dockerfile
osdu-gcp-containerize-bootstrap-gcr:
variables:
BUILD_PATH: devops/$OSDU_GCP_VENDOR/bootstrap-osdu-module/Dockerfile
# REFACTOR to common pipeline
osdu-gcp-deploy-deployment:
needs:
- osdu-gcp-containerize-gitlab
- osdu-gcp-deploy-configmap
- osdu-gcp-containerize-bootstrap-gitlab
after_script:
- echo ----- Verify Bootstrap -----
- kubectl rollout status deployment.v1.apps/$OSDU_GCP_SERVICE-bootstrap -n $OSDU_GCP_HELM_NAMESPACE --timeout=900s
- POD=$(kubectl get pod --sort-by=.metadata.creationTimestamp -n $OSDU_GCP_HELM_NAMESPACE | grep $OSDU_GCP_SERVICE-bootstrap | tail -1 | awk '{print $1}')
- STATUS=$(kubectl wait -n $OSDU_GCP_HELM_NAMESPACE --for=condition=Ready pod/$POD --timeout=300s)
- echo $STATUS
- if [[ "$STATUS" != *"met"* ]]; then echo "POD didn't start correctly" ; exit 1 ; fi
osdu-gcp-dev2-deploy-deployment:
needs:
- osdu-gcp-containerize-gitlab
- osdu-gcp-dev2-deploy-configmap
- osdu-gcp-containerize-bootstrap-gitlab
osdu-gcp-anthos-deploy-deployment:
needs:
- osdu-gcp-containerize-gitlab
- osdu-gcp-containerize-bootstrap-gitlab
- osdu-gcp-anthos-deploy-configmap
osdu-gcp-test:
script:
- $MAVEN_BUILD . test-results.log verify -q -f testing/schema-test-core/pom.xml
artifacts:
when: always
paths:
- test-results.log
- testing/schema-test-core/target/*/TEST-*.xml
reports:
junit:
- testing/schema-test-core/target/*/TEST-*.xml
# FIXME for DEV2
osdu-gcp-dev2-test:
script:
- $MAVEN_BUILD . test-results.log verify -q -f testing/schema-test-core/pom.xml
artifacts:
when: always
paths:
- test-results.log
- testing/schema-test-core/target/*/TEST-*.xml
reports:
junit:
- testing/schema-test-core/target/*/TEST-*.xml
osdu-gcp-anthos-test:
script:
- $MAVEN_BUILD . test-results.log verify -q -f testing/schema-test-core/pom.xml
artifacts:
when: always
paths:
- test-results.log
- testing/schema-test-core/target/*/TEST-*.xml
reports:
junit:
- testing/schema-test-core/target/*/TEST-*.xml
......@@ -17,12 +17,10 @@ paths:
tags:
- schemas/system
summary: Creates/Updates a schema in development status
description: Creates a new schema or updates an already existing schema with status `DEVELOPMENT` in the schema repository. If a user tries to create/update a schema with status other then `DEVELOPMENT`, API will throw an exception. Any
schema instance with the same schemaIdentity is replaced (in contrast to
the immutability of `PUBLISHED` or `OBSOLETE` schemas). A schema state can also be changed from `DEVELOPMENT` to `PUBLISHED` or `OBSOLETE` while updating schema content or by providing the same schema content. **Note:** The
schema may refer to other schema definitions in `DEVELOPMENT` state. If
those schemas are updated themselves, it is the developer's
responsibility to PUT the dependent schemas again to update the schemas. Scope for a schema will be SHARED for all the schemas created using this API. Service principal
description: Creates a new schema or updates an already existing schema with status `DEVELOPMENT` in the schema repository. If a user tries to create a schema with status other then `DEVELOPMENT`, API will not throw an exception. The update
of schema without `DEVELOPMENT` status would cause error.Any schema instance with the same schemaIdentity is replaced. A schema state can also be changed from `DEVELOPMENT` to `PUBLISHED` or `OBSOLETE` while updating schema content or by providing the same schema content. **Note:** The
schema may refer to other schema definitions in `DEVELOPMENT` state. If those schemas are updated themselves, it is the developer's
responsibility to PUT the dependent schemas again to update the schema. Scope for a schema will be SHARED for all the schemas created using this API. Service principal
authorization is required to call thi API.
operationId: Update System Schema
requestBody:
......
......@@ -49,7 +49,7 @@
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-schema</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>os-schema</name>
<description>os schema service </description>
......
......@@ -18,7 +18,7 @@
<parent>
<artifactId>os-schema</artifactId>
<groupId>org.opengroup.osdu</groupId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
......@@ -46,7 +46,7 @@
<dependency>
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-schema-core</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
</dependency>
<!-- AWS managed packages -->
<dependency>
......
......@@ -7,19 +7,17 @@
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the
License for the specific language governing permissions and ~ limitations
under the License. -->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>os-schema</artifactId>
<groupId>org.opengroup.osdu</groupId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>os-schema-azure</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<description>Azure related implementation staff.</description>
<packaging>jar</packaging>
......@@ -27,7 +25,7 @@
<azure.version>2.1.7</azure.version>
<osdu.corelibazure.version>0.14.0-rc2</osdu.corelibazure.version>
<osdu.oscorecommon.version>0.13.0</osdu.oscorecommon.version>
<osdu.os-schema-core.version>0.15.0-SNAPSHOT</osdu.os-schema-core.version>
<osdu.os-schema-core.version>0.16.0-SNAPSHOT</osdu.os-schema-core.version>
<mockito.version>1.10.19</mockito.version>
<cucumber.version>5.4.0</cucumber.version>
<nimbus-jose-jwt-azure.version>8.20.2</nimbus-jose-jwt-azure.version>
......
......@@ -3,7 +3,7 @@
<parent>
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-schema</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
......@@ -32,7 +32,7 @@
<dependency>
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-schema-core</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<!-- excluded due to runtime conflict with latest core-lib-gcp transient dependencies -->
<exclusions>
<exclusion>
......
......@@ -3,7 +3,7 @@
<parent>
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-schema</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>os-schema-ibm</artifactId>
......@@ -32,7 +32,7 @@
<dependency>
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-schema-core</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>io.netty</groupId>
......
......@@ -22,7 +22,7 @@
<parent>
<artifactId>os-schema</artifactId>
<groupId>org.opengroup.osdu</groupId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
......@@ -46,7 +46,7 @@
<dependency>
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-schema-core</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
......
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-schema</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
......
......@@ -210,7 +210,7 @@ public class SchemaService implements ISchemaService {
schemaInfo = this.getSchemaInfo(createdSchemaId, isSystemSchema);
} catch (NotFoundException e) {
log.error(SchemaConstants.INVALID_SCHEMA_UPDATE);
if (!SchemaStatus.DEVELOPMENT.equals(schemaRequest.getSchemaInfo().getStatus()))
if (!SchemaStatus.DEVELOPMENT.equals(schemaRequest.getSchemaInfo().getStatus()) && !isSystemSchema)
throw new BadRequestException(SchemaConstants.SCHEMA_PUT_CREATE_EXCEPTION);
throw new NoSchemaFoundException(SchemaConstants.INVALID_SCHEMA_UPDATE);
}
......
......@@ -3,7 +3,7 @@
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-schema-test</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<description>Schema Service Integration Test Root Project</description>
<packaging>pom</packaging>
......
......@@ -4,13 +4,13 @@
<parent>
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-schema-test</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-schema-test-anthos</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<packaging>jar</packaging>
......
......@@ -4,12 +4,12 @@
<parent>
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-schema-test</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>schema-test-azure</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<properties>
<os-core-lib-ibm.version>0.7.0</os-core-lib-ibm.version>
<os-core-lib-azure.version>0.6.1</os-core-lib-azure.version>
......@@ -33,7 +33,7 @@
<artifactId>log4j-to-slf4j</artifactId>
</exclusion>
</exclusions>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
</dependency>
<!--Rest assured dependency to be placed before JUnit dependency -->
......
......@@ -4,13 +4,13 @@
<parent>
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-schema-test</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>schema-test-core</artifactId>
<properties>
<os-core-lib-ibm.version>0.7.0</os-core-lib-ibm.version>
<os-core-lib-ibm.version>0.15.0-rc3</os-core-lib-ibm.version>
<os-core-lib-azure.version>0.6.1</os-core-lib-azure.version>
<os-core-lib-aws.version>0.13.0</os-core-lib-aws.version>
<maven.compiler.target>1.8</maven.compiler.target>
......@@ -33,7 +33,7 @@
<artifactId>log4j-to-slf4j</artifactId>
</exclusion>
</exclusions>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
</dependency>
<!--Rest assured dependency to be placed before JUnit dependency -->
......
......@@ -32,14 +32,14 @@ Feature: To verify functionality of PUT schema Service
| "/input_payloads/postInPrivateScope_positiveScenario.json" | "200" | "200" | "/output_payloads/UpdatedResolvedSchema.json" | "/input_payloads/putUpdatedSchema_positiveScenario.json" |
@SchemaService
Scenario Outline: Verify that System schema PUT API throws error if put request tries to create new record without development status
Scenario Outline: Verify that System schema PUT API is success if put request tries to create new record without development status
Given I hit system schema PUT API with <InputPayload> and mark schema as <status> for next major version
Then service should respond back with error <ReponseStatusCode> and <ResponseMessage>
Then service should respond back with <ReponseStatusCode> and <ResponseMessage>
Examples:
| InputPayload | ReponseStatusCode | ResponseMessage | status |
| "/input_payloads/postInPrivateScope_positiveScenario.json" | "400" | "/output_payloads/SchemaPut_InvalidStatusMessage.json" | "OBSOLETE" |
| "/input_payloads/postInPrivateScope_positiveScenario.json" | "400" | "/output_payloads/SchemaPut_InvalidStatusMessage.json" | "PUBLISHED" |
| InputPayload | ReponseStatusCode | ResponseMessage | status |
| "/input_payloads/postInPrivateScope_positiveScenario.json" | "201" | "/output_payloads/SchemaPost_PrivateScope_SuccessfulCreation.json" | "OBSOLETE" |
| "/input_payloads/postInPrivateScope_positiveScenario.json" | "201" | "/output_payloads/SchemaPost_PrivateScope_SuccessfulCreation.json" | "PUBLISHED" |
@SchemaService
Scenario Outline: Verify that System schema PUT API throws error if modification in schemaInfo is requested
......
......@@ -4,13 +4,13 @@
<parent>
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-schema-test</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-schema-test-gcp</artifactId>
<version>0.15.0-SNAPSHOT</version>
<version>0.16.0-SNAPSHOT</version>
<packaging>jar</packaging>
......
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