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

[CGCP] [Milestone] [Code Cleanup] All services require code cleanup in certain places #30

Open
1 of 5 tasks
chinmoy12c opened this issue Apr 26, 2023 · 1 comment
Open
1 of 5 tasks

Comments

@chinmoy12c
Copy link
Member

chinmoy12c commented Apr 26, 2023

This is a part of the milestones: samagra-comms/uci-apis#159

There are places where a proper code paradigm is not followed, such as dependency injection, and certain places where the components are strongly coupled, making testing them difficult. This ticket tracks all these code changes that are required, individual tickets should be filed for each of these issues. This issue will be a long running thread and will be updated as and when we find code that needs to be cleaned up.

  • NewNetcoreService needs to be fetched using dependency injection instead of using getInstance and actually creating an instance using the new keyword.
  • All the services using NetcoreWhatsapp currently manually set some of the fields like FileCdn etc. We need to autoconfigure those.
  • Currently, the RedisCache change to remove @AllArgsConstructor was rolled back due to null pointer exceptions. We need to pinpoint the point of failure and fix this.
  • Return BadRequestError when both botId and userId are not provided in the history API.
  • Handle cases in which start date and end date are not provided in history API.

Product Name

UCI

Organization Name:

Samagra

Domain

Communications

Tech Skills Needed:

Java, SpringBoot

Mentor(s)

@chinmoy12c

Complexity

Medium

Category

Code Cleanup

Sub Category

API, Backend, Technical Debt.

@chinmoy12c chinmoy12c self-assigned this Apr 26, 2023
@chinmoy12c chinmoy12c changed the title [Code Cleanup] All services require code cleanup in certain places [CGCP] [Code Cleanup] All services require code cleanup in certain places Jun 20, 2023
@tyagi31
Copy link

tyagi31 commented Jun 23, 2023

Hello Sir, My name is Yatharth Tyagi, I have gone through the project description and found it interesting. I want to contribute to this project. I'm compatible with the mentioned tech stack. Looking for your guidance. Thank you.

@chinmoy12c chinmoy12c changed the title [CGCP] [Code Cleanup] All services require code cleanup in certain places [CGCP] [Milestone] [Code Cleanup] All services require code cleanup in certain places Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants