summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
04cd130)
Change-Id: Ibc0976b9720577d0ac670ff43ce6f24cdce8ae55
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
COPY --from=submgrbuild /manifests /manifests
COPY --from=submgrbuild /manifests /manifests
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 --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
RUN chmod 755 /run_submgr.sh
RUN chmod 755 /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.
---
# By default this file is in the docker build directory,
# but the location can configured in the JJB template.
---
tc.TestWrapper.Init(desc)
os.Setenv("RMR_SEED_RT", rtfile)
os.Setenv("RMR_SRC_ID", "localhost:"+port)
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"))
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",
},
"rmr": {
"protPort": "tcp:14560",
"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"]
"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"]