Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gn4 API client to 4.2.7 #718

Merged
merged 16 commits into from
Dec 11, 2023
Merged

Update gn4 API client to 4.2.7 #718

merged 16 commits into from
Dec 11, 2023

Conversation

fgravin
Copy link
Member

@fgravin fgravin commented Dec 9, 2023

Copy link
Contributor

github-actions bot commented Dec 9, 2023

Affected libs: api-repository, feature-catalog, feature-record, feature-router, feature-search, feature-map, feature-dataviz, feature-auth, common-domain, api-metadata-converter, feature-editor, ui-search, common-fixtures, ui-elements, ui-catalog, util-shared, ui-widgets, ui-inputs, ui-map, ui-dataviz, data-access-gn4,
Affected apps: datahub, metadata-editor, demo, webcomponents, search, map-viewer, datafeeder, metadata-converter, data-platform,

  • 🚀 Build and deploy storybook and demo on GitHub Pages
  • 📦 Build and push affected docker images

@coveralls
Copy link

coveralls commented Dec 9, 2023

Coverage Status

coverage: 82.953% (-0.9%) from 83.889%
when pulling 10f0755 on gn4-api-update
into 10efb71 on main.

Copy link
Collaborator

@jahow jahow left a comment

Choose a reason for hiding this comment

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

Thanks! it'd be better if there was no manual change required in there, is it because the openapi generator is not working correctly? Did you try updating it maybe? (theee's a new minor version available)

Also the e2e tests failure should be fixed before merging, it doesn't look like the usual flaky one.

import {
AssociatedRecordApiModel,
BatchEditParameterApiModel,
} from '../model/models'
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is that change necessary? Having manual changes in there is going to bite us later if we keep updating the client automatically.

Copy link
Member Author

Choose a reason for hiding this comment

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

I had 2 issues after the generation

  • AssociatedRecordApiModel was not imported in this file
  • a problem in the model here generated by types.

So I fixed them manually.
It could also be the open api spec.

@fgravin
Copy link
Member Author

fgravin commented Dec 11, 2023

Also the e2e tests failure should be fixed before merging, it doesn't look like the usual flaky one.

Fixed in the related PR 7d3e1e1

@fgravin
Copy link
Member Author

fgravin commented Dec 11, 2023

Fixed in the related PR 7d3e1e1

Dependency PR merged and code rebased.
Ready for merge into main after that the CI passes.

Copy link
Collaborator

@jahow jahow left a comment

Choose a reason for hiding this comment

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

thanks!

@fgravin fgravin merged commit 92348fa into main Dec 11, 2023
8 checks passed
@fgravin fgravin deleted the gn4-api-update branch December 11, 2023 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants