Improve product rest api error responses for publisher #8608
Annotations
3 errors and 4 warnings
Build product-apim with tests
Process completed with exit code 1.
|
Publish Test Report
AsyncAPITestCase.testPublishAsyncApi
──────────────────────────────────────────────────────────────────────────────────────────
Create API Response Code is invalid.{"code":903225,"message":"Creating API Revisions is not supported for third party APIs","description":"Creating API Revisions is not supported for third party APIs: de95df4e-cf5a-45b7-975f-fe40f332cc2e","moreInfo":"","error":[]} expected [201] but found [400]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Create API Response Code is invalid.{"code":903225,"message":"Creating API Revisions is not supported for third party APIs","description":"Creating API Revisions is not supported for third party APIs: de95df4e-cf5a-45b7-975f-fe40f332cc2e","moreInfo":"","error":[]} expected [201] but found [400]
at org.wso2.am.integration.tests.streamingapis.async.AsyncAPITestCase.testPublishAsyncApi(AsyncAPITestCase.java:158)
|
Publish Test Report
AsyncAPITestCase.testPublishAsyncApi
──────────────────────────────────────────────────────────────────────────────────────────
Create API Response Code is invalid.{"code":903225,"message":"Creating API Revisions is not supported for third party APIs","description":"Creating API Revisions is not supported for third party APIs: f0ba5265-2c57-41f5-a3a4-5af01c3359f9","moreInfo":"","error":[]} expected [201] but found [400]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Create API Response Code is invalid.{"code":903225,"message":"Creating API Revisions is not supported for third party APIs","description":"Creating API Revisions is not supported for third party APIs: f0ba5265-2c57-41f5-a3a4-5af01c3359f9","moreInfo":"","error":[]} expected [201] but found [400]
at org.wso2.am.integration.tests.streamingapis.async.AsyncAPITestCase.testPublishAsyncApi(AsyncAPITestCase.java:158)
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2, malinthaprasan/action-surefire-report@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, actions/setup-node@v3, actions/cache@v3, malinthaprasan/action-surefire-report@v1, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Publish Test Report
169 tests run, 2 skipped, 2 failed.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "TEST-TestSuite_1", "TEST-TestSuite_2", "TEST-TestSuite_3", "TEST-TestSuite_4".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading