-
Notifications
You must be signed in to change notification settings - Fork 6
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
Http object type mb #146
Http object type mb #146
Conversation
Signed-off-by: Matthias Bertschy <[email protected]>
Signed-off-by: Matthias Bertschy <[email protected]>
Signed-off-by: Matthias Bertschy <[email protected]>
1c77ebd
to
a499d26
Compare
Summary:
|
Summary:
|
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.
few nits for the moment... I have to take some time to play with the algorith
Summary:
|
963630c
to
259a619
Compare
259a619
to
59db408
Compare
Summary:
|
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.
let's merge and address these few comments after
return existing | ||
} | ||
|
||
func convertPointerToValueSlice(m []*types.HTTPEndpoint) []types.HTTPEndpoint { |
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.
I think you can refactor without this, let's leave it for when you generalize
@@ -49,7 +49,7 @@ func (a ApplicationProfileProcessor) PreSave(object runtime.Object) error { | |||
} | |||
|
|||
func deflateApplicationProfileContainer(container softwarecomposition.ApplicationProfileContainer) softwarecomposition.ApplicationProfileContainer { | |||
endpoints, err := dynamicpathdetector.AnalyzeEndpoints(&container.Endpoints, dynamicpathdetector.NewPathAnalyzer()) | |||
endpoints, err := dynamicpathdetector.AnalyzeEndpoints(&container.Endpoints, dynamicpathdetector.NewPathAnalyzer(100)) |
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.
later: use constant
@afek854 use squash and merge pls |
* WIP: http endpoints types * add generated code Signed-off-by: Matthias Bertschy <[email protected]> * WIP: added NetworkDirection * bump code generation script Signed-off-by: Matthias Bertschy <[email protected]> * WIP: Fixed generation script * WIP: Removed HTTPEndpoint deepcopy * WIP: Removed HTTPEndpoint from softwarecomposition client * WIP: Fixed generated files * WIP: Fixed types.go * WIP: Removed NetworkDirection * WIP: Removed logs * WIP: Move to string * WIP: Convert to string * WIP: Added consts * WIP: Multiple header values * WIP: Added Path & URL analyzing * WIP: removed debug logs * WIP: Handle duplicates url's * Http object type * add profobufs and fixes Signed-off-by: Matthias Bertschy <[email protected]> * WIP: Fixed typos & added benchmark tests * Added coverage & benchmark tests * WIP: Fixed bugs due tests * WIP: Added extra and tests * WIP: Added tests for extra * WIP: Removed Extra field * WIP: Code regeneration * WIP: Remove omitempty for bool valuie * WIP: Headers into RawMessage * WIP: Added GetHeaders * WIP: tidy * Removed typo & change log level * Added tests for endpoints * WIP: Added comment * Fixed application profile tests --------- Signed-off-by: Matthias Bertschy <[email protected]> Co-authored-by: Matthias Bertschy <[email protected]>
Sorry, we do not accept changes directly against this repository. Please see
CONTRIBUTING.md for information on where and how to contribute instead.