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

[Choreo] Removal of unused internal service resource path named retrieve-api-artifacts and its usage #3639

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

slahirucd7
Copy link
Contributor

@slahirucd7 slahirucd7 commented Jan 22, 2025

Purpose

$subject
Relates with: https://github.com/wso2-enterprise/choreo/issues/31875

Issues

Fixes #

Automation tests

  • Unit tests added: Yes/No
  • Integration tests added: Yes/No

Tested environments

Not Tested


Maintainers: Check before merge

  • Assigned 'Type' label
  • Assigned the project
  • Validated respective github issues
  • Assigned milestone to the github issue(s)

@slahirucd7 slahirucd7 added Choreo go Pull requests that update Go code labels Jan 22, 2025
} else {
adapter.GetAPIs(c, nil, envs, sync.APIArtifactEndpoint, true, apiUUIDList, queryParamMap)
}
} else if conf.ControlPlane.DynamicEnvironments.Enabled {
Copy link
Contributor

Choose a reason for hiding this comment

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

We no longer need Dynamic Environments Enabled flag too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Config is used in multiple places. Since the issue -> https://github.com/wso2-enterprise/choreo/issues/31875
Is bit urgent shall we track removal of it with another task ?

image image

Choose a reason for hiding this comment

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

If we remove the code, wont the config get ignored or throw an error?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You mean the cp-overlay config right ?
I'll not throw an error. But we'll have to clean up the repos if we remove the config.

Copy link
Contributor

Choose a reason for hiding this comment

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

If we remove the code, wont the config get ignored or throw an error?

Ignored.
Since it is always TRUE (feature flag) we can think it's boolean true and remove unnecessary if blocks.

@slahirucd7
Copy link
Contributor Author

image

@slahirucd7 slahirucd7 closed this Feb 11, 2025
@slahirucd7 slahirucd7 reopened this Feb 11, 2025
@slahirucd7 slahirucd7 merged commit 1cf6dac into wso2:choreo Feb 12, 2025
5 checks passed
@choreo-cicd
Copy link

[] Dataplane(EastUS) cluster : dev-deployment-v2 : 20250213.5

@choreo-cicd
Copy link

[] Dataplane(NorthEU) cluster : dev-deployment-v2 : 20250213.5

@choreo-cicd
Copy link

[] : dev-deployment-v2 : 20250213.5

@choreo-cicd
Copy link

[succeeded] Controlplane cluster : stage-deployment-v2 : 20250214.1

@choreo-cicd
Copy link

[succeeded] Dataplane(NorthEU) cluster : stage-deployment-v2 : 20250214.1

@choreo-cicd
Copy link

[succeeded] Dataplane(EastUS) cluster : stage-deployment-v2 : 20250214.1

@choreo-cicd
Copy link

[succeeded] Dataplane(EastUS) cluster : stage-deployment-v2 : 20250214.2

@choreo-cicd
Copy link

[succeeded] Dataplane(NorthEU) cluster : prod-deployment-v2 : 20250214.2

@choreo-cicd
Copy link

[succeeded] Dataplane(CDP2-WU2) cluster : prod-deployment-v2 : 20250214.2

@choreo-cicd
Copy link

[succeeded] Dataplane(EastUS) cluster : prod-deployment-v2 : 20250214.2

@choreo-cicd
Copy link

[succeeded] Controlplane cluster : prod-deployment-v2 : 20250214.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants