Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

e.g. For patch-configData template you can notice that the xpathTemplate may have different unwanted characters such as " ''' " as in the first case or "' \''  " as in the second case here below shown

first case

Code Block
collapsetrue
{
"templateId": "patch-configData",
"model": "ran-network",
"requestType": "patch",
"xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='''{{idNearRTRIC}}''']/attributes/pLMNInfoList[@mcc='''{{mcc}}''' and @mnc='''{{mnc}}''']/sNSSAIList[@sNssai='''{{sNssai}}''']",
"includeDescendants": true
}


second case

true
Code Block
collapse
{
"templateId": "patch-configData",
"model": "ran-network",
"requestType": "patch",
"xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']/sNSSAIList[@sNssai='\''{{sNssai}}'\'']",
"includeDescendants": true
}

...

The right xpathTemplate syntax should be the following (i.e. single " ' "):

true
Code Block
collapse
{
"templateId": "patch-configData",
"model": "ran-network",
"requestType": "patch",
"xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='{{idNearRTRIC}}']/attributes/pLMNInfoList[@mcc='{{mcc}}' and @mnc='{{mnc}}']/sNSSAIList[@sNssai='{{sNssai}}']",
"includeDescendants": true
}

...