-
Notifications
You must be signed in to change notification settings - Fork 5
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 applicationprofile type #145
Conversation
392bea9
to
347f0f8
Compare
Signed-off-by: Matthias Bertschy <[email protected]>
347f0f8
to
e7e846d
Compare
Signed-off-by: Matthias Bertschy <[email protected]>
PR Analysis
How to use
|
Summary:
|
Signed-off-by: Matthias Bertschy <[email protected]>
549631b
to
d9c6b09
Compare
Summary:
|
603ab05
to
80e1ab7
Compare
Summary:
|
8f0b4a0
to
d94a5b7
Compare
Summary:
|
d94a5b7
to
9fab199
Compare
@Daniel-GrunbergerCA ready to review |
Signed-off-by: Matthias Bertschy <[email protected]>
9fab199
to
9a96516
Compare
Summary:
|
PR Type:
Enhancement
PR Description:
This PR introduces several enhancements to the Application Profile Manager:
PR Main Files Walkthrough:
files:
main.go
: The cluster name is now passed as an argument when creating the Application Profile Manager.pkg/applicationprofilemanager/v1/applicationprofile_manager.go
: The Application Profile Manager structure now includes a cluster name. The CreateApplicationProfileManager function has been updated to accept the cluster name as an argument. Additional logic has been added to calculate and validate the WLID, find the container type and index, and save the application profile accordingly.pkg/applicationprofilemanager/v1/applicationprofile_manager_test.go
: The test for the Application Profile Manager has been updated to pass the cluster name as an argument when creating the Application Profile Manager.pkg/k8sclient/k8sclient_mock.go
: A new container with the name "log" and image "fluentbit" has been added to the mock workload.pkg/storage/storage_mock.go
: The mock Application Profile now includes a list of containers, each with its own capabilities.pkg/utils/utils.go
: The WatchedContainerData structure now includes a container type and index. New functions have been added to get and insert an Application Profile Container based on the container type and index.go.mod
: The version of the storage package has been updated from v0.0.33 to v0.0.38.