Add REST API Changes to Support Token Based Subscription Policies #12534
Annotations
7 errors and 4 warnings
Publish Test Report
ThrottlePolicyExportImportTestCase.testAdvancedThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.AdvancedThrottlePolicyDTO["conditionalGroups"]->java.util.ArrayList[0]->org.wso2.am.integration.clients.admin.api.dto.ConditionalGroupDTO["limit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.IllegalArgumentException:
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.AdvancedThrottlePolicyDTO["conditionalGroups"]->java.util.ArrayList[0]->org.wso2.am.integration.clients.admin.api.dto.ConditionalGroupDTO["limit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testAdvancedThrottlePolicyExport(ThrottlePolicyExportImportTestCase.java:361)
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException:
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.AdvancedThrottlePolicyDTO["conditionalGroups"]->java.util.ArrayList[0]->org.wso2.am.integration.clients.admin.api.dto.ConditionalGroupDTO["limit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testAdvancedThrottlePolicyExport(ThrottlePolicyExportImportTestCase.java:361)
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testAdvancedThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.AdvancedThrottlePolicyDTO["conditionalGroups"]->java.util.ArrayList[0]->org.wso2.am.integration.clients.admin.api.dto.ConditionalGroupDTO["limit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.IllegalArgumentException:
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.AdvancedThrottlePolicyDTO["conditionalGroups"]->java.util.ArrayList[0]->org.wso2.am.integration.clients.admin.api.dto.ConditionalGroupDTO["limit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testAdvancedThrottlePolicyExport(ThrottlePolicyExportImportTestCase.java:361)
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException:
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.AdvancedThrottlePolicyDTO["conditionalGroups"]->java.util.ArrayList[0]->org.wso2.am.integration.clients.admin.api.dto.ConditionalGroupDTO["limit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testAdvancedThrottlePolicyExport(ThrottlePolicyExportImportTestCase.java:361)
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testApplicationThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.ApplicationThrottlePolicyDTO["defaultLimit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.IllegalArgumentException:
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.ApplicationThrottlePolicyDTO["defaultLimit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testApplicationThrottlePolicyExport(ThrottlePolicyExportImportTestCase.java:333)
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException:
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.ApplicationThrottlePolicyDTO["defaultLimit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testApplicationThrottlePolicyExport(ThrottlePolicyExportImportTestCase.java:333)
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testApplicationThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.ApplicationThrottlePolicyDTO["defaultLimit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.IllegalArgumentException:
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.ApplicationThrottlePolicyDTO["defaultLimit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testApplicationThrottlePolicyExport(ThrottlePolicyExportImportTestCase.java:333)
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException:
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.ApplicationThrottlePolicyDTO["defaultLimit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testApplicationThrottlePolicyExport(ThrottlePolicyExportImportTestCase.java:333)
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testSubscriptionThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.SubscriptionThrottlePolicyDTO["defaultLimit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.IllegalArgumentException:
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.SubscriptionThrottlePolicyDTO["defaultLimit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testSubscriptionThrottlePolicyExport(ThrottlePolicyExportImportTestCase.java:305)
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException:
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.SubscriptionThrottlePolicyDTO["defaultLimit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testSubscriptionThrottlePolicyExport(ThrottlePolicyExportImportTestCase.java:305)
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testSubscriptionThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.SubscriptionThrottlePolicyDTO["defaultLimit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.IllegalArgumentException:
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.SubscriptionThrottlePolicyDTO["defaultLimit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testSubscriptionThrottlePolicyExport(ThrottlePolicyExportImportTestCase.java:305)
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException:
Unrecognized field "aiApiQuota" (class org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO), not marked as ignorable (4 known properties: "requestCount", "bandwidth", "type", "eventCount"])
at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.wso2.am.integration.clients.admin.api.dto.SubscriptionThrottlePolicyDTO["defaultLimit"]->org.wso2.am.integration.clients.admin.api.dto.ThrottleLimitDTO["aiApiQuota"])
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testSubscriptionThrottlePolicyExport(ThrottlePolicyExportImportTestCase.java:305)
|
Build product-apim with tests
Process completed with exit code 1.
|
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, actions/upload-artifact@v2. 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@v2. 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
574 tests run, 22 skipped, 6 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