gcloud beta service-management deploy ...--format=jsongcloud beta service-management configs list --
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/0570d550-caa6-4358-9332-e8242883ca08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I am also interested in programmatic access to the version string.
On Wed, Mar 1, 2017 at 9:43 AM, bbassingthwaite <bbassin...@vendasta.com> wrote:
Hi,We are trying to automate the endpoints deployment so a person doesn't have to manually pull the endpoints version from the output. I haven't found a great way to do it without having to manually parse the stdout from the gcloud command.When we are running:gcloud beta service-management deploy ...
I would expect that I should be able to use--format=json
which would allow me to get json output which would contain the endpoints version somewhere which can easily be parsed. This isn't the case and it ignores the json format flag completely. I think this is a bug with the command and I hope it can be fixed to output json.Thegcloud beta service-management configs list
does output json when specified and I could use the latest one returned but it's not ideal.Has anyone else automated this and how have they done it?Thanks,Braden
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsubscri...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/0570d550-caa6-4358-9332-e8242883ca08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Lukas Karlsson, Cloud Architect / Developer Advocate
Broad Institute of MIT and Harvard
75 Ames Street, 11129, Cambridge, Massachusetts 02142
karl...@broadinstitute.org, +1.6177147142
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/CADT05SQ3PAyw8VhieXjDiRY6wHiA7U4J-W%3DFEFus%2Bgsu-rsALQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/CADT05SQ3PAyw8VhieXjDiRY6wHiA7U4J-W%3DFEFus%2Bgsu-rsALQ%40mail.gmail.com.
----DC
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsubscri...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/CAJ6Lt08xkh1PYMej7Lg65-2nAkp6ZbCim%3D12Aa6g6_6U2VSVig%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/CAGPFb9js19tMzKng8Ls2E7JxmtJp%3D7LMR9wW_-hZ5L-_z1ZaxA%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
Yes, thanks for the report! The reason why the --format flag was ignored in the deploy command was that it applied only to returned "resources." For example, when you describe a service, it returns a service-like resource to the formatter, which honors the user's input. As of the most recent release of gcloud, the deploy command had only been writing a log of the newly-uploaded service config, rather than formatting a resource object.I've now altered the command to return a resource when the user specifies a format. The changes will be getting some code reviews from our team soon. This improvement should come in a public gcloud release next week!Thanks again,Brad
On Wed, Mar 1, 2017 at 10:24 AM, 'Dan Ciruli' via Google Cloud Endpoints <google-clou...@googlegroups.com> wrote:
Thanks for the report. I have filed a bug and will keep the group posted.
On Wed, Mar 1, 2017 at 6:51 AM, Lukas Karlsson <karl...@broadinstitute.org> wrote:
I am also interested in programmatic access to the version string.
On Wed, Mar 1, 2017 at 9:43 AM, bbassingthwaite <bbassin...@vendasta.com> wrote:
Hi,We are trying to automate the endpoints deployment so a person doesn't have to manually pull the endpoints version from the output. I haven't found a great way to do it without having to manually parse the stdout from the gcloud command.When we are running:gcloud beta service-management deploy ...
I would expect that I should be able to use--format=json
which would allow me to get json output which would contain the endpoints version somewhere which can easily be parsed. This isn't the case and it ignores the json format flag completely. I think this is a bug with the command and I hope it can be fixed to output json.Thegcloud beta service-management configs list
does output json when specified and I could use the latest one returned but it's not ideal.Has anyone else automated this and how have they done it?Thanks,Braden
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/0570d550-caa6-4358-9332-e8242883ca08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Lukas Karlsson, Cloud Architect / Developer Advocate
Broad Institute of MIT and Harvard
75 Ames Street, 11129, Cambridge, Massachusetts 02142
karl...@broadinstitute.org, +1.6177147142
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/CADT05SQ3PAyw8VhieXjDiRY6wHiA7U4J-W%3DFEFus%2Bgsu-rsALQ%40mail.gmail.com.
--DC
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
gcloud service-management versions list --service=YOUR-PROJECT-ID.appspot.comgcloud service-management configs list --service=YOUR-PROJECT-ID.appspot.com--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/ac8f8ef2-2471-4087-a220-b4c3f576687b%40googlegroups.com.