This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git
commit 70476340331ae88b2483edb3a20ba45ebcfdd5b8 Author: Rohit Yadav <[email protected]> AuthorDate: Tue Oct 22 14:32:26 2019 +0530 api: fix sorting, checking of outstanding APIs to support Signed-off-by: Rohit Yadav <[email protected]> --- docs/api/apis.primate.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/api/apis.primate.sh b/docs/api/apis.primate.sh index 92bf6a6..ed43739 100644 --- a/docs/api/apis.primate.sh +++ b/docs/api/apis.primate.sh @@ -5,6 +5,10 @@ grep api -R config | sed "s/.*api: '//g" | sed "s/'.*//g" | grep -v \.js | sort grep store.getters.apis -R . | sed "s/' in.*//g" | sed "s/').*//g" | grep "'" | sed "s/.*'//g" | grep -v ']' >> apis.txt grep 'permission:\ \[' -R config | sed "s/.*permission: \[ '//g" | grep -v .js | sed "s/', '/\\n/g" | sed "s/'.*//g" >> apis.txt cat apis.txt | sort | uniq > apis.uniq +rm -f apis.txt mv apis.uniq ../docs/api/apis.txt cd ../docs/api -diff -Naur apis.old apis.txt | grep ^- | grep -v "^--" | sed 's/^-//g' | grep -v -i -e cisco -e nicira -e baremetal -e srx -e f5 -e brocade -e palo -e autoscale -e counter -e condition -e ucs -e netscaler -e bigswitch -e ovs -e globalloadbalancer -e opendaylight -e region -e quota >> apis.remaining +diff -Naur apis.old apis.txt | grep ^- | grep -v "^--" | sed 's/^-//g' | grep -v -i -e cisco -e nicira -e baremetal -e srx -e f5 -e brocade -e palo -e autoscale -e counter -e condition -e ucs -e netscaler -e bigswitch -e ovs -e globalloadbalancer -e opendaylight -e region -e quota | sort | uniq > apis.remaining + +echo "$(cat apis.txt | wc -l) APIs are supported by Primate" +echo "$(cat apis.remaining | wc -l) APIs are remaining"
