diff options
author | Jan Malkiewicz <jan.malkiewicz@nokia.com> | 2021-02-22 15:09:26 +0100 |
---|---|---|
committer | Jan Malkiewicz <jan.malkiewicz@nokia.com> | 2021-02-23 11:22:26 +0100 |
commit | 710d5b07eb1f5ea1358fdbec78a5339ec5860712 (patch) | |
tree | acb4e913436ec800d2c9024c7fc4b163892ebbde /k8s/configure | |
parent | db843c7721a59d75aa687b23a379784e8b20c741 (diff) |
Add parameters for cmpv2 issuer integration.
Issue-ID: DCAEGEN2-2440
Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com>
Change-Id: I6cfedfc60ecc00a2d7cafcb11e72d291fbfb3301
Diffstat (limited to 'k8s/configure')
-rw-r--r-- | k8s/configure/configure.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/k8s/configure/configure.py b/k8s/configure/configure.py index 481e02e..142e2ec 100644 --- a/k8s/configure/configure.py +++ b/k8s/configure/configure.py @@ -3,7 +3,7 @@ # ================================================================================ # Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved. # Copyright (c) 2019 Pantheon.tech. All rights reserved. -# Copyright (c) 2020 Nokia. All rights reserved. +# Copyright (c) 2020-2021 Nokia. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -54,6 +54,9 @@ EXT_TLS_TRUSTSTORE_PASSWORD = "secret" CERT_POST_PROCESSOR_IMAGE = "nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.1.0" CBS_BASE_URL = "https://config-binding-service:10443/service_component_all" +CMPV2_ISSUER_ENABLED = "false" +CMPV2_ISSUER_NAME = "cmpv2-issuer-onap" + def _set_defaults(): """ Set default configuration parameters """ return { @@ -93,8 +96,11 @@ def _set_defaults(): }, "cbs": { "base_url" : CBS_BASE_URL # URL prefix for accessing config binding service + }, + "cmpv2_issuer": { + "enabled": CMPV2_ISSUER_ENABLED, + "name": CMPV2_ISSUER_NAME } - } def configure(config_path=_CONFIG_PATH, key = _CONSUL_KEY): |