PR builder test #12216
Closed
PR builder test #12216
Annotations
9 errors and 2 warnings
Publish Test 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)
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testAdvancedThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: advanced policy
version: v4.2.0
data: class AdvancedThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: 0457f7b6-caef-483a-a1a3-a6d069385fe8
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: 0457f7b6-caef-483a-a1a3-a6d069385fe8
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
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testAdvancedThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: advanced policy
version: v4.2.0
data: class AdvancedThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: c3e6e1fb-2537-4d3e-b526-9aee757d618a
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: c3e6e1fb-2537-4d3e-b526-9aee757d618a
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
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testApplicationThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.2.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: 517eb7d7-87c3-45f1-97e0-f29d2486e968
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: 517eb7d7-87c3-45f1-97e0-f29d2486e968
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: 517eb7d7-87c3-45f1-97e0-f29d2486e968
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: 517eb7d7-87c3-45f1-97e0-f29d2486e968
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
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testApplicationThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: application policy
version: v4.2.0
data: class ApplicationThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: a9400388-cc6c-4177-b987-6aa5dc88d9ca
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: a9400388-cc6c-4177-b987-6aa5dc88d9ca
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: a9400388-cc6c-4177-b987-6aa5dc88d9ca
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: a9400388-cc6c-4177-b987-6aa5dc88d9ca
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
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testCustomThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: custom rule
version: v4.3.0
data: class CustomRuleDTO {
class ThrottlePolicyDTO {
policyId: 8c649db8-6049-44d7-bec8-a1edfaef5cbd
policyName: TestPolicyCustom
displayName: null
description: This is a test custom throttle policy
isDeployed: false
type: CustomRule
}
siddhiQuery: FROM RequestStream
SELECT userId, ( userId == 'admin@carbon.super' ) AS isEligible, str:concat('admin@carbon.super','') 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: 8c649db8-6049-44d7-bec8-a1edfaef5cbd
policyName: TestPolicyCustom
displayName: null
description: This is a test custom throttle policy
isDeployed: false
type: CustomRule
}
siddhiQuery: FROM RequestStream
SELECT userId, ( userId == 'admin@carbon.super' ) AS isEligible, str:concat('admin@carbon.super','') 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: 8c649db8-6049-44d7-bec8-a1edfaef5cbd
policyName: TestPolicyCustom
displayName: null
description: This is a test custom throttle policy
isDeployed: false
type: CustomRule
}
siddhiQuery: FROM RequestStream
SELECT userId, ( userId == 'admin@carbon.super' ) AS isEligible, str:concat('admin@carbon.super','') 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: 8c649db8-6049-44d7-bec8-a1edfaef5cbd
policyName: TestPolicyCustom
displayName: null
description: This is a test custom throttle policy
isDeployed: false
type: CustomRule
}
siddhiQuery: FROM RequestStream
SELECT userId, ( userId == 'admin@carbon.super' ) AS isEligible, str:concat('admin@carbon.super','') 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
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testSubscriptionThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: subscription policy
version: v4.2.0
data: class SubscriptionThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: 101eed27-b277-4c67-86ff-9e110f2e4445
policyName: TestPolicySubscription
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: SubscriptionThrottlePolicy
}
graphQLMaxComplexity: 400
graphQLMaxDepth: 10
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
monetization: class MonetizationInfoDTO {
monetizationPlan: DYNAMICRATE
properties: {}
}
rateLimitCount: -1
rateLimitTimeUnit: NA
customAttributes: [class CustomAttributeDTO {
name: testAttribute
value: testValue
}]
stopOnQuotaReach: false
billingPlan: COMMERCIAL
permissions: class SubscriptionThrottlePolicyPermissionDTO {
permissionType: ALLOW
roles: [Internal/creator]
}
subscriberCount: 0
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: subscription policy
version: v4.3.0
data: class SubscriptionThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: 101eed27-b277-4c67-86ff-9e110f2e4445
policyName: TestPolicySubscription
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: SubscriptionThrottlePolicy
}
graphQLMaxComplexity: 400
graphQLMaxDepth: 10
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
monetization: class MonetizationInfoDTO {
monetizationPlan: DYNAMICRATE
properties: {}
}
rateLimitCount: -1
rateLimitTimeUnit: NA
customAttributes: [class CustomAttributeDTO {
name: testAttribute
value: testValue
}]
stopOnQuotaReach: false
billingPlan: COMMERCIAL
permissions: class SubscriptionThrottlePolicyPermissionDTO {
permissionType: ALLOW
roles: [Internal/creator]
}
subscriberCount: 0
}
}]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError:
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: subscription policy
version: v4.2.0
data: class SubscriptionThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: 101eed27-b277-4c67-86ff-9e110f2e4445
policyName: TestPolicySubscription
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: SubscriptionThrottlePolicy
}
graphQLMaxComplexity: 400
graphQLMaxDepth: 10
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
monetization: class MonetizationInfoDTO {
monetizationPlan: DYNAMICRATE
p
|
Publish Test Report
ThrottlePolicyExportImportTestCase.testSubscriptionThrottlePolicyExport
──────────────────────────────────────────────────────────────────────────────────────────
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: subscription policy
version: v4.2.0
data: class SubscriptionThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: abbfb5df-59b0-4f53-9ff6-014861f7c7e5
policyName: TestPolicySubscription
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: SubscriptionThrottlePolicy
}
graphQLMaxComplexity: 400
graphQLMaxDepth: 10
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
monetization: class MonetizationInfoDTO {
monetizationPlan: DYNAMICRATE
properties: {}
}
rateLimitCount: -1
rateLimitTimeUnit: NA
customAttributes: [class CustomAttributeDTO {
name: testAttribute
value: testValue
}]
stopOnQuotaReach: false
billingPlan: COMMERCIAL
permissions: class SubscriptionThrottlePolicyPermissionDTO {
permissionType: ALLOW
roles: [Internal/creator]
}
subscriberCount: 0
}
}] but found [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: subscription policy
version: v4.3.0
data: class SubscriptionThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: abbfb5df-59b0-4f53-9ff6-014861f7c7e5
policyName: TestPolicySubscription
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: SubscriptionThrottlePolicy
}
graphQLMaxComplexity: 400
graphQLMaxDepth: 10
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
monetization: class MonetizationInfoDTO {
monetizationPlan: DYNAMICRATE
properties: {}
}
rateLimitCount: -1
rateLimitTimeUnit: NA
customAttributes: [class CustomAttributeDTO {
name: testAttribute
value: testValue
}]
stopOnQuotaReach: false
billingPlan: COMMERCIAL
permissions: class SubscriptionThrottlePolicyPermissionDTO {
permissionType: ALLOW
roles: [Internal/creator]
}
subscriberCount: 0
}
}]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError:
expected [class ExportThrottlePolicyDTO {
type: throttling policy
subtype: subscription policy
version: v4.2.0
data: class SubscriptionThrottlePolicyDTO {
class ThrottlePolicyDTO {
policyId: abbfb5df-59b0-4f53-9ff6-014861f7c7e5
policyName: TestPolicySubscription
displayName: Test Policy
description: This is a test throttle policy
isDeployed: false
type: SubscriptionThrottlePolicy
}
graphQLMaxComplexity: 400
graphQLMaxDepth: 10
defaultLimit: class ThrottleLimitDTO {
type: REQUESTCOUNTLIMIT
requestCount: class RequestCountLimitDTO {
timeUnit: min
unitTime: 1
requestCount: 50
}
bandwidth: null
eventCount: null
}
monetization: class MonetizationInfoDTO {
monetizationPlan: DYNAMICRATE
p
|
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/
|
Publish Test Report
1503 tests run, 31 skipped, 8 failed.
|
The logs for this run have expired and are no longer available.
Loading