Problem description
PR #74 (closing #70) added credentialType: PRIVATE_KEY_JWT documentation and the 422 PRIVATE_KEY_JWT_NOT_CONFIGURED error response, but code/Test_definitions/predictive-connectivity-data.feature has no test coverage for either:
PRIVATE_KEY_JWT only appears in a comment above scenario 400.07_invalid_sink_credential (line 315); no scenario sets $.sinkCredential.credentialType to PRIVATE_KEY_JWT.
- The
422 scenario block ends at 422.06_unsupported_service_level (line 629); there is no scenario for PRIVATE_KEY_JWT_NOT_CONFIGURED.
Expected behavior
Add:
- A positive/negative case exercising
PRIVATE_KEY_JWT as credentialType (e.g. extend the 400.07 outline or add a dedicated scenario).
- A
422 PRIVATE_KEY_JWT_NOT_CONFIGURED scenario, adapted from the Commonalities canonical template.
Alternative solution
None
Additional context
Canonical scenario to adapt: Commonalities artifacts/testing/event-subscription-template.feature#L449-L459, scenario @{xxx}_subscriptions_61_creation_with_private_jwt_key_not_configured.
Problem description
PR #74 (closing #70) added
credentialType: PRIVATE_KEY_JWTdocumentation and the422 PRIVATE_KEY_JWT_NOT_CONFIGUREDerror response, butcode/Test_definitions/predictive-connectivity-data.featurehas no test coverage for either:PRIVATE_KEY_JWTonly appears in a comment above scenario400.07_invalid_sink_credential(line 315); no scenario sets$.sinkCredential.credentialTypetoPRIVATE_KEY_JWT.422scenario block ends at422.06_unsupported_service_level(line 629); there is no scenario forPRIVATE_KEY_JWT_NOT_CONFIGURED.Expected behavior
Add:
PRIVATE_KEY_JWTascredentialType(e.g. extend the400.07outline or add a dedicated scenario).422 PRIVATE_KEY_JWT_NOT_CONFIGUREDscenario, adapted from the Commonalities canonical template.Alternative solution
None
Additional context
Canonical scenario to adapt: Commonalities
artifacts/testing/event-subscription-template.feature#L449-L459, scenario@{xxx}_subscriptions_61_creation_with_private_jwt_key_not_configured.