Loading charts/meep-platform-ctrl/templates/deployment.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ spec: env: {{- range $key, $value := .Values.image.env }} - name: {{ $key }} value: {{ $value }} value: {{ $value | quote }} {{- end }} {{- if .Values.user.frontend.enabled}} - name: USER_FRONTEND Loading charts/meep-platform-ctrl/values.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ image: pullPolicy: Always env: MEEP_SESSION_KEY: "my-secret-key" MEEP_MAX_SESSIONS: "10" service: type: ClusterIP Loading config/permissions.yaml +30 −0 Original line number Diff line number Diff line Loading @@ -597,6 +597,36 @@ services: # # access authorization mode: allow|block|verify # mode: 'allow' # #------------------------------ # # WAI Service # #------------------------------ # meep-wais: # # REST API endpoint routes: names provided to endpoint routes during router initialization # Index: # # access authorization mode: allow|block|verify # mode: 'block' # ApInfoGET: # # access authorization mode: allow|block|verify # mode: 'allow' # StaInfoGET: # # access authorization mode: allow|block|verify # mode: 'allow' # SubscriptionLinkListSubscriptionsGET: # # access authorization mode: allow|block|verify # mode: 'allow' # SubscriptionsGET: # # access authorization mode: allow|block|verify # mode: 'allow' # SubscriptionsPOST: # # access authorization mode: allow|block|verify # mode: 'allow' # SubscriptionsPUT: # # access authorization mode: allow|block|verify # mode: 'allow' # SubscriptionsSubscrIdDELETE: # # access authorization mode: allow|block|verify # mode: 'allow' # #------------------------------ # # Sandbox Controller # #------------------------------ Loading go-apps/meep-loc-serv/server/loc-serv.go +1 −0 Original line number Diff line number Diff line Loading @@ -144,6 +144,7 @@ func Init() (err error) { log.Error("Failed connection to Redis DB. Error: ", err) return err } _ = rc.DBFlush(baseKey) log.Info("Connected to Redis DB, location service table") // Connect to Session Manager Loading go-apps/meep-platform-ctrl/server/platform-ctrl.go +9 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,8 @@ import ( "io/ioutil" "math/rand" "net/http" "os" "strconv" "time" "github.com/gorilla/mux" Loading Loading @@ -51,6 +53,7 @@ type PlatformCtrl struct { sandboxStore *ss.SandboxStore userStore *users.Connector mqGlobal *mq.MsgQueue maxSessions int } const scenarioDBName = "scenarios" Loading Loading @@ -82,6 +85,12 @@ func Init() (err error) { // Create new Platform Controller pfmCtrl = new(PlatformCtrl) // Retrieve maximum session count from environment variable if maxSessions, err := strconv.ParseInt(os.Getenv("MEEP_MAX_SESSIONS"), 10, 0); err == nil { pfmCtrl.maxSessions = int(maxSessions) } log.Info("MEEP_MAX_SESSIONS: ", pfmCtrl.maxSessions) // Create message queue pfmCtrl.mqGlobal, err = mq.NewMsgQueue(mq.GetGlobalName(), moduleName, moduleNamespace, redisDBAddr) if err != nil { Loading Loading
charts/meep-platform-ctrl/templates/deployment.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ spec: env: {{- range $key, $value := .Values.image.env }} - name: {{ $key }} value: {{ $value }} value: {{ $value | quote }} {{- end }} {{- if .Values.user.frontend.enabled}} - name: USER_FRONTEND Loading
charts/meep-platform-ctrl/values.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ image: pullPolicy: Always env: MEEP_SESSION_KEY: "my-secret-key" MEEP_MAX_SESSIONS: "10" service: type: ClusterIP Loading
config/permissions.yaml +30 −0 Original line number Diff line number Diff line Loading @@ -597,6 +597,36 @@ services: # # access authorization mode: allow|block|verify # mode: 'allow' # #------------------------------ # # WAI Service # #------------------------------ # meep-wais: # # REST API endpoint routes: names provided to endpoint routes during router initialization # Index: # # access authorization mode: allow|block|verify # mode: 'block' # ApInfoGET: # # access authorization mode: allow|block|verify # mode: 'allow' # StaInfoGET: # # access authorization mode: allow|block|verify # mode: 'allow' # SubscriptionLinkListSubscriptionsGET: # # access authorization mode: allow|block|verify # mode: 'allow' # SubscriptionsGET: # # access authorization mode: allow|block|verify # mode: 'allow' # SubscriptionsPOST: # # access authorization mode: allow|block|verify # mode: 'allow' # SubscriptionsPUT: # # access authorization mode: allow|block|verify # mode: 'allow' # SubscriptionsSubscrIdDELETE: # # access authorization mode: allow|block|verify # mode: 'allow' # #------------------------------ # # Sandbox Controller # #------------------------------ Loading
go-apps/meep-loc-serv/server/loc-serv.go +1 −0 Original line number Diff line number Diff line Loading @@ -144,6 +144,7 @@ func Init() (err error) { log.Error("Failed connection to Redis DB. Error: ", err) return err } _ = rc.DBFlush(baseKey) log.Info("Connected to Redis DB, location service table") // Connect to Session Manager Loading
go-apps/meep-platform-ctrl/server/platform-ctrl.go +9 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,8 @@ import ( "io/ioutil" "math/rand" "net/http" "os" "strconv" "time" "github.com/gorilla/mux" Loading Loading @@ -51,6 +53,7 @@ type PlatformCtrl struct { sandboxStore *ss.SandboxStore userStore *users.Connector mqGlobal *mq.MsgQueue maxSessions int } const scenarioDBName = "scenarios" Loading Loading @@ -82,6 +85,12 @@ func Init() (err error) { // Create new Platform Controller pfmCtrl = new(PlatformCtrl) // Retrieve maximum session count from environment variable if maxSessions, err := strconv.ParseInt(os.Getenv("MEEP_MAX_SESSIONS"), 10, 0); err == nil { pfmCtrl.maxSessions = int(maxSessions) } log.Info("MEEP_MAX_SESSIONS: ", pfmCtrl.maxSessions) // Create message queue pfmCtrl.mqGlobal, err = mq.NewMsgQueue(mq.GetGlobalName(), moduleName, moduleNamespace, redisDBAddr) if err != nil { Loading