Skip to content

feat: fetch api information from DRIFT and service_config.yaml#4567

Merged
sofisl merged 23 commits into
mainfrom
addServiceConfig
Oct 31, 2022
Merged

feat: fetch api information from DRIFT and service_config.yaml#4567
sofisl merged 23 commits into
mainfrom
addServiceConfig

Conversation

@sofisl

@sofisl sofisl commented Oct 12, 2022

Copy link
Copy Markdown
Contributor

Implements the design agreed upon in Design Doc: Providing API-specific information in owlbot-bootstrapper

Grabs the service_config.yaml file, and, temporarily, fills in some pieces of information from DRIFT.

Comment thread packages/owlbot-bootstrapper/package.json Outdated
Comment thread packages/owlbot-bootstrapper/common-container/fetch-api-info.ts Outdated
api_shortname: shortName,
display_name: '',
docs_root_url: '',
launch_stage: 'LAUNCH_STAGE_UNSPECIFIED' as ReleaseLevel,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does ReleaseLevel.LAUNCH_STAGE_UNSPECIFIED work?

Comment thread packages/owlbot-bootstrapper/common-container/fetch-api-info.ts
Comment thread packages/owlbot-bootstrapper/common-container/fetch-api-info.ts Outdated
Comment thread packages/owlbot-bootstrapper/common-container/fetch-api-info.ts Outdated
Comment thread packages/owlbot-bootstrapper/common-container/fetch-api-info.ts Outdated
Comment thread packages/owlbot-bootstrapper/common-container/fetch-api-info.ts Outdated
@sofisl sofisl requested a review from chingor13 October 13, 2022 22:28
@sofisl

sofisl commented Oct 14, 2022

Copy link
Copy Markdown
Contributor Author

Updated cl/481195940 as well.

Comment thread packages/owlbot-bootstrapper/common-container/fetch-api-info.ts Outdated
Comment thread packages/owlbot-bootstrapper/common-container/fetch-api-info.ts Outdated
@sofisl sofisl requested a review from chingor13 October 14, 2022 20:15
serviceConfig.api_short_name = driftData.api_shortname;
}

if (!serviceConfig?.github_label) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my understanding, github_label, api_shortname, documentation_uri, doc_tag_prefix are under publishing, not at the top level.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated accordingly; thank you!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants