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

Update MEC 011 Mgmt Support for both server and client

parent 27e9b527
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1159,7 +1159,7 @@ func getMecServices() ([]smc.ServiceInfo, error) {

// Client request to create a mec-service resource
func registerService(appInstanceId string, callBackUrl string) (smc.ServiceInfo, error) {
	var srvInfo smc.ServiceInfoPost
	var srvInfo smc.ServiceInfo
	srvInfo.SerName = serviceCategory
	srvInfo.Version = serviceAppVersion
	state := smc.ACTIVE_ServiceState
+1 −1
Original line number Diff line number Diff line
@@ -603,7 +603,7 @@ func getMecServices() ([]smc.ServiceInfo, error) {

// Client request to create a mec-service resource
func registerService(appInstanceId string, callBackUrl string) (smc.ServiceInfo, error) {
	var srvInfo smc.ServiceInfoPost
	var srvInfo smc.ServiceInfo
	srvInfo.SerName = serviceCategory
	srvInfo.Version = serviceAppVersion
	state := smc.ACTIVE_ServiceState
+1 −1
Original line number Diff line number Diff line
@@ -579,7 +579,7 @@ func registerService(appInstanceId string) error {
	serializer := smc.JSON_SerializerType
	transportType := smc.REST_HTTP_TransportType
	localityType := smc.LocalityType(scopeOfLocality)
	srvInfo := smc.ServiceInfoPost{
	srvInfo := smc.ServiceInfo{
		SerName:           instanceName,
		Version:           serviceAppVersion,
		State:             &state,
+1840 −1025

File changed.

Preview size limit exceeded, changes collapsed.

+6111 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading