File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ grep api -R config | sed "s/.*api: '//g" | sed "s/'.*//g" | grep -v \.js | sort
55grep store.getters.apis -R . | sed " s/' in.*//g" | sed " s/').*//g" | grep " '" | sed " s/.*'//g" | grep -v ' ]' >> apis.txt
66grep ' permission:\ \[' -R config | sed " s/.*permission: \[ '//g" | grep -v .js | sed " s/', '/\\ n/g" | sed " s/'.*//g" >> apis.txt
77cat apis.txt | sort | uniq > apis.uniq
8+ rm -f apis.txt
89mv apis.uniq ../docs/api/apis.txt
910cd ../docs/api
10- 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
11+ 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
12+
13+ echo " $( cat apis.txt | wc -l) APIs are supported by Primate"
14+ echo " $( cat apis.remaining | wc -l) APIs are remaining"
You can’t perform that action at this time.
0 commit comments