Description
After the migration to Docker Compose orchestration in PR #1178, several functions in components/clp-package-utils/clp_package_utils/general.py are no longer used and should be removed.
Confirmed Unused Functions
The following functions/classes have no callers outside their definition in general.py:
get_celery_connection_env_vars_list()
get_common_env_vars_list()
get_credential_env_vars_list()
CLPDockerMounts class
Additional Functions to Investigate
The following functions may also be unused but need verification:
is_container_running()
is_container_exited()
DockerMount class
DockerMountType enum
append_docker_port_settings_for_host_ips()
These were heavily used in the old start_clp.py but are likely obsolete now that Docker Compose handles orchestration.
Related
Description
After the migration to Docker Compose orchestration in PR #1178, several functions in
components/clp-package-utils/clp_package_utils/general.pyare no longer used and should be removed.Confirmed Unused Functions
The following functions/classes have no callers outside their definition in
general.py:get_celery_connection_env_vars_list()get_common_env_vars_list()get_credential_env_vars_list()CLPDockerMountsclassAdditional Functions to Investigate
The following functions may also be unused but need verification:
is_container_running()is_container_exited()DockerMountclassDockerMountTypeenumappend_docker_port_settings_for_host_ips()These were heavily used in the old
start_clp.pybut are likely obsolete now that Docker Compose handles orchestration.Related