Advertisement
menuka

Untitled

Oct 8th, 2017
610
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.01 KB | None | 0 0
  1. ################################################################################
  2. #   Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved
  3. #
  4. #   Licensed under the Apache License, Version 2.0 (the \"License\");
  5. #   you may not use this file except in compliance with the License.
  6. #   You may obtain a copy of the License at
  7. #
  8. #   http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. #   Unless required by applicable law or agreed to in writing, software
  11. #   distributed under the License is distributed on an \"AS IS\" BASIS,
  12. #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. #   See the License for the specific language governing permissions and
  14. #   limitations under the License.
  15. ################################################################################
  16.  
  17.   # APIM Configuration Parameters
  18. wso2.carbon.apimgt:
  19.   reverseProxyEnabled: false
  20.     # hostname
  21.   hostname: 172.23.0.5
  22.     # context for publisher
  23.   publisherContext: /api/am/publisher/v1.0
  24.     # context for store
  25.   storeContext: /api/am/store/v1.0
  26.     # context for admin
  27.   adminContext: /api/am/admin/v1.0
  28.     # package name for gateway configs
  29.   gatewayPackageName: org.wso2.carbon.apimgt.gateway
  30.     # package name path for gateway configs
  31.   gatewayPackageNamePath: deployment/org/wso2/apim
  32.     # label extractor
  33.   labelExtractorImplClass: org.wso2.carbon.apimgt.core.impl.DefaultLabelExtractorImpl
  34.     # Key Management Configurations
  35.   keyManagerConfigs:
  36.      # Key Manager Implementation class
  37.     keyManagerImplClass: org.wso2.carbon.apimgt.core.impl.DefaultKeyManagerImpl
  38.       # DCR Endpoint URL
  39.     dcrEndpoint: https://172.23.0.5:9763/identity/connect/register
  40.       # Token Endpoint URL
  41.     tokenEndpoint: https://172.23.0.5:9443/oauth2/token
  42.       # Revoke Endpoint URL
  43.     revokeEndpoint: https://172.23.0.5:9443/oauth2/revoke
  44.       # Introspect Endpoint URL
  45.     introspectEndpoint: https://172.23.0.5:9763/oauth2/introspect
  46.       # User Credentials
  47.     keyManagerCredentials:
  48.        # Username
  49.       username: admin
  50.         # Password
  51.       password: admin
  52.       # Alias of Key Manager Certificate in Client Trust Store
  53.     keyManagerCertAlias: wso2carbon
  54.       # OAuth app validity period
  55.     defaultTokenValidityPeriod: 3600
  56.       # OpenId Connect Userinfo Response JWT Signing Algorithm
  57.     oidcUserinfoJWTSigningAlgo: SHA256withRSA
  58.     # Identity Provider Configurations
  59.   identityProviderConfigs:
  60.      # Identity Provider Implementation class
  61.     identityProviderImplClass: org.wso2.carbon.apimgt.core.impl.DefaultIdentityProviderImpl
  62.       # IDP Base URL
  63.     identityProviderBaseUrl: https://172.23.0.5:9443
  64.       # User Credentials
  65.     identityProviderCredentials:
  66.        # Username
  67.       username: admin
  68.         # Password
  69.       password: admin
  70.       # Alias of Identity Provider Certificate in Client Trust Store
  71.     idpCertAlias: wso2carbon
  72.     # Broker configurations
  73.   brokerConfigurations:
  74.      # JMS Connection configurations
  75.     jmsConnectionConfiguration:
  76.        # Java naming factory initial
  77.       javaNamingFactoryInitial: org.wso2.andes.jndi.PropertiesFileInitialContextFactory
  78.         # JMS Connectiontion factory JNDI name
  79.       jmsConnectionFactoryJNDIName: TopicConnectionFactory
  80.         # Topic connection factory URL
  81.       topicConnectionFactoryURL: tcp://172.23.0.5:61616
  82.         # Destination topic name
  83.       topic: myTopic
  84.       # Store topic name
  85.     storeTopic: StoreTopic
  86.       # Publisher topic name
  87.     publisherTopic: PublisherTopic
  88.       # Throttle topic name
  89.     throttleTopic: ThrottleTopic
  90.     # Notification Configurations
  91.   notificationConfigurations:
  92.      # NotificationEnable
  93.     notificationEnable: false
  94.       # Mail Configurations
  95.     mailConfigurations:
  96.        # Hostname
  97.       smtpHostname: smtp.gmail.com
  98.         # AuthUser
  99.       smtpAuthUser: user@gmail.com
  100.         # AuthPass
  101.       smtpAuthPwd: userPWD
  102.         # FromUser
  103.       fromUser: user@gmail.com
  104.         # StartTSL
  105.       startTsl: true
  106.       # Version Configurations
  107.     newVersionNotifierConfigurations:
  108.        # notifiers
  109.       notifierConfigurations:
  110.       - executorClass: org.wso2.carbon.apimgt.core.impl.NewApiVersionMailNotifier
  111.         propertyList:
  112.           mail.transport.protocol: smtp
  113.           Title: Version $2 of $1 Released
  114.           mail.smtp.port: '587'
  115.           mail.smtp.auth: 'true'
  116.           mail.smtp.starttls.enable: 'true'
  117.           mail.smtp.host: smtp.gmail.com
  118.           Template: <html> <body> <h3 style="color:Black;"> We’re happy to announce the arrival of the next major version $2 of $1 API  which is now available in Our API Store.</h3><a href="https://172.23.0.5:9443/store">Click here to Visit WSO2 API Store</a></body></html>
  119.    # JWT Configurations
  120.   jwtConfigurations:
  121.      # Enable JWT generation
  122.     enableJWTGeneration: false
  123.       # JWT Header
  124.     jwtHeader: X-JWT-Assertion
  125.       # Signature Algorithm
  126.     signatureAlgorithm: SHA256withRSA
  127.     # Analytics configurations
  128.   analyticsConfigurations:
  129.      # enable analytics
  130.     enabled: true
  131.       # DAS server URL
  132.     dasServerURL: http://172.23.0.5:9091
  133.       # User Credentials
  134.     dasServerCredentials:
  135.        # Username
  136.       username: admin
  137.         # Password
  138.       password: admin
  139.     # Throttling configurations
  140.   throttlingConfigurations:
  141.      # Data Publisher connection configurations
  142.     dataPublisherConfigurations:
  143.        # Reciever URL
  144.       receiverURL: tcp://172.23.0.5:9612
  145.         # User Credentials
  146.       dataPublisherCredentials:
  147.          # Username
  148.         username: admin
  149.           # Password
  150.         password: admin
  151.       # Policy Deployer connection configurations
  152.     policyDeployerConfiguration:
  153.        # DAS execution plan REST API
  154.       serverURL: http://172.23.0.5:9091
  155.         # User Credentials
  156.       policyDeployerCredentials:
  157.          # Username
  158.         username: admin
  159.           # Password
  160.         password: admin
  161.       # JMS Connection configurations
  162.     jmsConnectionConfiguration:
  163.        # Java naming factory initial
  164.       javaNamingFactoryInitial: org.wso2.andes.jndi.PropertiesFileInitialContextFactory
  165.         # JMS Connectiontion factory JNDI name
  166.       jmsConnectionFactoryJNDIName: TopicConnectionFactory
  167.         # Topic connection factory URL
  168.       topicConnectionFactoryURL: tcp://172.23.0.5:61616
  169.         # Destination topic name
  170.       topic: myTopic
  171.     # comment moderator role
  172.   commentModeratorRole:
  173.     # comment text max length
  174.   commentMaxLength: 1000
  175.     # rating upper limit
  176.   ratingMaxValue: 5
  177.     # WSDL processor implementations
  178.   wsdlProcessors:
  179.  - org.wso2.carbon.apimgt.core.impl.WSDL11ProcessorImpl
  180.   - org.wso2.carbon.apimgt.core.impl.WSDL20ProcessorImpl
  181.     # SDK Generation Language Configuration
  182.   sdkLanguageConfigurations:
  183.      # SDK Generation Supported Languages
  184.     sdkGenLanguages:
  185.       python: io.swagger.codegen.languages.PythonClientCodegen
  186.       java: io.swagger.codegen.languages.JavaClientCodegen
  187.       android: io.swagger.codegen.languages.AndroidClientCodegen
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement