You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by my...@apache.org on 2020/03/05 08:23:08 UTC
[incubator-dlab] branch DLAB-1565 updated: [DLAB-1565]: Convey
billing for remote endpoints - billing.yml added
This is an automated email from the ASF dual-hosted git repository.
mykolabodnar pushed a commit to branch DLAB-1565
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1565 by this push:
new 76561bd [DLAB-1565]: Convey billing for remote endpoints - billing.yml added
76561bd is described below
commit 76561bd5cce6ed005f2fcc55d22d64fd5822c060
Author: Mykola_Bodnar1 <bo...@gmail.com>
AuthorDate: Thu Mar 5 10:22:38 2020 +0200
[DLAB-1565]: Convey billing for remote endpoints - billing.yml added
---
.../terraform/bin/deploy/billing.yml | 77 ++++++++++++++++++++++
1 file changed, 77 insertions(+)
diff --git a/infrastructure-provisioning/terraform/bin/deploy/billing.yml b/infrastructure-provisioning/terraform/bin/deploy/billing.yml
new file mode 100644
index 0000000..da47bd1
--- /dev/null
+++ b/infrastructure-provisioning/terraform/bin/deploy/billing.yml
@@ -0,0 +1,77 @@
+# *****************************************************************************
+#
+# 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.
+#
+# ******************************************************************************
+
+# Authentication info
+
+# Explicit azure authentication parameters
+clientId: <CLIENT_ID>
+clientSecret: <CLIENT_SECRET>
+tenantId: <TENANT_ID>
+subscriptionId: <SUBSCRIPTION_ID>
+
+# Contains authentication info (clientId, clientSecret, tenantId, subscriptionId) received after Azure CLI authentication
+# Overrides explicit azure authentication parameters above
+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>
+
+# Azure provides with aggregated data by date. Scheduler tries to retrieve data every <period> with <initialDelay> from
+# application startup in minutes.
+# Scheduler retrieves data only for the past period of time from midnight of start day to midnight of end date.
+# Scheduler does not retrieve data for the current date
+initialDelay: 10
+period: 60
+
+billingEnabled: false
+
+aggregationOutputMongoDataSource:
+ host: localhost
+ port: 27017
+ username: admin
+ password: <MONGODB_PASSWORD>
+ database: dlabdb
+
+ssnStorageAccountTagName: <AZURE_SSN_STORAGE_ACCOUNT_TAG>
+sharedStorageAccountTagName: <AZURE_SHARED_STORAGE_ACCOUNT_TAG>
+datalakeTagName: <AZURE_DATALAKE_TAG>
+
+# Logging configuration.
+logging:
+ # Default logging level
+ level: INFO
+ # Logging levels for appenders.
+ loggers:
+ com.epam: DEBUG
+ org.apache.http: WARN
+ org.mongodb.driver: WARN
+ org.hibernate: WARN
+ #Logging appenders
+ appenders:
+ #- type: console
+ - type: file
+ currentLogFilename: /var/opt/dlab/log/ssn/billing.log
+ archive: true
+ archivedLogFilenamePattern: /var/opt/dlab/log/ssn/billing-%d{yyyy-MM-dd}.log.gz
+ archivedFileCount: 10
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org