Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OCF
documentation
Commits
6a2d6fa3
Commit
6a2d6fa3
authored
10 months ago
by
Jorge Moratinos
Browse files
Options
Downloads
Patches
Plain Diff
Refactor and change on description in discover test suite
parent
e9712af4
No related branches found
No related tags found
1 merge request
!12
Resolve "Change order of sections in tests to improve readability"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/testing/testplan/api_discover_service/README.md
+12
-12
12 additions, 12 deletions
doc/testing/testplan/api_discover_service/README.md
doc/testing/testplan/api_invoker_management/README.md
+45
-47
45 additions, 47 deletions
doc/testing/testplan/api_invoker_management/README.md
with
57 additions
and
59 deletions
doc/testing/testplan/api_discover_service/README.md
+
12
−
12
View file @
6a2d6fa3
...
...
@@ -7,13 +7,13 @@ At this documentation you will have all information and related files and exampl
**Description**
:
This test case will check if NetApp (Invoker) can discover published service APIs.
This test case will check if Net
work
App (Invoker) can discover published service APIs.
**Pre-Conditions**
:
*
Service APIs are published.
*
NetApp was registered previously
*
NetApp was onboarded previously with {onboardingId}
*
Net
work
App was registered previously
*
Net
work
App was onboarded previously with {onboardingId}
**Execution Steps**
:
...
...
@@ -167,13 +167,13 @@ At this documentation you will have all information and related files and exampl
**Description**
:
This test case will check if NetApp (Invoker) can discover published service APIs.
This test case will check if Net
work
App (Invoker) can discover published service APIs.
**Pre-Conditions**
:
*
At least 2 Service APIs are published.
*
NetApp was registered previously
*
NetApp was onboarded previously with {onboardingId}
*
Net
work
App was registered previously
*
Net
work
App was onboarded previously with {onboardingId}
**Execution Steps**
:
...
...
@@ -228,13 +228,13 @@ At this documentation you will have all information and related files and exampl
**Description**
:
This test case will check if NetApp (Invoker) can discover published service APIs.
This test case will check if Net
work
App (Invoker) can discover published service APIs.
**Pre-Conditions**
:
*
At least 2 Service APIs are published.
*
NetApp was registered previously
*
NetApp was onboarded previously with {onboardingId}
*
Net
work
App was registered previously
*
Net
work
App was onboarded previously with {onboardingId}
**Execution Steps**
:
...
...
@@ -292,13 +292,13 @@ At this documentation you will have all information and related files and exampl
**Description**
:
This test case will check if NetApp (Invoker) can discover published service APIs.
This test case will check if Net
work
App (Invoker) can discover published service APIs.
**Pre-Conditions**
:
*
2 Service APIs are published.
*
NetApp was registered previously
*
NetApp was onboarded previously with {onboardingId}
*
Net
work
App was registered previously
*
Net
work
App was onboarded previously with {onboardingId}
**Execution Steps**
:
...
...
This diff is collapsed.
Click to expand it.
doc/testing/testplan/api_invoker_management/README.md
+
45
−
47
View file @
6a2d6fa3
...
...
@@ -15,6 +15,12 @@ At this documentation you will have all information and related files and exampl
*
NetApp was not onboarded previously
*
***Preconditions: The administrator must have previously registered the User.***
**Execution Steps**
:
1.
Retrieve access_token by User from register
2.
Onboard Invoker at CCF
3.
Store signed Certificate
**Information of Test**
:
1.
Create public and private key at invoker
...
...
@@ -31,12 +37,6 @@ At this documentation you will have all information and related files and exampl
*
"onboardingInformation"->"apiInvokerPublicKey": must contain public key generated by Invoker.
*
Send in Authorization Header the Bearer access_token obtained previously (Authorization:Bearer ${access_token})
**Execution Steps**
:
1.
Retrieve access_token by User from register
2.
Onboard Invoker at CCF
3.
Store signed Certificate
**Expected Result**
:
1.
Response to Onboard request must accomplish:
...
...
@@ -60,6 +60,13 @@ At this documentation you will have all information and related files and exampl
*
NetApp was registered previously
*
NetApp was onboarded previously
**Execution Steps**
:
1.
Register NetApp at CCF
2.
Onboard NetApp at CCF
3.
Store signed Certificate at NetApp
4.
Onboard Again the NetApp at CCF
**Information of Test**
:
1.
Perform [Invoker Onboarding]
...
...
@@ -70,13 +77,6 @@ At this documentation you will have all information and related files and exampl
*
"onboardingInformation"->"apiInvokerPublicKey": must contain public key generated by Invoker.
*
Send in Authorization Header the Bearer access_token obtained previously (Authorization:Bearer ${access_token})
**Execution Steps**
:
1.
Register NetApp at CCF
2.
Onboard NetApp at CCF
3.
Store signed Certificate at NetApp
4.
Onboard Again the NetApp at CCF
**Expected Result**
:
1.
Response to Onboard request must accomplish:
...
...
@@ -107,6 +107,13 @@ At this documentation you will have all information and related files and exampl
*
NetApp was registered previously
*
NetApp was onboarded previously with {onboardingId}
**Execution Steps**
:
1.
Register Invoker at CCF
2.
Onboard Invoker at CCF
3.
Store signed Certificate
4.
Update Onboarding Information at CCF with a minor change on "notificationDestination"
**Information of Test**
:
1.
Perform [Invoker Onboarding]
...
...
@@ -116,13 +123,6 @@ At this documentation you will have all information and related files and exampl
*
Reference Request Body is: [put invoker onboarding body]
*
"notificationDestination": "
*http://host.docker.internal:8086/netapp_new_callback*
",
**Execution Steps**
:
1.
Register Invoker at CCF
2.
Onboard Invoker at CCF
3.
Store signed Certificate
4.
Update Onboarding Information at CCF with a minor change on "notificationDestination"
**Expected Result**
:
1.
Response to Onboard request must accomplish:
...
...
@@ -149,6 +149,12 @@ At this documentation you will have all information and related files and exampl
*
NetApp was registered previously
*
NetApp was not onboarded previously
**Execution Steps**
:
1.
Register Invoker at CCF
2.
Onboard Invoker at CCF
3.
Update Onboarding Information at CCF of not onboarded
**Information of Test**
:
1.
Perform [Invoker Onboarding]
...
...
@@ -157,12 +163,6 @@ At this documentation you will have all information and related files and exampl
*
Send
**PUT**
to
**https://{CAPIF_HOSTNAME}/api-invoker-management/v1/onboardedInvokers/{INVOKER_NOT_REGISTERED}**
*
Reference Request Body is: [put invoker onboarding body]
**Execution Steps**
:
1.
Register Invoker at CCF
2.
Onboard Invoker at CCF
3.
Update Onboarding Information at CCF of not onboarded
**Expected Result**
:
1.
Response to Onboard request must accomplish:
...
...
@@ -176,7 +176,6 @@ At this documentation you will have all information and related files and exampl
*
cause with message "Not exist NetappID".
## Test Case 5: Offboard NetApp
**Test ID**
:
***capif_api_invoker_management-5***
...
...
@@ -190,6 +189,12 @@ At this documentation you will have all information and related files and exampl
*
NetApp was registered previously
*
NetApp was onboarded previously
**Execution Steps**
:
1.
Register Invoker at CCF
2.
Onboard Invoker at CCF
3.
Offboard Invoker at CCF
**Information of Test**
:
1.
Perform [Invoker Onboarding]
...
...
@@ -197,12 +202,6 @@ At this documentation you will have all information and related files and exampl
2.
Offboard:
*
Send
**DELETE**
to
**https://{CAPIF_HOSTNAME}/api-invoker-management/v1/onboardedInvokers/{onboardingId}**
**Execution Steps**
:
1.
Register Invoker at CCF
2.
Onboard Invoker at CCF
3.
Offboard Invoker at CCF
**Expected Result**
:
1.
Response to Onboard request must accomplish:
...
...
@@ -224,6 +223,11 @@ At this documentation you will have all information and related files and exampl
*
NetApp was registered previously
*
NetApp was not onboarded previously
**Execution Steps**
:
1.
Register Invoker at CCF
2.
Offboard Invoker at CCF
**Information of Test**
:
1.
Perform [Invoker Onboarding]
...
...
@@ -231,11 +235,6 @@ At this documentation you will have all information and related files and exampl
2.
Offboard:
*
Send
**DELETE**
to
**https://{CAPIF_HOSTNAME}/api-invoker-management/v1/onboardedInvokers/{INVOKER_NOT_REGISTERED}**
**Execution Steps**
:
1.
Register Invoker at CCF
2.
Offboard Invoker at CCF
**Expected Result**
:
1.
Response to Offboard Request (DELETE) must contain:
...
...
@@ -259,6 +258,14 @@ At this documentation you will have all information and related files and exampl
*
NetApp was registered previously
*
NetApp was onboarded previously with {onboardingId} and {public_key_1}
**Execution Steps**
:
1.
Register Invoker at CCF
2.
Onboard Invoker at CCF
3.
Store signed Certificate
4.
Update Onboarding Information at CCF with new public key
5.
Update Onboarding Information at CCF with minor change
**Information of Test**
:
1.
Perform [Invoker Onboarding] with public_key_1.
...
...
@@ -277,14 +284,6 @@ At this documentation you will have all information and related files and exampl
*
"notificationDestination": "
*http://host.docker.internal:8086/netapp_new_callback*
",
*
Use new
**Invoker Certificate**
**Execution Steps**
:
1.
Register Invoker at CCF
2.
Onboard Invoker at CCF
3.
Store signed Certificate
4.
Update Onboarding Information at CCF with new public key
5.
Update Onboarding Information at CCF with minor change
**Expected Result**
:
1.
Response to Onboard request must accomplish:
...
...
@@ -302,7 +301,6 @@ At this documentation you will have all information and related files and exampl
[
invoker onboarding body
]:
./invoker_details_post_example.json
"API Invoker Request"
[
user_getauth_response_body_example
]:
../common_operations/user_getauth_response_body_example.json
"User GetAuth response Body Example"
[
put register body
]:
./invoker_details_put_example.json
"API Invoker Update Request"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment