COPY --from=submgrbuild /manifests /manifests
-COPY run_submgr.sh /
COPY --from=submgrbuild /opt/bin/submgr /
COPY --from=submgrbuild /usr/local/include /usr/local/include
COPY --from=submgrbuild /usr/local/lib /usr/local/lib
RUN ldconfig
+COPY run_submgr.sh /
RUN chmod 755 /run_submgr.sh
-CMD /run_submgr.sh
+
+#default config
+COPY config /opt/config
+ENV CFG_FILE=/opt/config/submgr-config.yaml
+ENV RMR_SEED_RT=/opt/config/submgr-uta-rtg.rt
+
+
+ENTRYPOINT ["/submgr"]
--- /dev/null
+"local":
+ "host": ":8080"
+"logger":
+ "level": 3
+"rmr":
+ "protPort" : "tcp:4560"
+ "maxSize": 8192
+ "numWorkers": 1
+"rtmgr":
+ "hostAddr": "localhost"
+ "port" : "8989"
+ "baseUrl" : "/ric/v1"
--- /dev/null
+newrt|start
+newrt|end
+
# By default this file is in the docker build directory,
# but the location can configured in the JJB template.
---
-tag: "0.4.0-1"
+tag: "0.4.0-2"
tc.TestWrapper.Init(desc)
os.Setenv("RMR_SEED_RT", rtfile)
os.Setenv("RMR_SRC_ID", "localhost:"+port)
- //os.Setenv("RMR_RTG_SVC", "localhost:"+port)
+ //os.Setenv("RMR_RTG_SVC", "localhost:"+rtport)
xapp.Logger.Info("Using rt file %s", os.Getenv("RMR_SEED_RT"))
xapp.Logger.Info("Using src id %s", os.Getenv("RMR_SRC_ID"))
//xapp.Logger.Info("Using rtg svc %s", os.Getenv("RMR_RTG_SVC"))
},
"rmr": {
"protPort": "tcp:14560",
- "maxSize": 4096,
+ "maxSize": 8192,
"numWorkers": 1,
"txMessages": ["RIC_SUB_REQ", "RIC_SUB_DEL_REQ"],
"rxMessages": ["RIC_SUB_RESP", "RIC_SUB_FAILURE", "RIC_SUB_DEL_RESP", "RIC_SUB_DEL_FAILURE", "RIC_INDICATION"]