diff --git a/pom.xml b/pom.xml index 44fe0668..b294573b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.mulesoft metrics-framework - 1.4.0 + 1.4.1 mule-application metrics-framework diff --git a/src/main/mule/sources/anypoint/platform/apis/api-call-analytics.xml b/src/main/mule/sources/anypoint/platform/apis/api-call-analytics.xml index 0da220a3..c3890fbc 100644 --- a/src/main/mule/sources/anypoint/platform/apis/api-call-analytics.xml +++ b/src/main/mule/sources/anypoint/platform/apis/api-call-analytics.xml @@ -8,8 +8,11 @@ http://www.mulesoft.org/schema/mule/ee/core http://www.mulesoft.org/schema/mule/ - + + + + + - + + + + + + + + + + + + + + + + + + + + + + - @@ -39,8 +62,11 @@ http://www.mulesoft.org/schema/mule/ee/core http://www.mulesoft.org/schema/mule/ - + + + + + - + + + + + + + + + + + + + + + + + + + + + + - diff --git a/src/main/mule/sources/anypoint/platform/apis/api-call-api-manager.xml b/src/main/mule/sources/anypoint/platform/apis/api-call-api-manager.xml index 8ffddf51..ca38f37b 100644 --- a/src/main/mule/sources/anypoint/platform/apis/api-call-api-manager.xml +++ b/src/main/mule/sources/anypoint/platform/apis/api-call-api-manager.xml @@ -27,8 +27,11 @@ http://www.mulesoft.org/schema/mule/ee/core http://www.mulesoft.org/schema/mule/ - + + + + + - - + + + + + + + + + + + + + + + + + + + + + + - - +http://www.mulesoft.org/schema/mule/ee/core http://www.mulesoft.org/schema/mule/ee/core/current/mule-ee.xsd +http://www.mulesoft.org/schema/mule/validation http://www.mulesoft.org/schema/mule/validation/current/mule-validation.xsd"> - - + + - - + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + - - + + - + - - + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + - diff --git a/src/main/resources/properties/metrics-framework-common.yaml b/src/main/resources/properties/metrics-framework-common.yaml index b4980f0f..9a3ab479 100644 --- a/src/main/resources/properties/metrics-framework-common.yaml +++ b/src/main/resources/properties/metrics-framework-common.yaml @@ -56,6 +56,9 @@ anypoint: apiPolicies: path: "/apimanager/api/v1/organizations/{orgId}/environments/{envId}/apis/{apiId}/policies" enabled: "true" + retries: + max: "2" + wait: "5000" automatedPolicies: path: "/apimanager/api/v1/organizations/{orgId}/automated-policies" apiPlatform: @@ -71,6 +74,9 @@ anypoint: path: "/designcenter/api-designer/projects" analytics: maxConcurrency: "100" + retries: + max: "2" + wait: "5000" events: path: "/analytics/1.0/{orgId}/environments/{envId}/events" duration: "1d" @@ -81,7 +87,10 @@ anypoint: duration: "30d" timeout: "30000" exchange: - maxConcurrency: "100" + maxConcurrency: "1" + retries: + max: "2" + wait: "5000" assets: path: "/exchange/api/v1/assets" limit: "1000" diff --git a/src/main/resources/properties/secure/metrics-framework-dev.yaml b/src/main/resources/properties/secure/metrics-framework-dev.yaml index 6ba2cd5d..3f13e829 100755 --- a/src/main/resources/properties/secure/metrics-framework-dev.yaml +++ b/src/main/resources/properties/secure/metrics-framework-dev.yaml @@ -1,5 +1,4 @@ auth: - mode: connected-app-credentials # valid options are: platform-credentials or connected-app-credentials orgId: "![yqKEWZ57M3XUasumfcwhVykLsfUM6yOEv2oEJ04vxZc=]"