api-tests issueshttps://forge.etsi.org/rep/nfv/api-tests/-/issues2021-10-08T23:32:22Zhttps://forge.etsi.org/rep/nfv/api-tests/-/issues/195Bad use of Format String when replacing value of callbackUri attribute2021-10-08T23:32:22ZGiacomo BerniniBad use of Format String when replacing value of callbackUri attributeShould be replaced with Replaced String as we do not use templating in v2.4.1Should be replaced with Replaced String as we do not use templating in v2.4.1Giacomo BerniniGiacomo Berninihttps://forge.etsi.org/rep/nfv/api-tests/-/issues/187Missing set suite variable in keyword in vnfpackagemanagement keyword at mult...2021-09-21T16:43:57ZsinghadiMissing set suite variable in keyword in vnfpackagemanagement keyword at multiple check position```
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
GET ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${vnfPkgZipVNFD}/vnfd
Check HTTP Response Status Code Is ...```
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
GET ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${vnfPkgZipVNFD}/vnfd
Check HTTP Response Status Code Is 200
```https://forge.etsi.org/rep/nfv/api-tests/-/issues/183SOL002/vnflcm/{apiMajorVersion}/subscriptions/${subscriptionId}} API V2.4.1 ...2021-05-28T07:10:56ZguptanavSOL002/vnflcm/{apiMajorVersion}/subscriptions/${subscriptionId}} API V2.4.1 GET methodWhen testing case '**GET Individual Subscription**' it got failed with error message 'FileNotFoundError: [Errno 2] No such file or directory: 'schemas//VnfLcmOpOcc.schema.json'.' comes.
*Attached are complete logs of the same* :
[f97f...When testing case '**GET Individual Subscription**' it got failed with error message 'FileNotFoundError: [Errno 2] No such file or directory: 'schemas//VnfLcmOpOcc.schema.json'.' comes.
*Attached are complete logs of the same* :
[f97f0fb8-e205-4809-b9d5-1d63397702c4.VNFLifecycleManagement-API.IndividualSubscription.log.html](/uploads/0f3e6f190ee24cf912e1830c827d6ef5/f97f0fb8-e205-4809-b9d5-1d63397702c4.VNFLifecycleManagement-API.IndividualSubscription.log.html)https://forge.etsi.org/rep/nfv/api-tests/-/issues/182SOL003/vnflcm/{apiMajorVersion}/subscriptions API V2.4.1 GET method2021-05-28T07:12:07ZguptanavSOL003/vnflcm/{apiMajorVersion}/subscriptions API V2.4.1 GET methodWhen testing case '**GET Subscriptions**' it got failed with
ValidationError: Validation error for schema Subscriptions.schema.json: ['VnfLcmOperationOccurrenceNotification', 'VnfIdentifierCreationNotification', 'VnfIdentifierDeletionN...When testing case '**GET Subscriptions**' it got failed with
ValidationError: Validation error for schema Subscriptions.schema.json: ['VnfLcmOperationOccurrenceNotification', 'VnfIdentifierCreationNotification', 'VnfIdentifierDeletionNotification'] is not of type 'string'
*Attached are complete logs of the same* :
[eef8526a-2352-4e1a-92bc-b2d5b0ef6d0a.VNFLifecycleManagement-API.Subscriptions.log.html](/uploads/23aba39ffede1974c3ea60b0e6897311/eef8526a-2352-4e1a-92bc-b2d5b0ef6d0a.VNFLifecycleManagement-API.Subscriptions.log.html)https://forge.etsi.org/rep/nfv/api-tests/-/issues/181SOL002/vnflcm/{apiMajorVersion}/subscriptions API V2.4.1 POST and GET method2021-05-28T07:12:01ZguptanavSOL002/vnflcm/{apiMajorVersion}/subscriptions API V2.4.1 POST and GET methodWhen testing case
* '**POST Create a new subscription**' it got failed with error message KeyError: '\n "filter"'
* '**GET Subscription**s' it got failed with error message 'FileNotFoundError: [Errno 2] No such file or directory: ...When testing case
* '**POST Create a new subscription**' it got failed with error message KeyError: '\n "filter"'
* '**GET Subscription**s' it got failed with error message 'FileNotFoundError: [Errno 2] No such file or directory: 'schemas//VnfLcmOpOcc.schema.json'.' comes.
*Attached are complete logs of the same* :
[c2d987d0-fa4e-4736-8a54-39da4b21ae11.VNFLifecycleManagement-API.Subscriptions.log.html](/uploads/e9da042e5797c9be8c6eb6b169eac337/c2d987d0-fa4e-4736-8a54-39da4b21ae11.VNFLifecycleManagement-API.Subscriptions.log.html)https://forge.etsi.org/rep/nfv/api-tests/-/issues/180SOL003 and SOL002 /vnf_lcm_op_occs/${vnfLcmOpOccId}/failAPI V2.4.1 POST method2021-05-28T07:12:17ZguptanavSOL003 and SOL002 /vnf_lcm_op_occs/${vnfLcmOpOccId}/failAPI V2.4.1 POST methodWhen testing case '**POST Fail operation task**' some Internal Server Error and Can not find requested vnf instance
*Attached are complete logs of the same* :
[83880b26-4b18-4afd-ac97-f42efc8664d8.VNFLifecycleManagement-API.FailOperati...When testing case '**POST Fail operation task**' some Internal Server Error and Can not find requested vnf instance
*Attached are complete logs of the same* :
[83880b26-4b18-4afd-ac97-f42efc8664d8.VNFLifecycleManagement-API.FailOperationTask.log.html](/uploads/cad498e8efb7d12e3fe26bd938e9a292/83880b26-4b18-4afd-ac97-f42efc8664d8.VNFLifecycleManagement-API.FailOperationTask.log.html)
[733392c2-93bb-45ca-83ab-e7741c62022c.VNFLifecycleManagement-API.FailOperationTask.log.html](/uploads/e8dd8fd9cb1e39443bb3a0122aef4304/733392c2-93bb-45ca-83ab-e7741c62022c.VNFLifecycleManagement-API.FailOperationTask.log.html)https://forge.etsi.org/rep/nfv/api-tests/-/issues/179SOL002/vnflcm/{apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId} API V2.4.1 ...2021-05-28T07:11:55ZguptanavSOL002/vnflcm/{apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId} API V2.4.1 GET methodWhen testing case '**Get information about multiple VNF instances**' it got failed with error message 'FileNotFoundError: [Errno 2] No such file or directory: 'schemas//VnfLcmOpOcc.schema.json'.' comes.
*Attached are complete logs of ...When testing case '**Get information about multiple VNF instances**' it got failed with error message 'FileNotFoundError: [Errno 2] No such file or directory: 'schemas//VnfLcmOpOcc.schema.json'.' comes.
*Attached are complete logs of the same* :
[f67f0af5-65d2-4106-8fa8-8098ce53ef4c.VNFLifecycleManagement-API.IndividualVnfLcmOperationOccurence.log.html](/uploads/41a8c1b4725743830389cc3852d5c57e/f67f0af5-65d2-4106-8fa8-8098ce53ef4c.VNFLifecycleManagement-API.IndividualVnfLcmOperationOccurence.log.html)https://forge.etsi.org/rep/nfv/api-tests/-/issues/177SOL003/vnflcm/{apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId} API V2.4.1 ...2021-05-28T07:11:49ZguptanavSOL003/vnflcm/{apiMajorVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId} API V2.4.1 GET methodWhen testing case '**Get information about multiple VNF instances**' it got failed with error message 'resourse was not found.' comes. API path is wrong.${vnfLcmOpOccId} is missing.
*Attached are complete logs of the same* :
[b5d0cdb9-...When testing case '**Get information about multiple VNF instances**' it got failed with error message 'resourse was not found.' comes. API path is wrong.${vnfLcmOpOccId} is missing.
*Attached are complete logs of the same* :
[b5d0cdb9-28bc-4dec-bf46-f27351c7c776.VNFLifecycleManagement-API.IndividualVnfLcmOperationOccurence.log.html](/uploads/c9f63183b407c8dbcc692f1f007f943d/b5d0cdb9-28bc-4dec-bf46-f27351c7c776.VNFLifecycleManagement-API.IndividualVnfLcmOperationOccurence.log.html)https://forge.etsi.org/rep/nfv/api-tests/-/issues/176SOL002/vnflcm/{apiMajorVersion}/vnf_lcm_op_occs V2.4.1 GET method2021-05-28T07:11:24ZguptanavSOL002/vnflcm/{apiMajorVersion}/vnf_lcm_op_occs V2.4.1 GET methodWhen testing case '**GET status information about multiple VNF LCM operation occurrences**' HTTP return status is 200 but expected is 202
*Attached are complete logs of the same* :
[8c9344dd-510f-4985-89fc-f3cbcbf89bf5.VNFLifecycleMan...When testing case '**GET status information about multiple VNF LCM operation occurrences**' HTTP return status is 200 but expected is 202
*Attached are complete logs of the same* :
[8c9344dd-510f-4985-89fc-f3cbcbf89bf5.VNFLifecycleManagement-API.VnfLcmOperationOccurences.log.html](/uploads/aae5da20875d22faac95ceeeb09095ee/8c9344dd-510f-4985-89fc-f3cbcbf89bf5.VNFLifecycleManagement-API.VnfLcmOperationOccurences.log.html)https://forge.etsi.org/rep/nfv/api-tests/-/issues/175SOL003 and SOL002 /vnflcm/{apiMajorVersion}/vnf_instances/${vnfInstanceId} GE...2021-05-28T07:11:41ZguptanavSOL003 and SOL002 /vnflcm/{apiMajorVersion}/vnf_instances/${vnfInstanceId} GET V2.4.1When testing case '**Get Information about an individual VNF Instance**' some 'Expected property 'response headers ETag' was not found.' comes but HTTP return status is 200
*Attached are complete logs of the same* :
[e07f6a91-4872-459c...When testing case '**Get Information about an individual VNF Instance**' some 'Expected property 'response headers ETag' was not found.' comes but HTTP return status is 200
*Attached are complete logs of the same* :
[e07f6a91-4872-459c-b148-824e5dae8802.VNFLifecycleManagement-API.IndividualVNFInstance.log.html](/uploads/c9b6f7e4d29402f814241dc7ff88e32a/e07f6a91-4872-459c-b148-824e5dae8802.VNFLifecycleManagement-API.IndividualVNFInstance.log.html)
[1b94e0bb-0d8e-459d-b585-27c0d759e7a9.VNFLifecycleManagement-API.IndividualVNFInstance.log.html](/uploads/fcc88ad00ae8a612c184c2aba209ae5d/1b94e0bb-0d8e-459d-b585-27c0d759e7a9.VNFLifecycleManagement-API.IndividualVNFInstance.log.html)https://forge.etsi.org/rep/nfv/api-tests/-/issues/154Automated generation of callbackUri notification endpoint during SOL002/3/5 s...2021-06-03T08:49:18ZGiacomo BerniniAutomated generation of callbackUri notification endpoint during SOL002/3/5 subscription operationsAs part of subscriptions operations, the API producer can issue a GET call on the notification endpoint and if the call fails it returns 422.
The test system shall create a notification endpoint and update the callbackUri attribute of su...As part of subscriptions operations, the API producer can issue a GET call on the notification endpoint and if the call fails it returns 422.
The test system shall create a notification endpoint and update the callbackUri attribute of subscription request accordingly.
This is a replication of issue#149https://forge.etsi.org/rep/nfv/api-tests/-/issues/148JSON schemas containing references to external files2021-06-03T08:49:18ZMichele CarignaniJSON schemas containing references to external filesSpotted in `subscriptions.schema.json` for SOL005/NS_LCM_API/schemas`. The file contains:
```
"properties": {
"self": {
"description": "URI of this resource.\n",
"$ref": "SOL005_def.yaml#/definitions/Link"
}
}
```
but the referen...Spotted in `subscriptions.schema.json` for SOL005/NS_LCM_API/schemas`. The file contains:
```
"properties": {
"self": {
"description": "URI of this resource.\n",
"$ref": "SOL005_def.yaml#/definitions/Link"
}
}
```
but the references `SOL005_def.yaml` should have been resolved.
## Affected files
List created with `$ grep 'SOL005_def.yaml' -r | cut -d: -f1 | sort | uniq` in the branch `2.4.1-fix-plu`.
* [x] SOL005/NSFaultManagement-API/schemas/FaultyComponentInfo.schema.json
* [x] SOL005/NSFaultManagement-API/schemas/FaultyResourceInfo.schema.json
* [x] SOL005/NSFaultManagement-API/schemas/FmNotificationsFilter.schema.json
* [x] SOL005/NSFaultManagement-API/schemas/FmSubscription.schema.json
* [x] SOL005/NSFaultManagement-API/schemas/FmSubscriptionRequest.schema.json
* [x] SOL005/NSFaultManagement-API/schemas/alarm.schema.json
* [x] SOL005/NSFaultManagement-API/schemas/alarmClearedNotification.schema.json
* [x] SOL005/NSFaultManagement-API/schemas/alarmListRebuiltNotification.schema.json
* [x] SOL005/NSFaultManagement-API/schemas/alarmNotification.schema.json
* [x] SOL005/NSLifecycleManagement-API/jsons/CreateNsRequest.json
* [x] SOL005/NSLifecycleManagement-API/jsons/InstantiateNsRequest.json
* [x] SOL005/NSLifecycleManagement-API/jsons/ScaleNsRequest.json
* [x] SOL005/NSLifecycleManagement-API/jsons/UpdateNsRequest.json
* [x] SOL005/NSLifecycleManagement-API/schemas/NsIdentifierCreationNotification.schema.json
* [x] SOL005/NSLifecycleManagement-API/schemas/NsIdentifierDeletionNotification.schema.json
* [x] SOL005/NSLifecycleManagement-API/schemas/NsLcmOperationOccurrenceNotification.schema.json
* [x] SOL005/NSLifecycleManagement-API/schemas/subscription.schema.json
* [x] SOL005/NSLifecycleManagement-API/schemas/subscriptions.schema.jsonhttps://forge.etsi.org/rep/nfv/api-tests/-/issues/98Empty VnfIdentifierCreationNotification.schema.json2021-06-03T08:49:18ZMichele CarignaniEmpty VnfIdentifierCreationNotification.schema.jsonThe following schema file is empty:
https://forge.etsi.org/rep/nfv/api-tests/blob/master/SOL002/VNFLifecycleManagement-API/schemas/VnfIdentifierCreationNotification.schema.json
The definition should be at:
https://forge.etsi.org/rep/n...The following schema file is empty:
https://forge.etsi.org/rep/nfv/api-tests/blob/master/SOL002/VNFLifecycleManagement-API/schemas/VnfIdentifierCreationNotification.schema.json
The definition should be at:
https://forge.etsi.org/rep/nfv/SOL002-SOL003/blob/v2.4.1/src/definitions/SOL002SOL003VNFLifecycleManagement_def.yaml#L704https://forge.etsi.org/rep/nfv/api-tests/-/issues/97Empty vnfLcmOperationOccurrenceNotification.schema.json2021-02-09T08:17:28ZMichele CarignaniEmpty vnfLcmOperationOccurrenceNotification.schema.jsonThe following schema file is empty:
https://forge.etsi.org/rep/nfv/api-tests/blob/master/SOL003/VNFLifecycleManagement-API/schemas/vnfLcmOperationOccurrenceNotification.schema.json
The definition should be the one available at:
https...The following schema file is empty:
https://forge.etsi.org/rep/nfv/api-tests/blob/master/SOL003/VNFLifecycleManagement-API/schemas/vnfLcmOperationOccurrenceNotification.schema.json
The definition should be the one available at:
https://forge.etsi.org/rep/nfv/SOL002-SOL003/blob/v2.4.1/src/SOL002/VNFLifecycleManagementNotification/definitions/VNFLifecycleManagementNotification_def.yaml