Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A api-tests
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • NFV - Network Functions VirtualisationNFV - Network Functions Virtualisation
  • api-tests
  • Issues
  • #156
Closed
Open
Issue created Feb 17, 2021 by naira@naira

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

6a69eb0e-7199-43b7-81dd-203fd3cb3ce9.NSLifecycleManagement-API.CreateNSInstanceWorkflow.report.html

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking