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

Updates for new caduceus work #561

Merged
merged 5 commits into from
Oct 16, 2024
Merged

Conversation

maurafortino
Copy link
Contributor

What's Included:
-updated: ancla & webhook-schema which includes adding in the new validation functions
-added check for previous version in the routes (will we be getting rid of the v2 fix middleware?)

this does not include a new endpoint for kafka - have a couple of questions regarding the new endpoints

@maurafortino maurafortino self-assigned this Sep 5, 2024
Copy link

guardrails bot commented Sep 5, 2024

⚠️ We detected 3 security issues in this pull request:

Vulnerable Libraries (3)
Severity Details
High pkg:golang/github.com/xmidt-org/[email protected] upgrade to: > v0.1.1-0.20240718124820-b8c1ba1f19a9
High pkg:golang/go.uber.org/[email protected] upgrade to: > v1.22.1
High pkg:golang/github.com/xmidt-org/[email protected] upgrade to: > v0.3.13-0.20240829173225-b3ef5ded0677

More info on how to fix Vulnerable Libraries in Go.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

if err != nil {
fmt.Fprintf(os.Stderr, "Failed to initialize v2 endpoint middleware: %v\n", err)
return err
if in.PreviousVersion {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

are we getting rid of fixV2Middleware once new webhook and kafka updates are completed?
this right now is checking if it's v2 and if yes we use the fixv2middleware otherwise it's not used

@@ -63,6 +63,7 @@ cpuprofile
tr1d1um
.ignore
.vscode
.yaml
Copy link
Contributor Author

Choose a reason for hiding this comment

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

i added a new .yaml folder for myself for running tests with yaml file that has secrets in it so i don't accidentally push that file

Copy link
Contributor

Choose a reason for hiding this comment

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

can you use .dev/* instead?

Suggested change
.yaml

@maurafortino maurafortino merged commit 0d5d52c into feat/caduceus-updates Oct 16, 2024
2 of 3 checks passed
@maurafortino maurafortino deleted the kafka-endpoint branch October 16, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants