renaming folder to match go executable 55/41255/2
authorKiran Kamineni <kiran.k.kamineni@intel.com>
Thu, 5 Apr 2018 18:54:20 +0000 (11:54 -0700)
committerKiran Kamineni <kiran.k.kamineni@intel.com>
Thu, 5 Apr 2018 19:40:56 +0000 (12:40 -0700)
Renaming folder from smsquorum to quorumclient
Added quorumclient build as part of the makefile
Will upload another patch in ci-management that
will call the new parent makefile

Issue-ID: AAF-213
Change-Id: Ib85ac6b9dc454fc1447cf2221a555d7a7552efa5
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
sms-service/bin/build_quorum_image.sh
sms-service/bin/quorumdockerfile
sms-service/src/Makefile
sms-service/src/quorumclient/Makefile [moved from sms-service/src/smsquorum/Makefile with 83% similarity]
sms-service/src/quorumclient/config.json [moved from sms-service/src/smsquorum/config.json with 100% similarity]
sms-service/src/quorumclient/quorumclient.go [moved from sms-service/src/smsquorum/quorumclient.go with 100% similarity]
sms-service/src/sms/Gopkg.lock

index c154764..16bb378 100755 (executable)
@@ -8,7 +8,7 @@ BUILD_ARGS="--no-cache"
 ORG="onap"
 VERSION="1.1.0"
 PROJECT="aaf"
-IMAGE="smsquorum"
+IMAGE="smsquorumclient"
 DOCKER_REPOSITORY="nexus3.onap.org:10003"
 IMAGE_NAME="${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/${IMAGE}"
 TIMESTAMP=$(date +"%Y%m%dT%H%M%S")
@@ -21,7 +21,7 @@ if [ $HTTPS_PROXY ]; then
 fi
 #Need to create makefile
 function generate_binary {
-    pushd ../src/smsquorum
+    pushd ../src/quorumclient
     make build
     popd
     cp ../target/quorumclient .
index 2e1a191..08a6606 100644 (file)
@@ -1,9 +1,9 @@
 FROM alpine:3.7
 
-LABEL name="aaf-sms"
+LABEL name="aaf-sms-quorumclient"
 LABEL version=1.0.0
 LABEL maintainer="Girish Havaldar <hg0071052@techmahindra.com>"
 
-ADD quorumclient /smsquorum/bin/quorumclient
-RUN chmod +x /smsquorum/bin/quorumclient
-ENTRYPOINT ["/smsquorum/bin/quorumclient"]
+ADD quorumclient /quorumclient/bin/quorumclient
+RUN chmod +x /quorumclient/bin/quorumclient
+ENTRYPOINT ["/quorumclient/bin/quorumclient"]
index 4091a3e..6569ec1 100644 (file)
@@ -1,5 +1,7 @@
 build:
        $(MAKE) -C sms build
+       $(MAKE) -C quorumclient build
 
 deploy:
-       $(MAKE) -C sms deploy
\ No newline at end of file
+       $(MAKE) -C sms deploy
+       $(MAKE) -C quorumclient deploy
\ No newline at end of file
similarity index 83%
rename from sms-service/src/smsquorum/Makefile
rename to sms-service/src/quorumclient/Makefile
index 4ffeeae..720be29 100644 (file)
@@ -1,4 +1,4 @@
-GOPATH := $(shell realpath "$(PWD)/../../")\r
+GOPATH := $(shell realpath "$(CURDIR)/../../")\r
 BINARY := quorumclient\r
 PLATFORM := linux\r
 \r
index b856a81..a1f61dc 100644 (file)
@@ -69,7 +69,7 @@
     "json/scanner",
     "json/token"
   ]
-  revision = "f40e974e75af4e271d97ce0fc917af5898ae7bda"
+  revision = "ef8a98b0bbce4a65b5aa4c368430a80ddc533168"
 
 [[projects]]
   name = "github.com/hashicorp/vault"
     "openpgp/packet",
     "openpgp/s2k"
   ]
-  revision = "88942b9c40a4c9d203b82b3731787b672d6e809b"
+  revision = "b2aa35443fbc700ab74c586ae79b81c171851023"
 
 [[projects]]
   branch = "master"
     "idna",
     "lex/httplex"
   ]
-  revision = "6078986fec03a1dcc236c34816c71b0e05018fda"
+  revision = "b3c676e531a6dc479fa1b35ac961c13f5e2b4d2e"
 
 [[projects]]
   name = "golang.org/x/text"