On Mon, Sep 2, 2019 at 12:25 PM Uvindra Dias Jayasinha <[email protected]> wrote:
> > > On Mon, 2 Sep 2019 at 12:19, Pubudu Gunatilaka <[email protected]> wrote: > >> Hi, >> >> With the latest improvements to the APIMCLI, users are able to publish >> the API in published state and it allows Store users to discover the API in >> the developer portal. Basically, to invoke the API, he has to obtain an >> access token and has to follow the following approach. >> >> 1. Log in to the Store >> 2. Subscribe to an API >> 3. Generate an access token >> >> For any user, he has to use the above approach or use the REST APIs and >> generate the token. >> >> We have improved the CI/CD pipeline approach with APIMCLI and we can >> further enhance this by allowing APIMCLI to generate an access token. So >> the CI/CD pipeline can be improved to run a test suite with the generated >> access token from the APIMCLI. >> >> Suggested CLI command: >> >> *apimcli get keys -n TwitterAPI -v 1.0.0 -e dev --provider admin* >> >> This command does the following. >> >> 1. Subscribe the given API to the Default Application if it not already >> subscribed. >> > > I think better to mandate the application that is subscribing to the API > as an argument. We cant always assume that the Default Application will > exist in the env. > Can we give the option to provide an application name instead of mandating it? If the application name is not provided only we subscribe to the default application. If the default application does not exist, can't we create an application with a default value for this purpose? > > 2. Generate an access token. >> >> Output: *JWT token* >> >> From the next release onwards, we will be having self-contained access >> tokens (JWT) for the default application as it will be the first option. >> >> Your suggestions are appreciated. >> >> Thank you! >> -- >> *Pubudu Gunatilaka* | Associate Technical Lead | WSO2 Inc. >> (m) +94774078049 | (w) +94112145345 | (e) [email protected] >> <http://wso2.com/signature> >> >> > > -- > Regards, > Uvindra > > Mobile: 777733962 > -- *Dinusha Dissanayake* | Senior Software Engineer | WSO2 Inc (m) +94 71 293 9439 | (e) [email protected] <https://wso2.com/signature>
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
