From a1866eee1255034679959f1a911a32a841cc0501 Mon Sep 17 00:00:00 2001
From: Katharina Renk <katharina.renk@stud.h-da.de>
Date: Wed, 10 May 2023 13:24:49 +0000
Subject: [PATCH] added gNMISubscitptions.txt into gosdnc container

See merge request danet/gosdn!466
---
 controller/configs/containerlab-gosdn.toml.example | 2 +-
 controller/controller.Dockerfile                   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/controller/configs/containerlab-gosdn.toml.example b/controller/configs/containerlab-gosdn.toml.example
index 70744a9d0..0148c1442 100644
--- a/controller/configs/containerlab-gosdn.toml.example
+++ b/controller/configs/containerlab-gosdn.toml.example
@@ -7,7 +7,7 @@ log-level = "debug"
 socket = ":55055"
 databaseConnection = "mongodb://root:example@clab-gosdn_csbi_arista_base-mongodb:27017"
 filesystemPathToStores = "stores"
-gNMISubscriptionsPath = "controller/configs/gNMISubscriptions.txt"
+gNMISubscriptionsPath = "configs/gNMISubscriptions.txt"
 
 
 amqpPrefix = "amqp://"
diff --git a/controller/controller.Dockerfile b/controller/controller.Dockerfile
index 3550b3367..090d1fd41 100644
--- a/controller/controller.Dockerfile
+++ b/controller/controller.Dockerfile
@@ -13,5 +13,6 @@ FROM ${GITLAB_PROXY}golang:$GOLANG_VERSION-buster
 WORKDIR /app/
 COPY --from=builder /gosdn/controller/configs/development-gosdn.toml.example ./configs/development-gosdn.toml
 COPY --from=builder /gosdn/controller/configs/containerlab-gosdn.toml.example ./configs/containerlab-gosdn.toml
+COPY --from=builder /gosdn/controller/configs/gNMISubscriptions.txt.example ./configs/gNMISubscriptions.txt
 COPY --from=builder /gosdn/artifacts/gosdn ./gosdn
 ENTRYPOINT ["./gosdn"]
-- 
GitLab