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

Openapi CRD #496

Merged
merged 32 commits into from
Oct 30, 2020
Merged

Openapi CRD #496

merged 32 commits into from
Oct 30, 2020

Conversation

eguzki
Copy link
Member

@eguzki eguzki commented Oct 19, 2020

CRD (and controller) holding OAS3 reference (configmap or URL) as source of truth for 3scale Product and 3scale Backend configuration.

TODO:

  • Doc
  • Unittests
  • Custom private base URL
  • Openapi Status with relevant info
  • Prefix matching option
  • private api security options
  • OAS from URL

Fixes #119

@eguzki eguzki requested a review from miguelsorianod October 19, 2020 16:17
@eguzki eguzki force-pushed the openapi-controller branch 2 times, most recently from 286cd7e to e45cabc Compare October 21, 2020 17:20
@eguzki
Copy link
Member Author

eguzki commented Oct 21, 2020

Ready for initial review. @miguelsorianod

Missing only small things and unittests

@eguzki eguzki force-pushed the openapi-controller branch 4 times, most recently from a88edf6 to 4e8e05b Compare October 24, 2020 16:26
@eguzki eguzki force-pushed the openapi-controller branch from 8fa96cb to d95be0c Compare October 27, 2020 16:05
@eguzki eguzki marked this pull request as ready for review October 27, 2020 16:05
@eguzki
Copy link
Member Author

eguzki commented Oct 27, 2020

Unittests left as tech debt as coming soon upgrade of the operator-sdk version would require lots of refactors

Copy link
Contributor

@miguelsorianod miguelsorianod left a comment

Choose a reason for hiding this comment

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

I left some feedback and some questions to better understand the motivation of some implementation.

Looks good 👍

@eguzki eguzki assigned miguelsorianod and unassigned eguzki Oct 29, 2020
Copy link
Contributor

@miguelsorianod miguelsorianod left a comment

Choose a reason for hiding this comment

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

This looks good to me.

There's some comments but they are not blocking to me so up to you if you want to change something or not

@codeclimate
Copy link

codeclimate bot commented Oct 30, 2020

Code Climate has analyzed commit 46b1b81 and detected 54 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 12
Duplication 13
Style 29

View more on Code Climate.

@eguzki eguzki assigned miguelsorianod and unassigned eguzki Oct 30, 2020
@miguelsorianod miguelsorianod merged commit e72f2c7 into master Oct 30, 2020
@miguelsorianod miguelsorianod deleted the openapi-controller branch October 30, 2020 15:30
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.

OpenAPI Support & Discovery
2 participants