Taka, I understand you ran testing, I would need to look into that. Also, note,
I’m using Casablanca.
> Attribute (input.common-header.api-ver), value (2.00)
> Attribute (input.action-identifiers.service-instance-id), value ()
> Attribute (input.action-identifiers.vserver-id), value
> (c82153dc-8d84-4e69-9673-5e0a60030779)
> Attribute (input.common-header.sub-request-id), value ()
> Attribute (input.common-header.request-id), value
> (873aacdf-1d85-4e07-8deb-7815776bbd35)
> Attribute (input.common-header.timestamp), value (2019-05-16T14:00:43.177Z)
> Attribute (input.payload), value ({"vm-id":
> "http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779
>
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__10.195.194.213-3A8774_v2.1_7320ec4a5b9d4589ba7c4412ccfd290f_servers_c82153dc-2D8d84-2D4e69-2D9673-2D5e0a60030779&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=CaLRZEYuCPO4aPg9KDm2xryvAJvxWt9jLlBr9EQh4Jw&s=7vbWQDZc7Nt_7paMGBEtfuZzEvmJvmB1ixM94GVQsGw&e=>"})
> Attribute (currentGraph), value (SvcLogicGraph [module=APPC, rpc=VM_Start,
> mode=sync, version=2.0.0, md5sum=1cd3041dc9487e5abf527ee778af1bdc])
> Attribute (input.action-identifiers.vnf-id), value (VNF_demo_steve)
> Attribute (input.action-identifiers.vnfc-name), value ()
> Attribute (input.action), value (Start)
> Attribute (input.action-identifiers.vf-module-id), value ()
> Attribute (input.common-header.originator-id), value (appc)
> Attribute (isBwcMode), value (false)
It looks like `input.payload`, which is a JSON, isn’t converted to SLI ctx.
`vm-id` that is looked for
> 2019-05-16 14:00:45,820 | DEBUG | ppc-dispatcher-6 | ExecuteNodeExecutor
> | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Parameter
> org.onap.appc.instance.url = (atom<CONTEXT_VAR> (variable-term vm-id))
> resolves to
isn’t within the context at all. I tweaked the DG to run a jsonStringToCtx
using `input.payload` and then it worked. I also had to change vm-id to the
output of jsonStringToCtx.vm-id…
But if there is a recipe I missed, I’d love to hear about it.
Thanks,
Alexis
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17085): https://lists.onap.org/g/onap-discuss/message/17085
Mute This Topic: https://lists.onap.org/mt/31641303/21656
Mute #appc: https://lists.onap.org/mk?hashtag=appc&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-