Skip to content

Add REST API Changes to Support Token Based Subscription Policies #8554

Add REST API Changes to Support Token Based Subscription Policies

Add REST API Changes to Support Token Based Subscription Policies #8554

Re-run triggered September 9, 2024 04:51
Status Failure
Total duration 2h 14m 48s
Artifacts 4

main.yml

on: pull_request
Matrix: build-product
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 17 warnings
build-product (1, group1)
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)
build-product (1, group1)
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)
build-product (1, group1)
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)
build-product (1, group1)
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)
build-product (1, group1)
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 (1, group1)
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 (1, group1)
Process completed with exit code 1.
build-carbon
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-carbon
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, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-product (4, group4)
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/
build-product (4, group4)
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, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-product (4, group4)
267 tests run, 0 skipped, 0 failed.
run-benchmark-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
run-benchmark-test
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. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-product (2, group2)
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/
build-product (2, group2)
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, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-product (2, group2)
169 tests run, 0 skipped, 0 failed.
build-product (3, group3)
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/
build-product (3, group3)
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, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-product (3, group3)
794 tests run, 0 skipped, 0 failed.
build-product (1, group1)
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/
build-product (1, group1)
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/
build-product (1, group1)
574 tests run, 22 skipped, 6 failed.
Deprecation notice: v1, v2, and v3 of the artifact actions
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/

Artifacts

Produced during runtime
Name Size
TEST-TestSuite_1
23.2 MB
TEST-TestSuite_2
15.2 MB
TEST-TestSuite_3
19.1 MB
TEST-TestSuite_4
33.1 MB