Commit 4855f0fa authored by Abhishek Kumar (SLB)'s avatar Abhishek Kumar (SLB)
Browse files

[Schema Service] Integration test issue (PUT api)

Modifying error message for failed PUT message when schema present in
other tenant
parent 06aca22a
Pipeline #7961 passed with stage
in 4 minutes and 57 seconds
......@@ -273,7 +273,6 @@ public class SchemaService implements ISchemaService {
response = createSchema(schemaRequest);
httpCode = HttpStatus.CREATED;
}catch (BadRequestException badreqEx) {
//If there is same schema-id for other tenant then throw different error message
if(SchemaConstants.SCHEMA_ID_EXISTS.equals(badreqEx.getMessage()))
throw new BadRequestException(SchemaConstants.INVALID_UPDATE_OPERATION);
......
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