Loading examples/demo3/src/backend/api/swagger.yaml +3 −3 Original line number Diff line number Diff line Loading @@ -267,7 +267,7 @@ components: example: mecReady: true subscriptions: 'SerAvailabilitySubscription:': SerAvailabilitySubscription: subId: subId AmsLinkListSubscription: subId: subId Loading Loading @@ -348,13 +348,13 @@ components: properties: AppTerminationSubscription: $ref: '#/components/schemas/ApplicationInstance_AppTerminationSubscription' 'SerAvailabilitySubscription:': SerAvailabilitySubscription: $ref: '#/components/schemas/ApplicationInstance_SerAvailabilitySubscription' AmsLinkListSubscription: $ref: '#/components/schemas/ApplicationInstance_AmsLinkListSubscription' description: List of ams subscription unique to device and their id example: 'SerAvailabilitySubscription:': SerAvailabilitySubscription: subId: subId AmsLinkListSubscription: subId: subId Loading examples/demo3/src/backend/server/README.md +2 −2 Original line number Diff line number Diff line # Go API Server for server This section describes how to use AdvantEdge mec services with a scenario demonstrating use-case 1 - 3 Demo 3 is an edge application that can be used with AdvantEDGE or ETSI MEC Sandbox to demonstrate MEC011 and MEC021 usage ## Overview This server was generated by the [swagger-codegen] Loading @@ -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: 0.0.1 - Build date: 2021-11-24T04:23:06.407744-05:00[America/New_York] - Build date: 2021-12-14T11:05:15.982739-05:00[America/Toronto] ### Running the server Loading examples/demo3/src/backend/server/api_notification.go +4 −4 Original line number Diff line number Diff line Loading @@ -34,10 +34,10 @@ func AppTerminationNotificationCallback(w http.ResponseWriter, r *http.Request) appTerminationNotificationCallback(w, r) } func ServiceAvailNotificationCallback(w http.ResponseWriter, r *http.Request) { serviceAvailNotificationCallback(w, r) } func ContextTransferNotificationCallback(w http.ResponseWriter, r *http.Request) { stateTransferPOST(w, r) } func ServiceAvailNotificationCallback(w http.ResponseWriter, r *http.Request) { serviceAvailNotificationCallback(w, r) } examples/demo3/src/backend/server/model_application_context_state.go +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ package server type ApplicationContextState struct { // Integer representing state of device being tracked Counter int `json:"Counter,omitempty"` Counter int32 `json:"Counter,omitempty"` // Application UUID AppId string `json:"AppId,omitempty"` // MEC platform name Loading examples/demo3/src/backend/server/routers.go +6 −6 Original line number Diff line number Diff line Loading @@ -122,16 +122,16 @@ var routes = Routes{ }, Route{ "ServiceAvailNotificationCallback", "ContextTransferNotificationCallback", strings.ToUpper("Post"), "/services/callback/service-availability", ServiceAvailNotificationCallback, "/application/transfer", ContextTransferNotificationCallback, }, Route{ "ContextTransferNotificationCallback", "ServiceAvailNotificationCallback", strings.ToUpper("Post"), "/application/transfer", ContextTransferNotificationCallback, "/services/callback/service-availability", ServiceAvailNotificationCallback, }, } Loading
examples/demo3/src/backend/api/swagger.yaml +3 −3 Original line number Diff line number Diff line Loading @@ -267,7 +267,7 @@ components: example: mecReady: true subscriptions: 'SerAvailabilitySubscription:': SerAvailabilitySubscription: subId: subId AmsLinkListSubscription: subId: subId Loading Loading @@ -348,13 +348,13 @@ components: properties: AppTerminationSubscription: $ref: '#/components/schemas/ApplicationInstance_AppTerminationSubscription' 'SerAvailabilitySubscription:': SerAvailabilitySubscription: $ref: '#/components/schemas/ApplicationInstance_SerAvailabilitySubscription' AmsLinkListSubscription: $ref: '#/components/schemas/ApplicationInstance_AmsLinkListSubscription' description: List of ams subscription unique to device and their id example: 'SerAvailabilitySubscription:': SerAvailabilitySubscription: subId: subId AmsLinkListSubscription: subId: subId Loading
examples/demo3/src/backend/server/README.md +2 −2 Original line number Diff line number Diff line # Go API Server for server This section describes how to use AdvantEdge mec services with a scenario demonstrating use-case 1 - 3 Demo 3 is an edge application that can be used with AdvantEDGE or ETSI MEC Sandbox to demonstrate MEC011 and MEC021 usage ## Overview This server was generated by the [swagger-codegen] Loading @@ -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: 0.0.1 - Build date: 2021-11-24T04:23:06.407744-05:00[America/New_York] - Build date: 2021-12-14T11:05:15.982739-05:00[America/Toronto] ### Running the server Loading
examples/demo3/src/backend/server/api_notification.go +4 −4 Original line number Diff line number Diff line Loading @@ -34,10 +34,10 @@ func AppTerminationNotificationCallback(w http.ResponseWriter, r *http.Request) appTerminationNotificationCallback(w, r) } func ServiceAvailNotificationCallback(w http.ResponseWriter, r *http.Request) { serviceAvailNotificationCallback(w, r) } func ContextTransferNotificationCallback(w http.ResponseWriter, r *http.Request) { stateTransferPOST(w, r) } func ServiceAvailNotificationCallback(w http.ResponseWriter, r *http.Request) { serviceAvailNotificationCallback(w, r) }
examples/demo3/src/backend/server/model_application_context_state.go +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ package server type ApplicationContextState struct { // Integer representing state of device being tracked Counter int `json:"Counter,omitempty"` Counter int32 `json:"Counter,omitempty"` // Application UUID AppId string `json:"AppId,omitempty"` // MEC platform name Loading
examples/demo3/src/backend/server/routers.go +6 −6 Original line number Diff line number Diff line Loading @@ -122,16 +122,16 @@ var routes = Routes{ }, Route{ "ServiceAvailNotificationCallback", "ContextTransferNotificationCallback", strings.ToUpper("Post"), "/services/callback/service-availability", ServiceAvailNotificationCallback, "/application/transfer", ContextTransferNotificationCallback, }, Route{ "ContextTransferNotificationCallback", "ServiceAvailNotificationCallback", strings.ToUpper("Post"), "/application/transfer", ContextTransferNotificationCallback, "/services/callback/service-availability", ServiceAvailNotificationCallback, }, }