Azure M19: Register service : error 500
Summary
GET topics should return the topics registered, but is returning 500.
Steps to reproduce
========================
Request:
GET https://osdu-ship.msft-osdu-test.org/api/register/v1/topics/
Total time (seconds): 1.487018
Request body:
No content
Response body: 500
{
"code": 500,
"reason": "Persistence error",
"message": "Error generating token"
}
Intended Behavior
Returning topics registered
[
{
"name": "records-changed",
"description": "This notification is sent whenever a new record or record version is created, updated or deleted, and when a new schema is created in storage.",
"state": "ACTIVE",
"example": [
{
"id": "common:abc:123",
"kind": "common:petrel:regularheightfieldsurface:1.0.0",
"op": "create",
"recordUpdated": "false"
},
{
"id": "common:abc:124",
"kind": "common:petrel:regularheightfieldsurface:1.0.0",
"op": "create",
"recordUpdated": "true"
},
{
"kind": "common:petrel:regularheightfieldsurface:1.0.0",
"op": "create_schema"
},
{
"id": "common:ghi:345",
"kind": "common:petrel:regularheightfieldsurface:1.0.0",
"op": "delete"
}
]
},
{
"name": "schema-changed",
"description": "This notification is sent whenever a new schema is created or updated via schema-service.",
"state": "ACTIVE",
"example": [
{
"kind": "osdu:wks:wellbore:1.0.0",
"op": "update"
},
{
"kind": "osdu:wks:wellbore:2.0.0",
"op": "create"
}
]
},
{
"name": "status-changed",
"description": "Every Service/Stage would publish their respective status changed information in this topic.",
"state": "ACTIVE",
"example": [
{
"kind": "dataSetDetails",
"properties": {
"correlationId": "12345",
"dataSetId": "12345",
"dataSetVersionId": "1",
"dataSetType": "FILE",
"recordCount": 10.0,
"timestamp": 1622118996000.0
}
},
{
"kind": "status",
"properties": {
"correlationId": "12345",
"recordId": "12334",
"recordIdVersion": "123ff",
"stage": "STORAGE_SYNC",
"status": "FAILED",
"message": "acl is not valid",
"errorCode": 400.0,
"timestamp": 1622118996000.0
}
}
]
},
{
"name": "legaltags-changed",
"description": "This notification is sent whenever a new legaltag is created, updated or deleted.",
"state": "ACTIVE",
"example": [
{
"statusChangedTags": [
{
"changedTagName": "osdu-openZgy-Legal-Tag-1727673",
"changedTagStatus": "incompliant"
}
]
}
]
}
]