Upgrade dependencies 31/110631/2
authorSchmalzried, Terry (ts862m) <ts862m@att.com>
Mon, 27 Jul 2020 16:31:52 +0000 (12:31 -0400)
committerSchmalzried, Terry (ts862m) <ts862m@att.com>
Mon, 27 Jul 2020 17:57:02 +0000 (13:57 -0400)
Delete unused files Dockerfile and startSCH.sh

Issue-ID: DCAEGEN2-2330
Change-Id: Id2f699b0530545628c77728ffe00740975aad014
Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
Dockerfile [deleted file]
project.clj
startSCH.sh [deleted file]

diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644 (file)
index 7b4d2bc..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-FROM maven:3-jdk-8
-RUN apt-get update && apt-get install -y sendmail
-
-WORKDIR /opt/sch
-ADD . /opt/sch
-RUN mvn clean package
-
-# TODO: This is bogus. This is simply to be used for Registrator registration.
-EXPOSE 65000
-
-COPY startSCH.sh /opt/sch
-RUN chmod +x /opt/sch/startSCH.sh
-CMD ["/opt/sch/startSCH.sh"]
index 2432aec..67b841a 100644 (file)
@@ -1,7 +1,7 @@
 ; ============LICENSE_START=======================================================
 ; org.onap.dcae
 ; ================================================================================
-; Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+; Copyright (c) 2017-2020 AT&T Intellectual Property. 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.
 ; Using lein for REPL and testing because couldn't get Maven clojure plugin to work
 ; for these functional areas.
 
-(defproject service-change-handler "1.3.2"
+(defproject service-change-handler "1.4.0"
   :description "Service change handler"
-  :dependencies [[org.clojure/clojure "1.8.0"]
-                 [cheshire/cheshire "5.8.0"]
-                 [org.clojure/tools.logging "0.4.0"]
-                 [clj-http/clj-http "3.3.0"]
-                 [org.bovinegenius/exploding-fish "0.3.4"]
+  :dependencies [[org.clojure/clojure "1.10.1"]
+                 [cheshire/cheshire "5.10.0"]
+                 [org.clojure/tools.logging "1.1.0"]
+                 [clj-http/clj-http "3.10.1"]
+                 [org.bovinegenius/exploding-fish "0.3.6"]
                  [clj-yaml/clj-yaml "0.4.0"]
                  [org.onap.sdc.sdc-distribution-client/sdc-distribution-client "1.3.0"]
-                 [ch.qos.logback/logback-classic "1.2.1"]
+                 [ch.qos.logback/logback-classic "1.2.3"]
                  ]
 
   ; TODO: Fill in the onap maven repository info
   :repositories [["onap nexus" "https://nexus.onap.org/content/repositories/snapshots/"]]
 
   :plugins [[lein-cloverage "1.0.9"]]
-  :profiles { :test { :dependencies [[clj-fakes "0.9.0"]] }
+  :profiles { :test { :dependencies [[clj-fakes "0.12.0"]] }
               ; Added this for cloverage
-              :dev { :dependencies [[clj-fakes "0.9.0"]] } }
+              :dev { :dependencies [[clj-fakes "0.12.0"]] } }
 
   )
diff --git a/startSCH.sh b/startSCH.sh
deleted file mode 100644 (file)
index 951b1eb..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-grep "^nameserver" /opt/sch/etc/resolv.conf >> /etc/resolv.conf
-
-service sendmail start
-
-java -Dlogback.configurationFile=logback.xml -jar /opt/sch/target/dcae-service-change-handler.jar prod http://consul:8500/v1/kv/service-change-handler?raw=true
-