Commit afe8a67c authored by Yann Garcia's avatar Yann Garcia
Browse files

Merging InterDigital AdvantEDGE 'develop' branch into ETSI 'STF625_TASK4'...

Merging InterDigital AdvantEDGE 'develop' branch into ETSI 'STF625_TASK4' branch - Second round: Adding MEC016
parent 21545b15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -515,7 +515,7 @@ func serviceAvailNotificationCallback(w http.ResponseWriter, r *http.Request) {
	log.Info("Received service availability notification")

	msg := ""
	if notification.ServiceReferences[0].ChangeType == "ADDED" {
	if *notification.ServiceReferences[0].ChangeType == "ADDED" {
		msg = "Available"
	} else {
		msg = "Unavailable"
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ func NewRouter() *mux.Router {
		handler = route.HandlerFunc
		handler = Logger(handler, route.Name)
		handler = met.MetricsHandler(handler, "", moduleName)
		handler = httpLog.LogRx(handler, "")
		handler = httpLog.LogRx(handler)

		router.
			Methods(route.Method).
+0 −6
Original line number Diff line number Diff line
@@ -59,11 +59,7 @@ type APIClient struct {

	// API Services

	AppTermApi *AppTermApiService

	DevAppApi *DevAppApiService

	UnsupportedApi *UnsupportedApiService
}

type service struct {
@@ -82,9 +78,7 @@ func NewAPIClient(cfg *Configuration) *APIClient {
	c.common.client = c

	// API Services
	c.AppTermApi = (*AppTermApiService)(&c.common)
	c.DevAppApi = (*DevAppApiService)(&c.common)
	c.UnsupportedApi = (*UnsupportedApiService)(&c.common)

	return c
}