Last active
November 14, 2022 04:35
-
-
Save ramindu90/8b4537587eb7550b42a46c621d210b30 to your computer and use it in GitHub Desktop.
Config of Choreo Connect to deploy when WSO2 API Manager as control plane
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[adapter] | |
[enforcer.security] | |
[[enforcer.security.tokenService]] | |
# changed localhost to host.docker.internal | |
issuer = "https://host.docker.internal:9444/oauth2/token" | |
[[enforcer.security.tokenService]] | |
# changed localhost to host.docker.internal | |
issuer = "https://host.docker.internal:9444/publisher" | |
[enforcer.throttling] | |
enableGlobalEventPublishing = true | |
[enforcer.throttling.publisher] | |
[[enforcer.throttling.publisher.URLGroup]] | |
# changed localhost to host.docker.internal | |
receiverURLs = ["tcp://host.docker.internal:9612"] | |
authURLs = ["ssl://host.docker.internal:9712"] | |
[controlPlane] | |
enabled = true | |
# changed localhost to host.docker.internal | |
serviceURL = "https://host.docker.internal:9444/" | |
username = "admin" | |
password = "$env{cp_admin_pwd}" | |
# this is to mention the environment the choreo connect will be in, and this has to be mentioned in enforcer and adpter and in APIM gateway config | |
environmentLabels = ["MicroGatewayEnv"] | |
skipSSLVerification = true | |
[controlPlane.brokerConnectionParameters] | |
# changed localhost to host.docker.internal | |
eventListeningEndpoints = ["amqp://admin:$env{cp_admin_pwd}@host.docker.internal:5673?retries='10'&connectdelay='30'"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment