| # ***************************************************************************** |
| # |
| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| # |
| # ****************************************************************************** |
| |
| spring: |
| main: |
| allow-bean-definition-overriding: true |
| data: |
| mongodb: |
| username: admin |
| password: admin |
| database: datalabdb |
| port: 27017 |
| host: localhost |
| |
| server: |
| port: 8088 |
| servlet: |
| contextPath: /api/billing |
| |
| server.ssl.key-store-type: JKS |
| server.ssl.key-store: /home/OS_USER/keys/endpoint.keystore.jks |
| server.ssl.key-store-password: KEYSTORE_PASSWORD |
| server.ssl.key-alias: billing |
| |
| logging: |
| file: /var/opt/datalab/log/ssn/billing.log |
| level: |
| com: |
| epam: trace |
| |
| keycloak: |
| bearer-only: true |
| realm: datalab |
| resource: KEYCLOAK_CLIENT_ID |
| credentials.secret: CLIENT_SECRET |
| ssl-required: none |
| auth-server-url: KEYCLOAK_AUTH_SERVER_URL |
| |
| datalab: |
| sbn: <CONF_SERVICE_BASE_NAME> |
| billingEnabled: true |
| clientId: <CLIENT_ID> |
| clientSecret: <CLIENT_SECRET> |
| tenantId: <TENANT_ID> |
| subscriptionId: <SUBSCRIPTION_ID> |
| authenticationFile: <AUTHENTICATION_FILE> |
| # Billing configuration for RateCard API. For more details please see https://msdn.microsoft.com/en-us/library/mt219004.aspx |
| offerNumber: <OFFER_NUMBER> |
| currency: <CURRENCY> |
| locale: <LOCALE> |
| regionInfo: <REGION_INFO> |
| initialDelay: 1 |
| period: 60 |
| aggregationOutputMongoDataSource: |
| host: localhost |
| port: 27017 |
| username: admin |
| password: <MONGODB_PASSWORD> |
| database: datalabdb |
| ssnStorageAccountTagName: <AZURE_SSN_STORAGE_ACCOUNT_TAG> |
| sharedStorageAccountTagName: <AZURE_SHARED_STORAGE_ACCOUNT_TAG> |
| datalakeTagName: <AZURE_DATALAKE_TAG> |