2016-09-06 3 views
0
this 메타 데이터 서비스에서

을 가지고, 데이터 유형 SoftLayer_Virtual_Guest_Block_Device_Template_Group에, 그것은 문자열 아래의 두 가지 속성이 있습니다에 imagetype가 잘못된 유형

"imageType": 
{ 
"name": "imageType", 
"type": "string", 
"form": "relational", 
"doc": "The virtual disk image type of this template. Value will be populated on parent and child, but only supports object filtering on the parent." 
}, 
"imageTypeKeyName": 
{ 
"name": "imageTypeKeyName", 
"type": "string", 
"form": "relational", 
"doc": "The virtual disk image type keyname (e.g. SYSTEM, DISK_CAPTURE, ISO, etc) of this template. Value will be populated on parent and child, but only supports object filtering on the parent." 
}, 

을하지만 우리는 rest 서비스의 JSON 데이터를 확인하면, imageType이 문자열이 아닌, 그러나 복합 형 :

"imageType": 
{ 
"description": "a disk that may be replaced on upgrade", 
"keyName": "SYSTEM", 
"name": "System" 
} 

우리는 메타 데이터 서비스에서 데이터 유형, 서비스 및 방법을 이동 생성하는 golang 클라이언트를 사용하여,이 불일치는 데이터 비 정렬 화/마샬링 할 수 없습니다로 연결됩니다.

+0

{ \t "에 imagetype": { \t \t "이름": "에 imagetype" \t \t "유형": "문자열", \t \t "형태": "관계", \t \t "문서" : "이 템플릿의 가상 디스크 이미지 유형. 값은 부모 및 자식에 채워지지만 부모에 대한 개체 필터링 만 지원합니다." \t}, \t "imageTypeKeyName": { \t \t "이름": "imageTypeKeyName" \t \t "유형": "문자열", \t \t "형태": "관계", \t \t "문서" : "이 템플릿의 가상 디스크 이미지 유형 키 이름 (예 : SYSTEM, DISK_CAPTURE, ISO 등). 값은 부모 및 하위에 채워지지만 부모에 대한 객체 필터링 만 지원합니다." \t} } – Murali

답변

0

REST API에 의해 생성 된 결과가 정확하지만 현재 SoftLayer에서 문제가보고되었습니다.

그러나 SoftLayer에 티켓을 제출하면 도움을받을 수 있습니다.