vmware-archive / photon-controller

Photon Controller
Other
27 stars 4 forks source link

CLI is missing 'photon deployment show' #119

Open PatrykWo opened 7 years ago

PatrykWo commented 7 years ago

According to the command 'photon deployment show' in CLI should return more information about the deployment. Unfortunately there is no such parameter like show in photon deployment. On purpose or there is error in the doc ?

BTW: I'm able to get those information through API: v1/deployments

mwest44 commented 7 years ago

We have been refactoring the API as part of the 1.2 release. The documentation may not yet reflect every change. We are keeping the CLI help up to date, and you can also see the latest API changes through Swagger at http://LoadBalancerIP/api Deployment has been deprecated. You can find most of the information in photon system info - though it is not yet complete.

PatrykWo commented 7 years ago

Thx, API changes, you say. Just discover that I can't post for a token with curl. https://192.9.2.42/openidconnect/token {"code":"NotFound","errorCode":1408,"data":{}}

Using CLI and auth option is fine.

fjudith commented 7 years ago

photon system info looks very similar from the output.