Skip to content

Programmatically Consumable Metadata about clients #3350

Closed

Description

@elharo

Cloud Tools for Java has been maintaining a JSON file with info about the client libraries that we can consume in our products:

https://github.com/GoogleCloudPlatform/appengine-plugins-core/blob/master/src/main/resources/com/google/cloud/tools/libraries/libraries.json

We also have Java code for consuming and validating this file.

Any interest in moving this into google-cloud-java so everyone can use it and it stays in sync with releases?

Activity

  1. added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Jun 6, 2018
  2. andreamlin commented on Jun 6, 2018

    @andreamlin
    Contributor

    Are the existing pom.xmls sufficient?

  3. garrettjonesgoogle commented on Jun 6, 2018

    @garrettjonesgoogle
    Contributor

    We definitely wouldn't want to manually maintain that - it looks like it reflects data that is present in various places:

    1. versions.txt (maven coordinates)
    2. Derivable from versions in versions.txt (launchStage)
    3. service config (name, serviceName)
    4. README.md files (transport)
    5. ??? (serviceRoles)

    If your concern is the effort to manually maintain it yourself, then I can definitely see why you want to figure out an alternative. Maybe we should figure out how to make all of the datapoints programmatically accessible, so that it is easy to write a script to generate this. It wouldn't necessarily have to live in google-cloud-java; another repo could be set up to automatically regenerate when a new version of google-cloud-java is released.

    TL;DR I suggest we step back and design a solution instead of just moving it.

  4. elharo commented on Jun 6, 2018

    @elharo
    ContributorAuthor

    We're not wedded to the current format. We just need some reasonable means of feeding this info into out tools.

  5. added
    type: docsImprovement to the documentation for an API.
    and removed
    priority: p2Moderately-important priority. Fix may not be included in next release.
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    type: docsImprovement to the documentation for an API.
    on Oct 9, 2018
  6. sduskis commented on Jun 11, 2019

    @sduskis
    Contributor

    This is something to work on offline if this is still relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions