Commit f842b557 authored by Simon Pastor's avatar Simon Pastor
Browse files

updated the dashboards, added event log and renamed the measurements log json objects to be generic

parent b0400f4b
Loading
Loading
Loading
Loading
+6 −6

File changed.

Preview size limit exceeded, changes collapsed.

+14 −14

File changed.

Preview size limit exceeded, changes collapsed.

+9 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ import (

	log "github.com/InterDigitalInc/AdvantEDGE/go-apps/meep-ctrl-engine/log"
	watchdog "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-watchdog"
	logrus "github.com/sirupsen/logrus"
)

const scenarioDBName = "scenarios"
@@ -848,6 +849,14 @@ func sendEventUeMobility(event Event) (string, int) {
			return err.Error(), http.StatusNotFound
		}
		log.Debug("Active scenario updated with rev: ", rev)
		log.WithFields(logrus.Fields{
			"meep.log.component": "ctrl-engine",
			"meep.log.msgType":   "mobilityEvent",
			"meep.log.oldPoa":    oldNL.Name,
			"meep.log.newPoa":    newNL.Name,
			"meep.log.src":       ue.Name,
			"meep.log.dest":      ue.Name,
		}).Info("Measurements log")

		// TODO in Execution Engine:
		//    - Update any deployed location services
+8 −0
Original line number Diff line number Diff line
@@ -304,6 +304,14 @@ definitions:
        type: "integer"
        example: 63
        description: "Latency measured betwen 2 pods in ms"
      newPoa:
        type: "string"
        example: "poa1"
        description: "New poa affected by a mobility event"
      oldPoa:
        type: "string"
        example: "poa1"
        description: "Old poa affected by a mobility event"
parameters:
  Path.Dest:
    name: "dest"
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ To see how to make this your own, look here:
[README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md)

- API version: 1.0.0
- Build date: 2019-07-16T16:46:01.742-04:00
- Build date: 2019-07-17T10:02:16.588-04:00


### Running the server
Loading