-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: remove arrange #221
feat: remove arrange #221
Conversation
6fd3a42
to
7ef3c1b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine, but we should do another issue/PR to remove goschalt
completely. bascule
should really just take a dependency on a bascule.Config
object, and unfold itself accordingly. The application would be responsible for obtaining a bascule.Config
in whatever way it likes, whether goschtalt
or some other means.
"everything included": basicAuth + bearerAuth + ` | ||
capabilities: | ||
type: "enforce" | ||
prefix: "test" | ||
acceptAllMethod: "all" | ||
endpointBuckets: | ||
- "aaaa\\b" | ||
- "bbbn/.*\\b" | ||
`, | ||
"capabilities monitoring": basicAuth + bearerAuth + ` | ||
capabilities: | ||
type: "monitor" | ||
prefix: "test" | ||
acceptAllMethod: "all" | ||
endpointBuckets: | ||
- "aaaa\\b" | ||
- "bbbn/.*\\b" | ||
`, | ||
"no capability check": basicAuth + bearerAuth, | ||
"basic only": basicAuth, | ||
"bearer only": bearerAuth, | ||
"empty config": ``, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@johnabass do we still want to support all these use cases?
89bba11
to
c7f9151
Compare
Codecov Report
@@ Coverage Diff @@
## main #221 +/- ##
==========================================
- Coverage 85.68% 85.56% -0.13%
==========================================
Files 36 36
Lines 1488 1482 -6
==========================================
- Hits 1275 1268 -7
- Misses 195 196 +1
Partials 18 18
Flags with carried forward coverage won't be shown. Click here to find out more.
|
feat: remove arrange