You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As expected, an 400 with error description is returned
{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": 400,
"errors": {
"value": [
"The provided value BPNL00000003 does not match the regex pattern ^BPNL[\\w|\\d]{12}$ (Parameter 'value')"
]
},
"errorId": "5134512d-0eae-4cec-ad53-4a249f013269",
"details": []
}
Observation 4:
Requesting API Endpoint "/api/policy-hub/policy-content " "Key": "purpose" and no value
Endpoint: /api/policy-hub/policy-content
Request body
Instead of {dynamicValue} values valid values are expected. In case calling {{baseUrl}}/api/policy-hub/policy-types?useCase=Traceability the purpose is well-defined
Observation 1: 50:50....as we spoke last week; yes the endpoint is not supposed to get used to validate an policy rule; instead this endpoint creates the correct policy rule/template. However still I agree that we should ideally provide a different feedback
Observation 5: It informs you whether this policy is automatically validated. If the value is 'true', it indicates that the requesting customer compliance of that policy will get validated as part of the communication between the connectors. Please let me know if you have any suggestions for better wording.
Reference:
Observation 1:
Requesting API Endpoint "/api/policy-hub/policy-content" Membership Key with invalid Value.
Endpoint: /api/policy-hub/policy-content
Request body
Current Behavior
Response contains valid rightOperand="active",
Expected Behavior
Instead of correcting the constraint, an error was expected with details addressing the incorrect value.
Remark:
Is this a misunderstanding of the functionality of the endpoint the behavior correctly?
Observation 2:
Requesting API Endpoint "/api/policy-hub/policy-content " "Key": "FrameworkAgreement.traceability" and invalid value
Endpoint: /api/policy-hub/policy-content
Request body
Current Behavior
Expected Behavior
Instead of providing an attribute list with possible Values, an error was expected with details addressing an incorrect value.
Remark:
Is this a misunderstanding of the functionality of the endpoint, the behavior correctly?
Observation 3:
Requesting API Endpoint "/api/policy-hub/policy-content " "Key": "BusinessPartnerNumber" and invalid Value
As expected, an 400 with error description is returned
Observation 4:
Requesting API Endpoint "/api/policy-hub/policy-content " "Key": "purpose" and no value
Endpoint: /api/policy-hub/policy-content
Request body
Current Behavior
Expected Behavior
Instead of {dynamicValue} values valid values are expected. In case calling {{baseUrl}}/api/policy-hub/policy-types?useCase=Traceability the purpose is well-defined
Observation 5:
What is the purpose of "technicalEnforced": false /true? What impact has this regarding a business, app?
Observation 6:
Endpoint: /api/policy-hub/policy-content
Request body
Current Behavior
Expected Behavior`
Error message with http status code 400 that value is not allowed. Only "ID Trace 3.1" is allowed.
Observation 7:
Why namespace is only used for logicalOperand Or and And ?
The text was updated successfully, but these errors were encountered: