The problem was the preload API changed from 1.0.
Try this as an example.
SDNC is working on a bug that is blocking : SDNC-119 but this payload passes
validation against the Amsterdam yang model.
Brian
{
"input":
{
"request-information":
{
"notification-url":"openecomp.org",
"order-number":"1",
"order-version":"1",
"request-action":"PreloadVNFRequest",
"request-id": "robot20"
},
"sdnc-request-header":
{
"svc-action": "reserve",
"svc-notification-url":
"http://openecomp.org:8080/adapters/rest/SDNCNotify",
"svc-request-id":"robot20"
},
"vnf-topology-information":
{
"vnf-assignments":
{
"availability-zones":[],
"vnf-networks":[],
"vnf-vms":[]
},
"vnf-parameters":
[
{"vnf-parameter-name":"public_net_id","vnf-parameter-value":
"4d51376d-5c5a-4789-9253-b0740e815341"},
{"vnf-parameter-name":"key_name","vnf-parameter-value":"ss"}
],
"vnf-topology-identifier":
{
"generic-vnf-name": "TESTPZ",
"generic-vnf-type": "devops1/devops1 0",
"vnf-name": "TESTPZ",
"vnf-type": "devops1..server..module-0",
"service-type":
"8308f3c8-8d40-4d17-887a-9c9205569267"
}
}
}
}
From: [email protected]
[mailto:[email protected]] On Behalf Of Parvez Basha Shaik
Sent: Thursday, October 12, 2017 9:57 AM
To: SONSINO, OFIR <[email protected]>; HEMLI, AMICHAI <[email protected]>;
onap-discuss <[email protected]>; Yunxia Chen
<[email protected]>; Yang Xu (Yang, Fixed Network) <[email protected]>
Cc: Eliyahu Noach <[email protected]>; GORENSHTEIN, STELLA
<[email protected]>; Netaji Surve <[email protected]>; Manoj Kapre
<[email protected]>
Subject: Re: [onap-discuss] BLOCKER - VID-82
Hi All,
Gentle reminder. If anyone from VID team needs to be added, please add them it
will be of great help.
Thanks,
Parvez
From: Parvez Basha Shaik
Sent: Wednesday, October 11, 2017 8:36 PM
To: Sonsino, Ofir <[email protected]<mailto:[email protected]>>; Hemli,
Amichai <[email protected]<mailto:[email protected]>>; onap-discuss
<[email protected]<mailto:[email protected]>>; 'Yunxia
Chen' <[email protected]<mailto:[email protected]>>; 'Yang Xu (Yang,
Fixed Network)' <[email protected]<mailto:[email protected]>>
Cc: Tomer Oster <[email protected]<mailto:[email protected]>>;
Michael O'Brien <[email protected]<mailto:[email protected]>>;
Netaji Surve <[email protected]<mailto:[email protected]>>; Manoj
Kapre <[email protected]<mailto:[email protected]>>
Subject: BLOCKER - VID-82
Importance: High
Hi All,
1. This is about
VID-82<https://urldefense.proofpoint.com/v2/url?u=https-3A__jira.onap.org_browse_VID-2D82&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=orfsxpZSKtLrsrS3P2OSmO05Hspc_hoCf2Z-gu4Fsa4&s=eYJ_eOqBzUW8finUjYSq9Nedr4h3pgEtjqMaVYhcLYM&e=>
We are trying to create vFW stack. During the process, we are in the need of a
valid Supplementary file/SDNC pre-load data to upload and create VF module. We
had 1.0 preload file but we don't have file compatible with 1.1. So, we used
the same file to process the request. And below is the error response we've got
on VID UI.
10/11/17 15:18:39 HTTP Status: Bad Request (400)
{
"serviceException": {
"messageId": "SVC0002",
"text": "Mapping of request to JSON object failed. Can not deserialize instance
of java.util.ArrayList out of START_OBJECT token\n at [Source:
java.io.StringReader@698a8dec<mailto:java.io.StringReader@698a8dec>; line: 1,
column: 469] (through reference chain:
org.openecomp.mso.apihandlerinfra.serviceinstancebeans.ServiceInstancesRequest[\"requestDetails\"]>org.openecomp.mso.apihandlerinfra.serviceinstancebeans.RequestParameters[\"userParams\"])"
}
}
Can you please provide us the valid JSON file for SDNC pre-load. For now, we
are using attached JSON files as supplementary files which are failing.
Thanks,
Parvez
Ph: +91 9985300392
This message and the information contained herein is proprietary and
confidential and subject to the Amdocs policy statement,
you may review at
https://www.amdocs.com/about/email-disclaimer<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.amdocs.com_about_email-2Ddisclaimer&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=orfsxpZSKtLrsrS3P2OSmO05Hspc_hoCf2Z-gu4Fsa4&s=LFBo4k3UCmba4pyjAHBUw3DbELOnanZz5SPGGpa2Ig4&e=>
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss