Commit 541a56da authored by Mudassar Khan's avatar Mudassar Khan
Browse files

updated request body for ACME registration using MEC IoT API

parent 4b6e4fec
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -219,7 +219,7 @@ class MECClient(object):
			userTransportInfoList = []
			userTransportInfo = {}
			userTransportInfo['id'] = str(uuid.uuid4())
			userTransportInfo['name'] = Configuration.cse_resourceName
			userTransportInfo['name'] = Configuration.cse_cseID
			userTransportInfo['type'] = 'MB_TOPIC_BASED'
			if self.use_wss:
				userTransportInfo['description'] = 'MQTT over WS-Secured'
@@ -254,8 +254,8 @@ class MECClient(object):
			customServicesTransportInfoList = []
			customServicesTransportInfo = {}
			customServicesTransportInfo['id'] = str(uuid.uuid4())
			customServicesTransportInfo['name'] = Configuration.cse_resourceName
			customServicesTransportInfo['description'] = 'ACME oneM2M CSE'
			customServicesTransportInfo['name'] = Configuration.cse_cseID
			customServicesTransportInfo['description'] = 'ACME oneM2M CSE ID'
			customServicesTransportInfo['type'] = 'REST_HTTP'
			customServicesTransportInfo['protocol'] = 'REST_HTTP'
			customServicesTransportInfo['version'] = '4'