diff --git a/doc/images/flows/02_Creation_of_user.png b/doc/images/flows/02_Creation_of_user.png new file mode 100644 index 0000000000000000000000000000000000000000..f827b86ffa63444d0a2f67d542f271187b380277 Binary files /dev/null and b/doc/images/flows/02_Creation_of_user.png differ diff --git a/doc/images/flows/02_Register_of_User.png b/doc/images/flows/02_Register_of_User.png deleted file mode 100644 index ab8096c7bccade84ed3defead6f678114582d8ca..0000000000000000000000000000000000000000 Binary files a/doc/images/flows/02_Register_of_User.png and /dev/null differ diff --git a/doc/testing/postman/README.md b/doc/testing/postman/README.md index 781627f4cca0cab9e1c276832ee6dd6235298c80..e73dab64c1b0c63e111136e26bda66f66ed60d15 100644 --- a/doc/testing/postman/README.md +++ b/doc/testing/postman/README.md @@ -43,27 +43,29 @@ CAPIF_HOSTNAME capifcore ## CAPIF Flows Once the first steps have been taken, we can now use Postman requests. These requests are numbered in the order that must be followed to obtain everything necessary from CAPIF. -### Creation of an user +### Creation of User by Admin -The first step would be for an administrator to create a user with which a provider and an invoker will be created. +The first step would be for an administrator to create a user with which a provider and an invoker will be created. To do this, the admin must log in to obtain the token needed in admin requests. #### **01-Login_admin**  -#### **02-Register of User** +#### **02-Creation of User** - + ### Publication of an API +The next step is to register a provider using the user created by the administrator in order to publish an API. + #### **03-getauth_provider**  #### **04-onboard_provider** - + At this point we move on to using certificate authentication in CAPIF. In Postman it is necessary to add the certificates manually and using more than one certificate for the same host as we do in CAPIF complicates things. For this reason, we use the script to overwrite a certificate and a key when it is necessary to have a specific one. @@ -91,6 +93,8 @@ With this the provider part would be finished. ### Calling the API +Finally, we will create an invoker with the user given by the administrator to be able to use the published api. + #### **06-getauth_invoker** 