Below command can be run through azure-pipeline.yml after setting environment variables in the pipeline.
verify "-Dcucumber.options=--tags @SchemaService"
verify
## Deploy Shared Schemas
Schema service as part of deployment deploys pre-defined OSDU schemas so end users can get community accepted schemas to refer. Such schemas are present in [folder](https://dev.azure.com/slb-des-ext-collaboration/open-data-ecosystem/_git/os-schema?path=%2Fdeployments%2Fshared-schemas%2Fosdu) and script to deploy the schema are present [here](https://dev.azure.com/slb-des-ext-collaboration/open-data-ecosystem/_git/os-schema?path=%2Fdeployments%2Fscripts).
@@ -3,7 +3,7 @@ Feature: To verify functionality of POST schema Service
### Commons test steps are accomplished here
Background: Common steps for all tests are executed
Given I generate user token and set request headers for "TENANT1"
Given I hit schema service GET List API with "authority" , "SchemaSanityTest" , "true"
Given I get latest schema with authority, source, entityType as "SchemaSanityTest", "testSource", "testEntity" respectively
Given I hit schema service POST API with "/input_payloads/postInPrivateScope_positiveScenario.json" and data-partition-id as "TENANT1" only if status is not development
@SchemaService
...
...
@@ -13,8 +13,8 @@ Feature: To verify functionality of POST schema Service
And schema service should respond back with <ReponseStatusCodeForGET> and <ResponseMessageforGET>
@@ -3,7 +3,7 @@ Feature: To verify functionality of PUT schema Service
### Commons test steps are accomplished here
Background: Common steps for all tests are executed
Given I generate user token and set request headers for "TENANT1"
Given I hit schema service GET List API with "authority" , "SchemaSanityTest" , "true"
Given I get latest schema with authority, source, entityType as "SchemaSanityTest", "testSource", "testEntity" respectively
Given I hit schema service POST API with "/input_payloads/postInPrivateScope_positiveScenario.json" and data-partition-id as "TENANT1" only if status is not development
@SchemaService
...
...
@@ -13,8 +13,8 @@ Feature: To verify functionality of PUT schema Service
And schema service should respond back with <ReponseStatusCodeForGET> and <ResponseMessageforGET>