Add changes for APIM 4.3.0 Release #2227
maven.yml
on: pull_request
Matrix: build
run-benchmark-test
56m 4s
show-report
18s
Annotations
12 errors and 5 warnings
build (2, group2)
Process completed with exit code 1.
|
build (1, group1)
Process completed with exit code 1.
|
show-report
APIInvocationWithMessageTypeProperty.testInovkeAPIWithMessageTypePropertyInSequence
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.NullPointerException
at org.wso2.am.integration.tests.other.APIInvocationWithMessageTypeProperty.testInovkeAPIWithMessageTypePropertyInSequence(APIInvocationWithMessageTypeProperty.java:67)
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.NullPointerException
at org.wso2.am.integration.tests.other.APIInvocationWithMessageTypeProperty.testInovkeAPIWithMessageTypePropertyInSequence(APIInvocationWithMessageTypeProperty.java:67)
|
show-report
CustomHeaderTestCase.testSystemWideCustomAuthHeader
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.NullPointerException
at org.wso2.am.integration.tests.header.CustomHeaderTestCase.testSystemWideCustomAuthHeader(CustomHeaderTestCase.java:132)
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.NullPointerException
at org.wso2.am.integration.tests.header.CustomHeaderTestCase.testSystemWideCustomAuthHeader(CustomHeaderTestCase.java:132)
|
show-report
JWTBandwidthThrottlingTestCase.testApplicationLevelThrottling
──────────────────────────────────────────────────────────────────────────────────────────
Request not throttled by bandwidth condition in application tier expected [true] but found [false]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Request not throttled by bandwidth condition in application tier expected [true] but found [false]
at org.wso2.am.integration.tests.throttling.JWTBandwidthThrottlingTestCase.testApplicationLevelThrottling(JWTBandwidthThrottlingTestCase.java:200)
|
show-report
JWTBandwidthThrottlingTestCase.testApplicationLevelThrottling
──────────────────────────────────────────────────────────────────────────────────────────
Request not throttled by bandwidth condition in application tier expected [true] but found [false]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Request not throttled by bandwidth condition in application tier expected [true] but found [false]
at org.wso2.am.integration.tests.throttling.JWTBandwidthThrottlingTestCase.testApplicationLevelThrottling(JWTBandwidthThrottlingTestCase.java:200)
|
show-report
OperationPolicyTestCase.testCommonOperationPolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
Exported & Expected Policy Specifications are not matching expected [{type=operation_policy_specification, version=v4.3.0, data={category=Mediation, name=customCommonLogPolicy, version=v1, displayName=Custom Common Log Policy, description=Using this policy, you can add a custom log message, applicableFlows=[request, response, fault], supportedGateways=[Synapse], supportedApiTypes=[HTTP], policyAttributes=[]}}] but found [{type=operation_policy_specification, version=v4.2.0, data={category=Mediation, name=customCommonLogPolicy, version=v1, displayName=Custom Common Log Policy, description=Using this policy, you can add a custom log message, applicableFlows=[request, response, fault], supportedGateways=[Synapse], supportedApiTypes=[HTTP], policyAttributes=[]}}]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Exported & Expected Policy Specifications are not matching expected [{type=operation_policy_specification, version=v4.3.0, data={category=Mediation, name=customCommonLogPolicy, version=v1, displayName=Custom Common Log Policy, description=Using this policy, you can add a custom log message, applicableFlows=[request, response, fault], supportedGateways=[Synapse], supportedApiTypes=[HTTP], policyAttributes=[]}}] but found [{type=operation_policy_specification, version=v4.2.0, data={category=Mediation, name=customCommonLogPolicy, version=v1, displayName=Custom Common Log Policy, description=Using this policy, you can add a custom log message, applicableFlows=[request, response, fault], supportedGateways=[Synapse], supportedApiTypes=[HTTP], policyAttributes=[]}}]
at org.wso2.am.integration.tests.operationPolicy.OperationPolicyTestCase.testCommonOperationPolicyExport(OperationPolicyTestCase.java:216)
|
show-report
ThrottlePolicyExportImportTestCase.testAdvancedThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: advanced policy
version: v4.2.0
data: class AdvancedThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: 5b8e36e2-03d3-47cf-b009-a8dfb81ab5dc
policyName: TestPolicyAdvanced
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: AdvancedThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
conditionalGroups: [class ConditionalGroupDTO {
description: This is a test conditional group
conditions: [class ThrottleConditionDTO {
type: IPCONDITION
invertCondition: false
headerCondition: null
ipCondition: class IPConditionDTO {
ipConditionType: IPSPECIFIC
specificIP: 10.100.1.22
startingIP: null
endingIP: null
}
jwtClaimsCondition: null
queryParameterCondition: null
}, class ThrottleConditionDTO {
type: HEADERCONDITION
invertCondition: false
headerCondition: class HeaderConditionDTO {
headerName: Host
headerValue: 10.100.7.77
}
ipCondition: null
jwtClaimsCondition: null
queryParameterCondition: null
}, class ThrottleConditionDTO {
type: QUERYPARAMETERCONDITION
invertCondition: false
headerCondition: null
ipCondition: null
jwtClaimsCondition: null
queryParameterCondition: class QueryParameterConditionDTO {
parameterName: claimUrl
parameterValue: claimAttribute
}
}, class ThrottleConditionDTO {
type: JWTCLAIMSCONDITION
invertCondition: false
headerCondition: null
ipCondition: null
jwtClaimsCondition: class JWTClaimsConditionDTO {
claimUrl: name
attribute: admin
}
queryParameterCondition: null
}]
limit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
}]
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: advanced policy
version: v4.3.0
data: class AdvancedThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: 5b8e36e2-03d3-47cf-b009-a8dfb81ab5dc
policyName: TestPolicyAdvanced
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: AdvancedThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
conditionalGroups: [class ConditionalGroupDTO {
description: This is a test conditional group
conditions: [class ThrottleConditio
|
show-report
ThrottlePolicyExportImportTestCase.testAdvancedThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: advanced policy
version: v4.2.0
data: class AdvancedThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: b9da703c-bf8a-42ed-b26c-234814cb7f11
policyName: TestPolicyAdvanced
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: AdvancedThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
conditionalGroups: [class ConditionalGroupDTO {
description: This is a test conditional group
conditions: [class ThrottleConditionDTO {
type: IPCONDITION
invertCondition: false
headerCondition: null
ipCondition: class IPConditionDTO {
ipConditionType: IPSPECIFIC
specificIP: 10.100.1.22
startingIP: null
endingIP: null
}
jwtClaimsCondition: null
queryParameterCondition: null
}, class ThrottleConditionDTO {
type: HEADERCONDITION
invertCondition: false
headerCondition: class HeaderConditionDTO {
headerName: Host
headerValue: 10.100.7.77
}
ipCondition: null
jwtClaimsCondition: null
queryParameterCondition: null
}, class ThrottleConditionDTO {
type: QUERYPARAMETERCONDITION
invertCondition: false
headerCondition: null
ipCondition: null
jwtClaimsCondition: null
queryParameterCondition: class QueryParameterConditionDTO {
parameterName: claimUrl
parameterValue: claimAttribute
}
}, class ThrottleConditionDTO {
type: JWTCLAIMSCONDITION
invertCondition: false
headerCondition: null
ipCondition: null
jwtClaimsCondition: class JWTClaimsConditionDTO {
claimUrl: name
attribute: admin
}
queryParameterCondition: null
}]
limit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
}]
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: advanced policy
version: v4.3.0
data: class AdvancedThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: b9da703c-bf8a-42ed-b26c-234814cb7f11
policyName: TestPolicyAdvanced
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: AdvancedThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
conditionalGroups: [class ConditionalGroupDTO {
description: This is a test conditional group
conditions: [class ThrottleConditio
|
show-report
ThrottlePolicyExportImportTestCase.testApplicationThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.2.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: f14c4a6d-8d42-45d0-b3e3-a97c1d4fa05f
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.3.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: f14c4a6d-8d42-45d0-b3e3-a97c1d4fa05f
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError:
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.2.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: f14c4a6d-8d42-45d0-b3e3-a97c1d4fa05f
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.3.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: f14c4a6d-8d42-45d0-b3e3-a97c1d4fa05f
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}]
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testApplicationThrottlePol
|
show-report
ThrottlePolicyExportImportTestCase.testApplicationThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.2.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: da52f541-d9bd-497d-b891-d12aa0952853
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.3.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: da52f541-d9bd-497d-b891-d12aa0952853
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError:
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.2.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: da52f541-d9bd-497d-b891-d12aa0952853
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.3.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: da52f541-d9bd-497d-b891-d12aa0952853
policyName: TestPolicyApplication
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: ApplicationThrottlePolicy
}
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
burstLimit: class BurstLimitDTO {
rateLimitCount: 0
rateLimitTimeUnit: null
}
}
}]
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testApplicationThrottlePol
|
show-report
ThrottlePolicyExportImportTestCase.testCustomThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: custom rule
version: v4.3.0
data: class CustomRuleDTO {
class ThrottlePolicyDTO {
policyId: d4073a4d-7bd4-4af4-a58e-37b06d2482db
policyName: TestPolicyCustom
displayName: null
description: This is a test custom throttle policy
isDeployed: false
type: CustomRule
}
siddhiQuery: FROM RequestStream
SELECT userId, ( userId == '[email protected]' ) AS isEligible, str:concat('[email protected]','') as throttleKey
INSERT INTO EligibilityStream;
FROM EligibilityStream[isEligible==true]#throttler:timeBatch(1 min)
SELECT throttleKey, (count(userId) >= 10) as isThrottled, expiryTimeStamp group by throttleKey
INSERT ALL EVENTS into ResultStream;
keyTemplate: $userId
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: custom rule
version: v4.2.0
data: class CustomRuleDTO {
class ThrottlePolicyDTO {
policyId: d4073a4d-7bd4-4af4-a58e-37b06d2482db
policyName: TestPolicyCustom
displayName: null
description: This is a test custom throttle policy
isDeployed: false
type: CustomRule
}
siddhiQuery: FROM RequestStream
SELECT userId, ( userId == '[email protected]' ) AS isEligible, str:concat('[email protected]','') as throttleKey
INSERT INTO EligibilityStream;
FROM EligibilityStream[isEligible==true]#throttler:timeBatch(1 min)
SELECT throttleKey, (count(userId) >= 10) as isThrottled, expiryTimeStamp group by throttleKey
INSERT ALL EVENTS into ResultStream;
keyTemplate: $userId
}
}]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError:
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: custom rule
version: v4.3.0
data: class CustomRuleDTO {
class ThrottlePolicyDTO {
policyId: d4073a4d-7bd4-4af4-a58e-37b06d2482db
policyName: TestPolicyCustom
displayName: null
description: This is a test custom throttle policy
isDeployed: false
type: CustomRule
}
siddhiQuery: FROM RequestStream
SELECT userId, ( userId == '[email protected]' ) AS isEligible, str:concat('[email protected]','') as throttleKey
INSERT INTO EligibilityStream;
FROM EligibilityStream[isEligible==true]#throttler:timeBatch(1 min)
SELECT throttleKey, (count(userId) >= 10) as isThrottled, expiryTimeStamp group by throttleKey
INSERT ALL EVENTS into ResultStream;
keyTemplate: $userId
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: custom rule
version: v4.2.0
data: class CustomRuleDTO {
class ThrottlePolicyDTO {
policyId: d4073a4d-7bd4-4af4-a58e-37b06d2482db
policyName: TestPolicyCustom
displayName: null
description: This is a test custom throttle policy
isDeployed: false
type: CustomRule
}
siddhiQuery: FROM RequestStream
SELECT userId, ( userId == '[email protected]' ) AS isEligible, str:concat('[email protected]','') as throttleKey
INSERT INTO EligibilityStream;
FROM EligibilityStream[isEligible==true]#throttler:timeBatch(1 min)
SELECT throttleKey, (count(userId) >= 10) as isThrottled, expiryTimeStamp group by throttleKey
INSERT ALL EVENTS into ResultStream;
keyTemplate: $userId
}
}]
at org.wso2.am.integration.tests.restapi.admin.throttlingpolicy.ThrottlePolicyExportImportTestCase.testCustomThrottlePolicyExport(Throttle
|
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/
|
build (2, group2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2, actions/setup-node@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 (1, group1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2, actions/setup-node@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/
|
show-report
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@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/
|
show-report
1726 tests run, 47 skipped, 17 failed.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
TEST-TestSuite_1
Expired
|
60.6 MB |
|
TEST-TestSuite_2
Expired
|
23.8 MB |
|