From 1aadf401293c232df888ed1b22da01fe1a551021 Mon Sep 17 00:00:00 2001 From: Michael Hwang Date: Mon, 19 Mar 2018 10:52:26 -0400 Subject: Use sdc client 1.3.0 They changed the namespace from openecomp to onap. Change-Id: I10766500c3e2c0d7bf5994c4318a825e4c0b6a89 Issue-ID: DCAEGEN2-392 Signed-off-by: Michael Hwang --- pom.xml | 4 ++-- project.clj | 2 +- src/sch/core.clj | 6 +++--- src/sch/handle.clj | 2 +- src/sch/parse.clj | 2 +- test/sch/core_test.clj | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index cd8602e..4b26c8f 100644 --- a/pom.xml +++ b/pom.xml @@ -65,9 +65,9 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. 5.8.0 - org.openecomp.sdc.sdc-distribution-client + org.onap.sdc.sdc-distribution-client sdc-distribution-client - 1.2.3 + 1.3.0 com.taoensso diff --git a/project.clj b/project.clj index 90c4776..67a294a 100644 --- a/project.clj +++ b/project.clj @@ -30,7 +30,7 @@ [clj-http/clj-http "3.3.0"] [org.bovinegenius/exploding-fish "0.3.4"] [clj-yaml/clj-yaml "0.4.0"] - [org.openecomp.sdc.sdc-distribution-client/sdc-distribution-client "1.1.0-SNAPSHOT"] + [org.onap.sdc.sdc-distribution-client/sdc-distribution-client "1.3.0"] ] ; TODO: Fill in the onap maven repository info diff --git a/src/sch/core.clj b/src/sch/core.clj index d83d266..a1734fa 100644 --- a/src/sch/core.clj +++ b/src/sch/core.clj @@ -30,10 +30,10 @@ [sch.parse :refer [get-dcae-artifact-types pick-out-artifact]] [sch.util :refer [read-config]] ) - (:import (org.openecomp.sdc.impl DistributionClientFactory) - (org.openecomp.sdc.api.consumer IConfiguration INotificationCallback + (:import (org.onap.sdc.impl DistributionClientFactory) + (org.onap.sdc.api.consumer IConfiguration INotificationCallback IDistributionStatusMessage) - (org.openecomp.sdc.utils DistributionActionResultEnum DistributionStatusEnum) + (org.onap.sdc.utils DistributionActionResultEnum DistributionStatusEnum) (com.google.gson Gson) ) (:gen-class)) diff --git a/src/sch/handle.clj b/src/sch/handle.clj index 13201c4..453b586 100644 --- a/src/sch/handle.clj +++ b/src/sch/handle.clj @@ -27,7 +27,7 @@ [sch.parse :refer [generate-dcae-service-type-requests get-service-locations]] ) - (:import (org.openecomp.sdc.utils DistributionStatusEnum)) + (:import (org.onap.sdc.utils DistributionStatusEnum)) (:gen-class)) diff --git a/src/sch/parse.clj b/src/sch/parse.clj index 7ce48e6..668dbf4 100644 --- a/src/sch/parse.clj +++ b/src/sch/parse.clj @@ -24,7 +24,7 @@ [sch.asdc-client :refer [construct-service-path]] [cheshire.core :refer [parse-string]] ) - (:import (org.openecomp.sdc.utils ArtifactTypeEnum)) + (:import (org.onap.sdc.utils ArtifactTypeEnum)) (:gen-class)) diff --git a/test/sch/core_test.clj b/test/sch/core_test.clj index 958a0e6..c615f5d 100644 --- a/test/sch/core_test.clj +++ b/test/sch/core_test.clj @@ -22,7 +22,7 @@ (:use (clojure test)) (:require [sch.core :refer [create-distribution-client-config deploy-artifacts-ex!]] [clj-fakes.core :as f]) - (:import (org.openecomp.sdc.utils DistributionStatusEnum)) + (:import (org.onap.sdc.utils DistributionStatusEnum)) ) -- cgit 1.2.3-korg