Hoepfully your payload is matching one of these examples

https://wiki.onap.org/display/DW/APPC+ONAP+Testing+Requests

Brian


From: [email protected] <[email protected]> On Behalf Of 
FREEMAN, BRIAN D
Sent: Wednesday, May 15, 2019 4:37 PM
To: [email protected]; [email protected]
Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

***Security Advisory: This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.
I’m not an expert at APPC but it looks like the input doesnt have the $vm-id 
(or its variation) defined (not sure which version of the Stop DG you are 
running).
You need to find the input variable to your REST call that matches the variable 
in the DG.


Brian


appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Stop.json:
        "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' 
method='stopServer'>\n<parameter name=\"org.onap.appc.provider.name\" 
value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" 
value=\"`$vm-id`\" />\n<parameter name=\"org.onap.appc.identity.url\" 
value=\"`$identity-url`\


From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
Steve Siani
Sent: Wednesday, May 15, 2019 4:01 PM
To: FREEMAN, BRIAN D <[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

Hi Brian,

you where somehow right because I found that the svcLogic was not able to 
resolv SDNC DB URL. In OOM APPC, the namespace is added in the name of SDNC 
container. So the result was appc-host.NAMESPACE. I removed the NAMESPACE and 
my test can go one step ahead.

But I still have some issue. Below is the log.

2019-05-15T19:54:00,891 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 76 (call)
2019-05-15T19:54:00,915 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
graph SvcLogicGraph [module=APPC, rpc=StopVM_VM, mode=sync, version=2.0.0, 
md5sum=08a100251d4498556a8896c9eac11918]
2019-05-15T19:54:00,915 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 1 (switch)
2019-05-15T19:54:00,915 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 34 (block)
2019-05-15T19:54:00,915 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 35 (set)
2019-05-15T19:54:00,916 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 36 (switch)
2019-05-15T19:54:00,916 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 37 (set)
2019-05-15T19:54:00,925 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 39 (for)
2019-05-15T19:54:00,926 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 40 (switch)
2019-05-15T19:54:00,926 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 41 (execute)
2019-05-15T19:54:00,926 | INFO  | appc-dispatcher-5 | ProviderOperation         
       | 503 - appc-iaas-adapter - 1.4.4 | APPC0056I APPC IAAS Adapter stop 
server requested
2019-05-15T19:54:00,927 | ERROR | appc-dispatcher-5 | ProviderOperation         
       | 503 - appc-iaas-adapter - 1.4.4 | APPC0045E One or more properties for 
[stopServer] are missing, null, or empty.  They are:
'org.onap.appc.instance.url'
2019-05-15T19:54:00,927 | ERROR | appc-dispatcher-5 | StopServer                
       | 503 - appc-iaas-adapter - 1.4.4 | APPC0112E Server APPC (id n/a) 
failed to stop during n/a phase, reason Check Parameters:APPC0045E One or more 
properties for [stopServer] are missing, null, or empty.  They are:
'org.onap.appc.instance.url'
2019-05-15T19:54:00,927 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 42 (switch)
2019-05-15T19:54:00,928 | INFO  | appc-dispatcher-5 | SvcLogicExprListener      
       | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome ("") not 
found, keys are { (CONTEXT_NOT_FOUND) (SUCCESS) (ERROR)}
2019-05-15T19:54:00,928 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 86 (block)
2019-05-15T19:54:00,930 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 87 (block)
2019-05-15T19:54:00,937 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 88 (record)
2019-05-15T19:54:00,938 | ERROR | appc-dispatcher-5 | message-log               
       | 223 - org.onap.ccsdk.sli.core.sli-recording - 0.3.3 |
2019-05-15T19:54:00,938 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 89 (execute)
2019-05-15T19:54:00,938 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 90 (execute)
2019-05-15T19:54:00,939 | INFO  | appc-dispatcher-5 | EventSenderDmaapImpl      
       | 458 - appc-common-bundle - 1.4.4 | Posting Message 
[873aacdf-1d85-4e07-8deb-7815776bbd35 - {"eventHeader":{"eventTime":"Wed May 15 
19:54:00 UTC 
2019","apiVer":"2.00","eventId":"873aacdf-1d85-4e07-8deb-7815776bbd35"},"eventStatus":{"code":501,"reason":"Check
 Parameters:APPC0045E One or more properties for [stopServer] are missing, 
null, or empty.  They are:"}}]
2019-05-15T19:54:00,939 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 91 (set)
2019-05-15T19:54:00,940 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl       
       | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute 
node # 92 (return)

Any idea please?

Thanks!



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#17058): https://lists.onap.org/g/onap-discuss/message/17058
Mute This Topic: https://lists.onap.org/mt/31222663/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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to