aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/onap_client/sdc/client.py
diff options
context:
space:
mode:
authorstark, steven <steven.stark@att.com>2020-09-17 13:04:35 -0700
committerstark, steven <steven.stark@att.com>2020-09-17 13:04:35 -0700
commit35375724d9657de99adb8e530e1be21305555a40 (patch)
tree28806a1a1317426546ffdb9755d6f632ce088605 /onap-client/onap_client/sdc/client.py
parent591c548e569423dad8d106d4d2cd26bc5ce24b19 (diff)
[VVP] Updating onap-client
Removing dependency on distutils moving etc/ to package resource Adding support for volume creation and delete Removing module level imports Adding delete capability to spec-engine Adding kwarg to pass Client instance to functions Issue-ID: VVP-469 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: Ie00065f54411c8ff40ea20c35fe919ce15f65e6a
Diffstat (limited to 'onap-client/onap_client/sdc/client.py')
-rw-r--r--onap-client/onap_client/sdc/client.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/onap-client/onap_client/sdc/client.py b/onap-client/onap_client/sdc/client.py
index cfdd4ad..725cbeb 100644
--- a/onap-client/onap_client/sdc/client.py
+++ b/onap-client/onap_client/sdc/client.py
@@ -34,14 +34,10 @@
# limitations under the License.
#
# ============LICENSE_END============================================
-
import uuid
from functools import partial
from onap_client.client.clients import Client
-from onap_client import config
-
-application_id = config.APPLICATION_ID
class SDCClient(Client):
@@ -66,7 +62,7 @@ class SDCClient(Client):
"Content-Type": "application/json",
"USER_ID": self.config.sdc.SDC_DESIGNER_USER_ID,
"X-TransactionId": str(uuid.uuid4()),
- "X-FromAppId": application_id,
+ "X-FromAppId": self.config.application_id,
},
# "auth": (
# self.sdc_designer_user_id,