SOL005 Subscription end point is not available for POST response .
As part of SOL005 instance creation request , NFVO will create the instance id internally and will do a POST on the subscription end point .
In our testing we created subscription first in NFVO with the generated URL by robo framework
admin@ncs% run show nfv subscriptions
nfv subscriptions ns-subscriptions ns-subscription 06c5a548-24ac-4e10-a99c-95efd15f7c44
callback-uri http://tap.plugtests.net:8111/ecdc80be-5125-45ce-ab04-aa1c99fe8dac
Then we run create instance test
Instance id was created in NFVO and send it to robo as part of API response .
admin@ncs% show nfv ns-info
ns-info b082f6bd-4104-446c-9390-d694572695b5 {
ns-name testNS;
description "NS test from Etsi";
nsd vcu-vcu-nsd;
vnfm-type sol3;
state do-not-instantiate;
}
Same time NFVO will send NsIdentifierCreationNotification to the end point POST to http://tap.plugtests.net:8111/ecdc80be-5125-45ce-ab04-aa1c99fe8dac.
This failed in NFVO. But robo test framework is expecting this notification and it is failing. Attached the logs
On instance:
{'_links': {'instantiate': {'href': 'http://0.0.0.0:9191/nslcm/v1/ns_instances/b082f6bd-4104-446c-9390-d694572695b5/instantiate'},
'self': {'href': 'http://0.0.0.0:9191/nslcm/v1/ns_instances/b082f6bd-4104-446c-9390-d694572695b5'}},
'id': 'b082f6bd-4104-446c-9390-d694572695b5',
'nsInstanceDescription': 'NS test from Etsi',
'nsInstanceName': 'testNS',
'nsState': 'NOT_INSTANTIATED',
'nsdId': 'vcu-vcu-nsd',
'nsdInfoId': 'vcu-vcu-nsd'}
14:07:12.050 FAIL ValidationError: Validation error for schema NsIdentifierCreationNotification.schema.json: 'subscriptionId' is a required property
[6a69eb0e-7199-43b7-81dd-203fd3cb3ce9.NSLifecycleManagement-API.CreateNSInstanceWorkflow.output.xml](/uploads/f34587a436c176c3e4f8decd1f0c9799/6a69eb0e-7199-43b7-81dd-203fd3cb3ce9.NSLifecycleManagement-API.CreateNSInstanceWorkflow.output.xml)
[6a69eb0e-7199-43b7-81dd-203fd3cb3ce9.NSLifecycleManagement-API.CreateNSInstanceWorkflow.report.html](/uploads/03d23c120af61550b0db2d96a79d7df5/6a69eb0e-7199-43b7-81dd-203fd3cb3ce9.NSLifecycleManagement-API.CreateNSInstanceWorkflow.report.html)
issue