Hi Pubudu, Any reason for subscribing to the default application? I think we should pass the application name as a parameter instead of subscribing to a default application.
On Mon, Sep 2, 2019 at 12:19 PM 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. > 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, Chamila Adhikarinayake Associate Technical Lead WSO2, Inc. Mobile - +94712346437 Email - [email protected] Blog - http://helpfromadhi.blogspot.com/
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
