apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.09k stars 1.11k forks source link

Config.java contains a lot of ConfigKeys that are no longer referred to #6819

Open DaanHoogland opened 2 years ago

DaanHoogland commented 2 years ago
ISSUE TYPE
COMPONENT NAME
Config
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
sanjeev98kumar commented 2 years ago

How do I check ConfigKeys that are no longer referred? I am looking for an issue for academic contribution. Will this be a good first issue?

DaanHoogland commented 2 years ago

It will be a good first contribution. You can best use a capable IDE and query for calls to the keys in the mentioned class Config.java. An alternative is using find/grep from a command line.

sanjeev98kumar commented 2 years ago

Could you please assign it to me?This task has 30℅ component for my subject and I need to send ss showing it has been assigned to me.Thanks

On Tue, Nov 8, 2022, 8:02 PM dahn @.***> wrote:

It will be a good first contribution. You can best use a capable IDE and query for calls to the keys in the mentioned class Config.java. An alternative is using find/grep from a command line.

— Reply to this email directly, view it on GitHub https://github.com/apache/cloudstack/issues/6819#issuecomment-1307314092, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3G47RLCHX4GV2WRTGSZFYTWHJP6NANCNFSM6AAAAAARCBUE3Y . You are receiving this because you commented.Message ID: @.***>

-- The information contained in this electronic communication is intended solely for the individual(s) or entity to which it is addressed. It may contain proprietary, confidential and/or legally privileged information. Any review, retransmission, dissemination, printing, copying or other use of, or taking any action in reliance on the contents of this information by person(s) or entities other than the intended recipient is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us by responding to this email or telephone and immediately and permanently delete all copies of this message and any attachments from your system(s). The contents of this message do not necessarily represent the views or policies of BITS Pilani.

sanjeev98kumar commented 2 years ago

@DaanHoogland Please assign me this issue as soon as possible.

sanjeev98kumar commented 1 year ago

@DaanHoogland what all confgkeys should i delete?

DaanHoogland commented 1 year ago

@sanjeev98kumar , you should check which ones are not referred anywhere in the code and delete those. Also the relevant entries in the config table should be removed.

sanjeev98kumar commented 1 year ago

@sanjeev98kumar , you should check which ones are not referred anywhere in the code and delete those. Also the relevant entries in the config table should be remove

please give me an example. and from where i can get code?