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

Hcmpre 658 #3082

Open
wants to merge 18 commits into
base: unified-env-lts
Choose a base branch
from
Open

Hcmpre 658 #3082

wants to merge 18 commits into from

Conversation

palak-egov
Copy link
Contributor

@palak-egov palak-egov commented Sep 25, 2024

Summary by CodeRabbit

  • New Features

    • Added new environment variables for improved service configuration: SERVER_SERVLET_CONTEXT_PATH, EGOV_HRMS_HOST, and EGOV_PROJECT_FACTORY_HOST.
    • Introduced a new context path for the health service and updated health check paths.
  • Changes

    • Renamed resource-estimation-service to resource-generator, including updates to labels and endpoints.
    • Updated service URLs across various environments for better accessibility.
  • Bug Fixes

    • Removed deprecated environment variable NOT_CREATE_USER_IF_ALREADY_THERE to streamline configuration.

Copy link

coderabbitai bot commented Sep 25, 2024

Walkthrough

The pull request introduces several modifications across various Helm chart configurations. Key changes include the addition of new environment variables, updates to existing ones, and renaming of services to reflect a more coherent naming convention. Notably, the context paths for several services have been standardized, and health check endpoints have been adjusted. These changes aim to enhance the configurability and clarity of the Helm charts used in deployment.

Changes

Files Change Summary
deploy-as-code/helm/charts/core-services/mdms-v2/values.yaml Added SERVER_SERVLET_CONTEXT_PATH and updated SERVER_CONTEXT_PATH to use a templated value.
deploy-as-code/helm/charts/health-services/health-mdms-v2/values.yaml Updated ingress context, health check paths, and environment variables to use templated values.
deploy-as-code/helm/charts/health-services/plan-service/values.yaml Added EGOV_HRMS_HOST and EGOV_PROJECT_FACTORY_HOST environment variables, referencing a ConfigMap.
deploy-as-code/helm/charts/health-services/project-factory/values.yaml Removed NOT_CREATE_USER_IF_ALREADY_THERE environment variable and adjusted indentation of USER_DEFAULT_PASSWORD.
deploy-as-code/helm/charts/health-services/resource-estimation-service/Chart.yaml Changed chart name from resource-estimation-service to resource-generator.
deploy-as-code/helm/charts/health-services/resource-estimation-service/values.yaml Renamed application to resource-generator, updating labels, image repository, ingress context, and health check paths accordingly.
deploy-as-code/helm/charts/urban/pgr-services/values.yaml Added new environment variable EGOV_HRMS_SEARCH_ENDPOINT.
deploy-as-code/helm/environments/sanitation-uat.yaml Updated service URL for egov-mdms-service.
deploy-as-code/helm/environments/unified-health-dev.yaml Renamed service from resource-estimation-service to resource-generator.
deploy-as-code/helm/environments/unified-health-qa.yaml Updated keys and endpoints for plan-service and resource-generator, reflecting changes in service names and endpoints.
deploy-as-code/helm/environments/unified-health-uat.yaml Updated endpoint for egov-mdms-service, added context path and ingress context, modified search endpoints, and renamed resource-estimation-service to resource-generator.
deploy-as-code/helm/environments/unified-urban-uat.yaml Updated URL for egov-mdms-service.

Possibly related PRs

  • Fixed staging Ingress #3030: The changes in the values.yaml file for the health-mdms-v2 Helm chart also involve updates to the SERVER_CONTEXT_PATH and SERVER_SERVLET_CONTEXT_PATH environment variables, similar to the modifications made in the mdms-v2 Helm chart's values.yaml.

🐰 In the meadow, changes bloom,
New paths and names, dispelling gloom.
Services renamed, all in a row,
Configs refined, watch them glow!
With each new variable, a hop and a cheer,
Our charts are now better, oh dear! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@palak-egov
Copy link
Contributor Author

@coderabbitai review

Copy link

coderabbitai bot commented Sep 25, 2024

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Outside diff range and nitpick comments (12)
deploy-as-code/helm/charts/core-services/mdms-v2/values.yaml (1)

40-42: Remove trailing spaces

There are trailing spaces at the end of lines 40 and 42. While these don't affect functionality, it's a good practice to remove them for consistency and cleanliness.

Apply this diff to remove the trailing spaces:

-    value: {{ .Values.contextPath | default "mdms-v2" }} 
+    value: {{ .Values.contextPath | default "mdms-v2" }}
 - name: SERVER_SERVLET_CONTEXT_PATH
-    value: {{ .Values.contextPath | default "mdms-v2" }} 
+    value: {{ .Values.contextPath | default "mdms-v2" }}
🧰 Tools
yamllint

[error] 40-40: trailing spaces

(trailing-spaces)


[error] 42-42: trailing spaces

(trailing-spaces)

deploy-as-code/helm/charts/health-services/health-mdms-v2/values.yaml (2)

43-45: Approve environment variable updates and suggest minor improvements.

The change to use a templated value for SERVER_CONTEXT_PATH and SERVER_SERVLET_CONTEXT_PATH enhances flexibility in configuration. This is consistent with the ingress context change.

Please apply the following improvements:

  1. Remove trailing spaces at the end of lines 43 and 45.
  2. Consider updating any relevant documentation to reflect this new configurable behavior.

Here's the suggested change:

  - name: SERVER_CONTEXT_PATH
-    value: {{ .Values.contextPath | default "mdms-v2" }} 
+    value: {{ .Values.contextPath | default "mdms-v2" }}
  - name: SERVER_SERVLET_CONTEXT_PATH
-    value: {{ .Values.contextPath | default "mdms-v2" }} 
+    value: {{ .Values.contextPath | default "mdms-v2" }}
🧰 Tools
yamllint

[error] 43-43: trailing spaces

(trailing-spaces)


[error] 45-45: trailing spaces

(trailing-spaces)


Line range hint 13-45: Summary of changes and testing recommendation.

The changes in this file consistently update the context path from "egov-mdms-service" to "mdms-v2", simplify health check paths, and introduce configurable context paths in environment variables. These modifications appear to be part of a broader effort to standardize and enhance the service's configurability.

Given the scope of these changes, I recommend:

  1. Thoroughly test the service deployment and accessibility with these new configurations.
  2. Verify that all dependent services or clients are updated to use the new context path.
  3. Update any documentation or deployment guides to reflect these changes.
  4. Consider creating or updating integration tests to ensure the new configurations work as expected in various scenarios.
deploy-as-code/helm/charts/health-services/plan-service/values.yaml (1)

68-77: LGTM! Consider adding comments for clarity.

The addition of EGOV_HRMS_HOST and EGOV_PROJECT_FACTORY_HOST environment variables is well-structured and follows the existing pattern of using ConfigMap for service host values. This approach enhances the configurability of the plan-service.

Consider adding brief comments above these new variables to explain their purpose:

  # Host for HRMS service
  - name: EGOV_HRMS_HOST
    valueFrom:
      configMapKeyRef:
        name: egov-service-host
        key: health-hrms
  # Host for Project Factory service
  - name: EGOV_PROJECT_FACTORY_HOST
    valueFrom:
      configMapKeyRef:
        name: egov-service-host
        key: project-factory

This will help other developers understand the purpose of these new service integrations.

deploy-as-code/helm/charts/health-services/resource-estimation-service/values.yaml (1)

1-1: Consider updating the directory name.

While the contents of the file have been consistently updated to reflect the new name "resource-generator", the directory name in the file path still contains the old name "resource-estimation-service". Consider updating the directory name to maintain consistency.

deploy-as-code/helm/charts/urban/pgr-services/values.yaml (1)

144-145: LGTM! Consider adding a comment for clarity.

The new environment variable EGOV_HRMS_SEARCH_ENDPOINT is correctly formatted and placed. It follows the existing naming conventions and appears to be a valid addition to the configuration.

For improved clarity, consider adding a brief comment above this variable to explain its purpose, similar to other variables in the file. For example:

  # HRMS employee search endpoint
  - name: EGOV_HRMS_SEARCH_ENDPOINT
    value: "/health-hrms/employees/_search"

This would help other developers understand the purpose of this endpoint more quickly.

deploy-as-code/helm/charts/health-services/project-factory/values.yaml (1)

Line range hint 1-235: Summary of changes and potential impact

The main change in this configuration file is the removal of the NOT_CREATE_USER_IF_ALREADY_THERE environment variable. This modification could potentially affect the user creation behavior in the project-factory service.

Consider the following points:

  1. User Creation Logic: Ensure that the removal of this variable aligns with the intended user creation behavior. If the service should now always create users regardless of their existence, make sure this is the desired outcome.

  2. Documentation: Update any relevant documentation to reflect this change in behavior.

  3. Dependent Services: If any other services or components rely on the previous user creation behavior, they may need to be updated accordingly.

  4. Testing: Thoroughly test the user creation process to ensure it behaves as expected after this change.

  5. Monitoring: Consider adding or updating monitoring and logging to track any potential issues related to user creation that may arise from this change.

These considerations will help maintain the consistency and reliability of the project-factory service within the larger system architecture.

🧰 Tools
yamllint

[error] 233-233: trailing spaces

(trailing-spaces)


[error] 238-238: trailing spaces

(trailing-spaces)

deploy-as-code/helm/environments/sanitation-uat.yaml (2)

Line range hint 1-1006: Suggest review of service URL consistency

While reviewing the configuration, I noticed that there's an opportunity to improve the consistency of service URL patterns across different services. For example, some services use subdomain-based URLs (like http://egov-workflow.egov:8080/), while others use path-based URLs (like http://collection-services.egov:8080/).

Consider reviewing and standardizing the URL patterns for all services to improve consistency and maintainability. This could involve:

  1. Deciding on a standard format (e.g., always using subdomains or always using paths).
  2. Updating all service URLs to follow this standard.
  3. Ensuring that any changes are reflected in the actual service configurations and DNS settings.

Here's a script to help identify the different URL patterns currently in use:

#!/bin/bash
# Description: Analyze and categorize service URL patterns

echo "Service URL patterns:"
rg "http://" --type yaml | grep -v "#" | sort | uniq -c | sort -nr

Review the output of this script to identify inconsistencies and plan your standardization effort.


Line range hint 1-1006: Address potential security concerns in configuration

During the review, I noticed that there are several instances of potentially sensitive information exposed in the configuration file. This includes URLs, credentials, and other configuration details that might pose a security risk if the file is accessed by unauthorized parties.

To improve the security of your configuration:

  1. Consider using Kubernetes Secrets or a secure vault solution (e.g., HashiCorp Vault) to store sensitive information like credentials and API keys.
  2. Use environment variables or external configuration management tools to inject sensitive values at runtime, rather than storing them in the Helm chart.
  3. Implement proper access controls and encryption for your configuration files and repositories.

Here's a script to help identify potentially sensitive information in the configuration:

#!/bin/bash
# Description: Scan for potentially sensitive information in the configuration

echo "Potential sensitive information:"
rg -i "password|secret|key|token|credential" --type yaml

echo "URLs that might contain sensitive information:"
rg "http://.*:.*@" --type yaml

Review the output of this script and consider how you can better secure this information in your configuration management process.

deploy-as-code/helm/environments/unified-health-uat.yaml (1)

225-227: Configuration for health-mdms-v2 looks good, minor indentation fix needed.

The addition of the context path and ingress configuration for health-mdms-v2 is appropriate and aligns with the expected changes.

There's a minor indentation issue on line 227. Please adjust the indentation to match the other lines in this block. Here's the suggested fix:

health-mdms-v2:
  memory_limits: 512Mi
  contextPath: "/egov-mdms-service"
  ingress:
-    context: "egov-mdms-service"
+     context: "egov-mdms-service"
🧰 Tools
yamllint

[warning] 227-227: wrong indentation: expected 5 but found 4

(indentation)

deploy-as-code/helm/environments/unified-health-qa.yaml (1)

577-578: Configuration update for plan-service looks good, but fix indentation.

The update to use the v2 version of the MDMS service for the plan-service is appropriate. This change aligns with the modernization of the MDMS system.

However, there's a minor indentation issue. Please adjust the indentation to match the YAML structure:

plan-service:
-  egov-mdms-service-host-key: 'mdms-service-v2'
-  egov-mdms-service-endpoint-key: "/mdms-v2/v1/_search"
+   egov-mdms-service-host-key: 'mdms-service-v2'
+   egov-mdms-service-endpoint-key: "/mdms-v2/v1/_search"
🧰 Tools
yamllint

[warning] 577-577: wrong indentation: expected 3 but found 2

(indentation)

deploy-as-code/helm/environments/unified-uat.yaml (1)

610-615: LGTM! Minor indentation fix needed.

The changes to the mdms-v2 service configuration look good. The context path, ingress configuration, and health check paths are consistent and appropriate for the MDMS v2 service. However, there's a minor indentation issue that should be fixed.

Please adjust the indentation of the ingress and healthChecks keys to match the other keys in the mdms-v2 configuration. Apply this diff to fix the indentation:

 mdms-v2:
   replicas: 1
   memory_limits: 768Mi
   heap: '-Xmx768m -Xms512m'
   contextPath: "/egov-mdms-service"
-  ingress:
-    context: "egov-mdms-service"
-  healthChecks:
-    livenessProbePath: "/egov-mdms-service/health"
-    readinessProbePath: "/egov-mdms-service/health"
+   ingress:
+     context: "egov-mdms-service"
+   healthChecks:
+     livenessProbePath: "/egov-mdms-service/health"
+     readinessProbePath: "/egov-mdms-service/health"
🧰 Tools
yamllint

[warning] 612-612: wrong indentation: expected 5 but found 4

(indentation)


[warning] 614-614: wrong indentation: expected 5 but found 4

(indentation)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between e3ed3b9 and 3fa473f.

📒 Files selected for processing (15)
  • deploy-as-code/helm/charts/core-services/mdms-v2/values.yaml (1 hunks)
  • deploy-as-code/helm/charts/health-services/health-mdms-v2/values.yaml (3 hunks)
  • deploy-as-code/helm/charts/health-services/plan-service/values.yaml (1 hunks)
  • deploy-as-code/helm/charts/health-services/project-factory/values.yaml (1 hunks)
  • deploy-as-code/helm/charts/health-services/resource-estimation-service/Chart.yaml (1 hunks)
  • deploy-as-code/helm/charts/health-services/resource-estimation-service/values.yaml (3 hunks)
  • deploy-as-code/helm/charts/urban/pgr-services/values.yaml (2 hunks)
  • deploy-as-code/helm/environments/sanitation-uat.yaml (1 hunks)
  • deploy-as-code/helm/environments/unified-health-dev.yaml (1 hunks)
  • deploy-as-code/helm/environments/unified-health-qa.yaml (1 hunks)
  • deploy-as-code/helm/environments/unified-health-uat.yaml (4 hunks)
  • deploy-as-code/helm/environments/unified-qa.yaml (1 hunks)
  • deploy-as-code/helm/environments/unified-uat.yaml (3 hunks)
  • deploy-as-code/helm/environments/unified-urban-qa.yaml (1 hunks)
  • deploy-as-code/helm/environments/unified-urban-uat.yaml (1 hunks)
🧰 Additional context used
yamllint
deploy-as-code/helm/charts/core-services/mdms-v2/values.yaml

[error] 40-40: trailing spaces

(trailing-spaces)


[error] 42-42: trailing spaces

(trailing-spaces)

deploy-as-code/helm/charts/health-services/health-mdms-v2/values.yaml

[error] 43-43: trailing spaces

(trailing-spaces)


[error] 45-45: trailing spaces

(trailing-spaces)

deploy-as-code/helm/environments/unified-health-qa.yaml

[warning] 577-577: wrong indentation: expected 3 but found 2

(indentation)


[warning] 582-582: wrong indentation: expected 3 but found 2

(indentation)

deploy-as-code/helm/environments/unified-health-uat.yaml

[warning] 227-227: wrong indentation: expected 5 but found 4

(indentation)

deploy-as-code/helm/environments/unified-uat.yaml

[warning] 612-612: wrong indentation: expected 5 but found 4

(indentation)


[warning] 614-614: wrong indentation: expected 5 but found 4

(indentation)

🔇 Additional comments not posted (20)
deploy-as-code/helm/charts/health-services/resource-estimation-service/Chart.yaml (1)

2-2: Chart name change requires project-wide updates and verification.

The chart name has been changed from 'resource-estimation-service' to 'resource-generator'. While this change might better reflect the service's functionality, it has several implications that need to be addressed:

  1. Ensure this name change is consistently applied across the entire project, including other configuration files, scripts, and CI/CD pipelines.
  2. Update any documentation that references this chart to reflect the new name.
  3. Verify that this change doesn't break any existing deployments or dependencies on this chart.
  4. If other charts or services depend on this one, they may need to be updated to reference the new name.

To help verify the impact of this change, you can run the following script:

Please review the script output to ensure all necessary updates have been made and to identify any potential issues.

✅ Verification successful

Re-running Verification Scripts with Corrected Commands

The previous verification scripts encountered errors due to incorrect file type specifications and command syntax. Please execute the following corrected scripts to thoroughly check for references to both the old and new chart names:

Please run these scripts and provide the output to ensure that all references have been appropriately updated and to identify any potential issues.


Chart name change verified successfully with no remaining references to 'resource-estimation-service'.

All references have been updated to 'resource-generator', ensuring consistency across the project. No issues were found related to this change.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for references to the old chart name and verify consistency of the new name

echo "Checking for references to the old chart name 'resource-estimation-service':"
rg --type yaml --type bash --type markdown "resource-estimation-service" -C 2

echo "Verifying consistency of the new chart name 'resource-generator':"
rg --type yaml --type bash --type markdown "resource-generator" -C 2

echo "Checking for potential helm dependencies that might be affected:"
fd Chart.yaml --exec grep -H "name: resource-estimation-service" {} +

Length of output: 9448


Script:

# 
#!/bin/bash
# Description: Corrected script to check for references to the old and new chart names

echo "Checking for references to the old chart name 'resource-estimation-service':"
rg --type yaml --type sh --type markdown "resource-estimation-service" -C 2

echo "Verifying consistency of the new chart name 'resource-generator':"
rg --type yaml --type sh --type markdown "resource-generator" -C 2

echo "Checking for potential helm dependencies that might be affected:"
fd Chart.yaml --exec grep -H "name: resource-estimation-service" {}

Length of output: 4895

deploy-as-code/helm/charts/core-services/mdms-v2/values.yaml (2)

40-42: Approve the addition of SERVER_SERVLET_CONTEXT_PATH and update to SERVER_CONTEXT_PATH

The changes to the environment variables look good and provide improved configurability:

  1. The addition of SERVER_SERVLET_CONTEXT_PATH supports Spring Boot's context path configuration.
  2. The update to SERVER_CONTEXT_PATH ensures consistency with the new variable.
  3. Using {{ .Values.contextPath | default "mdms-v2" }} allows for dynamic configuration with a sensible default.

These changes enhance the flexibility of the Helm chart while maintaining backward compatibility.

🧰 Tools
yamllint

[error] 40-40: trailing spaces

(trailing-spaces)


[error] 42-42: trailing spaces

(trailing-spaces)


40-42: Verify consistency with other services

The addition of SERVER_SERVLET_CONTEXT_PATH and the update to SERVER_CONTEXT_PATH appear to be part of a larger effort to standardize context paths across services. To ensure system-wide consistency:

  1. Verify that similar changes have been made in other service configurations where applicable.
  2. Confirm that any reverse proxy or API gateway configurations have been updated to reflect these changes.
  3. Ensure that the documentation has been updated to reflect the new configurable context path.

Run the following script to check for similar context path configurations in other services:

This will help ensure that the changes are consistent across the system and identify any services that may need similar updates.

🧰 Tools
yamllint

[error] 40-40: trailing spaces

(trailing-spaces)


[error] 42-42: trailing spaces

(trailing-spaces)

deploy-as-code/helm/charts/health-services/health-mdms-v2/values.yaml (2)

29-30: Approve health check path changes, but verify endpoint configuration.

The simplification of health check paths to "/" is noted. This change could improve clarity, but it's crucial to ensure that the root path is correctly configured to respond to health checks.

Please confirm that the application is configured to respond to health checks at the root path ("/"). You may want to check the main application file or controller for a health check endpoint configuration.


13-14: Approve ingress context change, but verify impact.

The change from "egov-mdms-service" to "mdms-v2" for the ingress context aligns better with the service name. However, this change may affect how the service is accessed.

Please run the following script to check for any references to the old context path that might need updating:

deploy-as-code/helm/charts/health-services/plan-service/values.yaml (1)

68-77: Verify integration with HRMS and Project Factory services

The addition of EGOV_HRMS_HOST and EGOV_PROJECT_FACTORY_HOST suggests new integrations with these services.

Please ensure that:

  1. The plan-service code has been updated to use these new environment variables.
  2. The integration with HRMS and Project Factory services has been properly implemented and tested.
  3. The ConfigMap 'egov-service-host' has been updated with the correct values for 'health-hrms' and 'project-factory' keys in all relevant environments.

Run the following script to verify the usage of these new environment variables in the plan-service code:

This script will help ensure that the new environment variables are being utilized in the code and that the ConfigMap has been properly updated.

deploy-as-code/helm/charts/health-services/resource-estimation-service/values.yaml (5)

17-17: LGTM. Verify Docker image availability.

The image repository has been updated to "resource-generator", which is consistent with the renaming. This change looks good.

To ensure the Docker image with the new name exists and is properly tagged, please run the following script:

#!/bin/bash
# Description: Check for the existence of the new Docker image

# Test: Search for Docker image references. Expect: References to the new image name "resource-generator".
rg --type yaml "image:.*resource-(estimation-service|generator)" .

# Note: This script can only check references in the configuration. 
# Please manually verify the actual existence and tagging of the Docker image in your container registry.

21-22: LGTM. Verify health check endpoint in application code.

The liveness and readiness probe paths have been updated to "/resource-generator/health", which is consistent with the renaming. These changes look good.

To ensure the application's health check endpoint has been updated accordingly, please run the following script:

#!/bin/bash
# Description: Check for health check endpoint in application code

# Test: Search for health check endpoint definitions in Java files. Expect: Only occurrences of the new endpoint "/resource-generator/health".
rg --type java "(@GetMapping|@RequestMapping).*(\"/resource-(estimation-service|generator)/health\")" .

34-34: LGTM. Verify Kafka configurations.

The Kafka consumer group ID has been updated to "resource-generator", which is consistent with the renaming. This change looks good.

To ensure this change doesn't conflict with existing Kafka configurations, please run the following script:

#!/bin/bash
# Description: Check for Kafka consumer group configurations

# Test: Search for Kafka consumer group configurations. Expect: Only occurrences of the new group ID "resource-generator".
rg --type yaml "SPRING_KAFKA_CONSUMER_GROUP_ID.*resource-(estimation-service|generator)" .

# Note: This script can only check references in the configuration files. 
# Please manually verify the Kafka broker configurations and ensure no conflicts with existing consumers.

3-3: LGTM. Verify consistency across the configuration.

The app label has been updated to "resource-generator", which is consistent with the renaming mentioned in the summary. This change looks good.

To ensure consistency, please run the following script to check for any remaining occurrences of the old name:

✅ Verification successful

Verification Successful: No remaining occurrences of "resource-estimation-service" found.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for any remaining occurrences of the old service name

# Test: Search for the old name in yaml files. Expect: No occurrences of "resource-estimation-service".
rg --type yaml "resource-estimation-service" .

Length of output: 46


Script:

#!/bin/bash
# Description: Check for any remaining occurrences of the old service name in all files

# Test: Search for the old name in all files. Expect: No occurrences of "resource-estimation-service".
rg "resource-estimation-service" .

Length of output: 34


13-13: LGTM. Verify related ingress configurations.

The ingress context has been updated to "resource-generator", which is consistent with the renaming. This change looks good.

To ensure all related configurations are updated, please run the following script:

deploy-as-code/helm/charts/health-services/project-factory/values.yaml (2)

235-235: Indentation of USER_DEFAULT_PASSWORD looks correct

The indentation of the USER_DEFAULT_PASSWORD environment variable at line 235 appears to be correct and consistent with other environment variables in the file.

The AI summary mentioned an indentation adjustment for this variable, but it's not apparent in the current code. Could you please confirm if any indentation changes were made and if they are correctly reflected in this version of the file?


Line range hint 1-235: Verify the intentional removal of NOT_CREATE_USER_IF_ALREADY_THERE

The environment variable NOT_CREATE_USER_IF_ALREADY_THERE has been removed from the configuration. This change could affect the user creation logic in the project-factory service.

Please confirm if this removal was intentional and explain the new expected behavior for user creation. Additionally, ensure that any dependent services or components are updated to handle this change.

To help verify the impact, you can run the following script to search for any remaining references to this variable in the codebase:

If any results are found, they may need to be updated to align with this configuration change.

✅ Verification successful

Removal of NOT_CREATE_USER_IF_ALREADY_THERE Verified

The environment variable NOT_CREATE_USER_IF_ALREADY_THERE has been successfully removed from the configuration, and no remaining references were found in the codebase. This change ensures that user creation logic will no longer conditionally skip creating users based on their existing presence.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Search for any remaining references to NOT_CREATE_USER_IF_ALREADY_THERE
rg --type yaml --type java --type javascript "NOT_CREATE_USER_IF_ALREADY_THERE"

Length of output: 114


Script:

#!/bin/bash
# Search for any remaining references to NOT_CREATE_USER_IF_ALREADY_THERE
rg --type yaml --type java --type js "NOT_CREATE_USER_IF_ALREADY_THERE"

Length of output: 71

🧰 Tools
yamllint

[error] 233-233: trailing spaces

(trailing-spaces)


[error] 238-238: trailing spaces

(trailing-spaces)

deploy-as-code/helm/environments/unified-urban-uat.yaml (1)

76-76: LGTM! Verify impact on dependent services.

The update to the egov-mdms-service URL looks good. It reflects a change in the service name and namespace, which is likely part of a larger refactoring or reorganization effort. This change improves consistency in naming conventions.

However, it's important to ensure that all services depending on the MDMS are updated to use this new URL.

To verify the impact and usage of the new MDMS URL, run the following script:

deploy-as-code/helm/environments/unified-urban-qa.yaml (1)

148-148: LGTM. Verify the new health-hrms service integration.

The addition of the health-hrms service endpoint looks good. It follows the established pattern for service endpoints in this configuration.

To ensure proper integration, please run the following verification steps:

Please review the results of these tests to ensure the new service is properly integrated and accessible within the environment.

deploy-as-code/helm/environments/unified-health-dev.yaml (1)

596-598: Service renaming looks good, verify consistency across codebase

The renaming of 'resource-estimation-service' to 'resource-generator' appears to be intentional and doesn't introduce any configuration errors. The associated configuration keys remain unchanged.

To ensure this change is applied consistently, please run the following script to check for any remaining references to the old service name:

If the script returns any results, those occurrences may need to be updated to maintain consistency with this change.

✅ Verification successful

Service renaming verified across the codebase

No remaining references to 'resource-estimation-service' were found, confirming that the renaming to 'resource-generator' is consistent throughout the codebase.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for any remaining references to 'resource-estimation-service'

# Search for 'resource-estimation-service' in all files, excluding the current file
rg --type yaml --type json --type javascript --type typescript --type java \
   -g '!deploy-as-code/helm/environments/unified-health-dev.yaml' \
   'resource-estimation-service'

# Search for 'resource-estimation-service' in Kubernetes resources
kubectl get all -A -o yaml | grep 'resource-estimation-service'

Length of output: 342


Script:

#!/bin/bash
# Description: Check for any remaining references to 'resource-estimation-service'

# Search for 'resource-estimation-service' in all files, excluding the current file
rg --type yaml --type json --type js --type ts --type java \
   -g '!deploy-as-code/helm/environments/unified-health-dev.yaml' \
   'resource-estimation-service'

Length of output: 151

deploy-as-code/helm/environments/sanitation-uat.yaml (1)

75-75: Approve URL change for egov-mdms-service

The change from "http://health-mdms-v2.health:8080/" to "http://mdms-v2.egov:8080/" appears to be a standardization of the service URL. This is likely part of a broader effort to consolidate services or standardize naming conventions.

To ensure this change doesn't break any integrations, please run the following verification steps:

After running these checks, please review the output and update any remaining references to the old URL. Also, ensure that all listed services are tested with the new URL to confirm they can still communicate with the egov-mdms-service correctly.

✅ Verification successful

Fixing the Regex Error in Verification Script

The previous script encountered a regex error due to an unsupported lookbehind. To accurately list the services dependent on egov-mdms-service, please run the updated verification script below:

After executing this updated script, please provide the output to ensure all dependent services are correctly identified and updated.


Verification Successful: No References to Old URL Found

The update to egov-mdms-service has been consistently applied across the codebase with no remaining references to the old URL. All dependent services have been identified and should now be tested to confirm they interact correctly with the new egov-mdms-service URL.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for any remaining references to the old URL and list services that might be affected by this change.

# Search for any remaining references to the old URL
echo "Searching for references to the old URL:"
rg "health-mdms-v2.health:8080" --type yaml

# List services that have dependencies on egov-mdms-service
echo "Services potentially affected by this change:"
rg "egov-mdms-service" --type yaml | grep -oP '(?<=^[^#]*?:).*?:' | sort -u

Length of output: 358


Script:

# Updated verification script to list services dependent on egov-mdms-service

#!/bin/bash
# Description: Check for any remaining references to the old URL and list services that might be affected by this change.

# Search for any remaining references to the old URL
echo "Searching for references to the old URL:"
rg "health-mdms-v2.health:8080" --type yaml

# List services that have dependencies on egov-mdms-service
echo "Services potentially affected by this change:"
rg "egov-mdms-service" --type yaml | grep -E '^[^#]*:' | awk -F':' '{print $1}' | sort -u

Length of output: 9742

deploy-as-code/helm/environments/unified-health-uat.yaml (2)

571-571: Updated mdmsV2SearchEndpoint for project-factory is correct.

The mdmsV2SearchEndpoint has been properly updated to use the v2 version of the MDMS service. This change is consistent with the earlier updates to the egov-mdms-service endpoint.

To ensure the new endpoint is correctly used by the project-factory service, please run the following verification script:

#!/bin/bash
# Verify the usage of the new mdmsV2SearchEndpoint in project-factory

# Test: Check if the project-factory service is using the new endpoint
rg --type yaml 'egov-mdms-service/v2/_search' $(fd -t f project-factory)

# Expected result: The search should return matches in the project-factory configuration files
# If no matches are found, investigate the usage of the new endpoint in the project-factory service

83-83: Endpoint update for egov-mdms-service looks good.

The endpoint for egov-mdms-service has been updated to use the v2 version. This change aligns with the expected modifications mentioned in the PR summary.

To ensure the new endpoint is correctly configured and accessible, please run the following verification script:

deploy-as-code/helm/environments/unified-health-qa.yaml (1)

581-583: Approved: Configuration update for renamed resource-generator service, but fix indentation.

The update to use the v2 version of the MDMS service for the newly renamed resource-generator service (previously resource-estimation-service) is appropriate. This change aligns with the modernization of the MDMS system and the service refactoring.

However, there's a minor indentation issue. Please adjust the indentation to match the YAML structure:

resource-generator:
-  egov-mdms-service-host-key: 'mdms-service-v2'
-  egov-mdms-service-endpoint-key: "/mdms-v2/v1/_search"
+   egov-mdms-service-host-key: 'mdms-service-v2'
+   egov-mdms-service-endpoint-key: "/mdms-v2/v1/_search"

To ensure that the service renaming has been consistently applied throughout the codebase, please run the following command:

If any results are returned, they may need to be updated to use the new service name "resource-generator".

🧰 Tools
yamllint

[warning] 582-582: wrong indentation: expected 3 but found 2

(indentation)

@@ -372,7 +372,7 @@ egov-indexer:
gitSync:
repo: "[email protected]:egovernments/configs" ##### Change repo url with Your fork Repo url
branch: "UNIFIED-QA" ##### Change repo branch with Your fork Repo branch
egov-indexer-yaml-repo-path: "file:///work-dir/configs/egov-indexer/billingservices-indexer.yml,file:///work-dir/configs/egov-indexer/collection-indexer.yml,file:///work-dir/configs/egov-indexer/egov-telemetry-indexer.yml,file:///work-dir/configs/egov-indexer/egov-uploader-indexer.yml,file:///work-dir/configs/egov-indexer/error-queue.yml,file:///work-dir/configs/egov-indexer/finance-rolloutadotpion-indexer.yml,file:///work-dir/configs/egov-indexer/payment-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-pgr-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-pt-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-tl-indexer.yml,file:///work-dir/configs/egov-indexer/chatbot-telemetry.yaml,file:///work-dir/configs/works/egov-indexer/measurement-indexer.yml,file:///work-dir/configs/works/egov-indexer/project-indexer.yml,file:///work-dir/configs/works/egov-indexer/organisationservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/contractservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/estimateservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/expensebill-indexer.yml,file:///work-dir/configs/works/egov-indexer/individual-indexer.yml,file:///work-dir/configs/works/egov-indexer/musterservices-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/pqm-service-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/egov-pqm-service.yml,file:///work-dir/configs/sanitation/egov-indexer/pqm-anomaly-finder-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/egov-fsm.yaml,file:///work-dir/configs/sanitation/egov-indexer/egov-vehicle.yaml,file:///work-dir/configs/sanitation/egov-indexer/egov-vendor.yaml,file:///work-dir/configs/sanitation/egov-indexer/fsm-inbox-indexer.yml,file:///work-dir/configs/egov-indexer/sample.yml,file:///work-dir/configs/egov-indexer/facility-indexer.yml,file:///work-dir/configs/egov-indexer/household-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-member-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-indexer.yml,file:///work-dir/configs/egov-indexer/individual-indexer.yml,file:///work-dir/configs/egov-indexer/project-indexer.yml,file:///work-dir/configs/egov-indexer/project-staff-indexer.yml,file:///work-dir/configs/egov-indexer/project-task-indexer.yml,file:///work-dir/configs/egov-indexer/referral-management-indexer.yml,file:///work-dir/configs/egov-indexer/stock-indexer.yml,file:///work-dir/configs/health/egov-indexer/facility-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-indexer.yml,file:///work-dir/configs/health/egov-indexer/individual-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-staff-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-task-indexer.yml,file:///work-dir/configs/health/egov-indexer/referral-management-indexer.yml,file:///work-dir/configs/health/egov-indexer/stock-indexer.yml,file:///work-dir/configs/egov-indexer/pgr-services.yml,file:///work-dir/configs/egov-indexer/mukta-contractservices-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-estimateservices-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-expensebill-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-individual-indexer.yml,file:///work-dir/configs/ifix/egov-indexer/digit-exchange-indexer.yml,file:///work-dir/configs/works/egov-indexer/mukta-pi-indexer.yml, file:///work-dir/configs/works/egov-indexer/ifms-pi-indexer.yml,file:///work-dir/configs/health/egov-indexer/transformer-pgr-services.yml,file:///work-dir/configs/egov-indexer/service-request-indexer.yml"
egov-indexer-yaml-repo-path: "file:///work-dir/configs/egov-indexer/billingservices-indexer.yml,file:///work-dir/configs/egov-indexer/collection-indexer.yml,file:///work-dir/configs/egov-indexer/egov-telemetry-indexer.yml,file:///work-dir/configs/egov-indexer/egov-uploader-indexer.yml,file:///work-dir/configs/egov-indexer/error-queue.yml,file:///work-dir/configs/egov-indexer/finance-rolloutadotpion-indexer.yml,file:///work-dir/configs/egov-indexer/payment-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-pgr-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-pt-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-tl-indexer.yml,file:///work-dir/configs/egov-indexer/chatbot-telemetry.yaml,file:///work-dir/configs/works/egov-indexer/measurement-indexer.yml,file:///work-dir/configs/works/egov-indexer/project-indexer.yml,file:///work-dir/configs/works/egov-indexer/organisationservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/contractservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/estimateservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/expensebill-indexer.yml,file:///work-dir/configs/works/egov-indexer/individual-indexer.yml,file:///work-dir/configs/works/egov-indexer/musterservices-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/pqm-service-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/egov-pqm-service.yml,file:///work-dir/configs/sanitation/egov-indexer/pqm-anomaly-finder-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/egov-fsm.yaml,file:///work-dir/configs/sanitation/egov-indexer/egov-vehicle.yaml,file:///work-dir/configs/sanitation/egov-indexer/egov-vendor.yaml,file:///work-dir/configs/sanitation/egov-indexer/fsm-inbox-indexer.yml,file:///work-dir/configs/egov-indexer/sample.yml,file:///work-dir/configs/egov-indexer/facility-indexer.yml,file:///work-dir/configs/egov-indexer/household-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-member-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-indexer.yml,file:///work-dir/configs/egov-indexer/individual-indexer.yml,file:///work-dir/configs/egov-indexer/project-indexer.yml,file:///work-dir/configs/egov-indexer/project-staff-indexer.yml,file:///work-dir/configs/egov-indexer/project-task-indexer.yml,file:///work-dir/configs/egov-indexer/referral-management-indexer.yml,file:///work-dir/configs/egov-indexer/stock-indexer.yml,file:///work-dir/configs/health/egov-indexer/facility-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-indexer.yml,file:///work-dir/configs/health/egov-indexer/individual-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-staff-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-task-indexer.yml,file:///work-dir/configs/health/egov-indexer/referral-management-indexer.yml,file:///work-dir/configs/health/egov-indexer/stock-indexer.yml,file:///work-dir/configs/egov-indexer/pgr-services.yml,file:///work-dir/configs/egov-indexer/mukta-contractservices-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-estimateservices-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-expensebill-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-individual-indexer.yml,file:///work-dir/configs/ifix/egov-indexer/digit-exchange-indexer.yml,file:///work-dir/configs/works/egov-indexer/mukta-pi-indexer.yml, file:///work-dir/configs/works/egov-indexer/ifms-pi-indexer.yml,file:///work-dir/configs/health/egov-indexer/transformer-pgr-services.yml,file:///work-dir/configs/egov-indexer/service-request-indexer.yml,file:///work-dir/configs/health/egov-indexer/pgr-services.yml,file:///work-dir/configs/health/egov-indexer/attendance-service-indexer.yml"
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

Potential issue with file path separation in egov-indexer-yaml-repo-path

The removal of the space between mukta-pi-indexer.yml, and file:///work-dir/configs/works/egov-indexer/ifms-pi-indexer.yml might cause issues with file path resolution. In YAML, list items are typically separated by spaces.

To ensure proper parsing of the file paths, consider adding the space back:

-  egov-indexer-yaml-repo-path: "file:///work-dir/configs/egov-indexer/billingservices-indexer.yml,file:///work-dir/configs/egov-indexer/collection-indexer.yml,file:///work-dir/configs/egov-indexer/egov-telemetry-indexer.yml,file:///work-dir/configs/egov-indexer/egov-uploader-indexer.yml,file:///work-dir/configs/egov-indexer/error-queue.yml,file:///work-dir/configs/egov-indexer/finance-rolloutadotpion-indexer.yml,file:///work-dir/configs/egov-indexer/payment-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-pgr-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-pt-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-tl-indexer.yml,file:///work-dir/configs/egov-indexer/chatbot-telemetry.yaml,file:///work-dir/configs/works/egov-indexer/measurement-indexer.yml,file:///work-dir/configs/works/egov-indexer/project-indexer.yml,file:///work-dir/configs/works/egov-indexer/organisationservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/contractservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/estimateservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/expensebill-indexer.yml,file:///work-dir/configs/works/egov-indexer/individual-indexer.yml,file:///work-dir/configs/works/egov-indexer/musterservices-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/pqm-service-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/egov-pqm-service.yml,file:///work-dir/configs/sanitation/egov-indexer/pqm-anomaly-finder-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/egov-fsm.yaml,file:///work-dir/configs/sanitation/egov-indexer/egov-vehicle.yaml,file:///work-dir/configs/sanitation/egov-indexer/egov-vendor.yaml,file:///work-dir/configs/sanitation/egov-indexer/fsm-inbox-indexer.yml,file:///work-dir/configs/egov-indexer/sample.yml,file:///work-dir/configs/egov-indexer/facility-indexer.yml,file:///work-dir/configs/egov-indexer/household-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-member-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-indexer.yml,file:///work-dir/configs/egov-indexer/individual-indexer.yml,file:///work-dir/configs/egov-indexer/project-indexer.yml,file:///work-dir/configs/egov-indexer/project-staff-indexer.yml,file:///work-dir/configs/egov-indexer/project-task-indexer.yml,file:///work-dir/configs/egov-indexer/referral-management-indexer.yml,file:///work-dir/configs/egov-indexer/stock-indexer.yml,file:///work-dir/configs/health/egov-indexer/facility-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-indexer.yml,file:///work-dir/configs/health/egov-indexer/individual-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-staff-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-task-indexer.yml,file:///work-dir/configs/health/egov-indexer/referral-management-indexer.yml,file:///work-dir/configs/health/egov-indexer/stock-indexer.yml,file:///work-dir/configs/egov-indexer/pgr-services.yml,file:///work-dir/configs/egov-indexer/mukta-contractservices-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-estimateservices-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-expensebill-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-individual-indexer.yml,file:///work-dir/configs/ifix/egov-indexer/digit-exchange-indexer.yml,file:///work-dir/configs/works/egov-indexer/mukta-pi-indexer.yml,file:///work-dir/configs/works/egov-indexer/ifms-pi-indexer.yml,file:///work-dir/configs/health/egov-indexer/transformer-pgr-services.yml,file:///work-dir/configs/egov-indexer/service-request-indexer.yml,file:///work-dir/configs/health/egov-indexer/pgr-services.yml,file:///work-dir/configs/health/egov-indexer/attendance-service-indexer.yml"
+  egov-indexer-yaml-repo-path: "file:///work-dir/configs/egov-indexer/billingservices-indexer.yml,file:///work-dir/configs/egov-indexer/collection-indexer.yml,file:///work-dir/configs/egov-indexer/egov-telemetry-indexer.yml,file:///work-dir/configs/egov-indexer/egov-uploader-indexer.yml,file:///work-dir/configs/egov-indexer/error-queue.yml,file:///work-dir/configs/egov-indexer/finance-rolloutadotpion-indexer.yml,file:///work-dir/configs/egov-indexer/payment-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-pgr-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-pt-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-tl-indexer.yml,file:///work-dir/configs/egov-indexer/chatbot-telemetry.yaml,file:///work-dir/configs/works/egov-indexer/measurement-indexer.yml,file:///work-dir/configs/works/egov-indexer/project-indexer.yml,file:///work-dir/configs/works/egov-indexer/organisationservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/contractservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/estimateservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/expensebill-indexer.yml,file:///work-dir/configs/works/egov-indexer/individual-indexer.yml,file:///work-dir/configs/works/egov-indexer/musterservices-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/pqm-service-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/egov-pqm-service.yml,file:///work-dir/configs/sanitation/egov-indexer/pqm-anomaly-finder-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/egov-fsm.yaml,file:///work-dir/configs/sanitation/egov-indexer/egov-vehicle.yaml,file:///work-dir/configs/sanitation/egov-indexer/egov-vendor.yaml,file:///work-dir/configs/sanitation/egov-indexer/fsm-inbox-indexer.yml,file:///work-dir/configs/egov-indexer/sample.yml,file:///work-dir/configs/egov-indexer/facility-indexer.yml,file:///work-dir/configs/egov-indexer/household-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-member-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-indexer.yml,file:///work-dir/configs/egov-indexer/individual-indexer.yml,file:///work-dir/configs/egov-indexer/project-indexer.yml,file:///work-dir/configs/egov-indexer/project-staff-indexer.yml,file:///work-dir/configs/egov-indexer/project-task-indexer.yml,file:///work-dir/configs/egov-indexer/referral-management-indexer.yml,file:///work-dir/configs/egov-indexer/stock-indexer.yml,file:///work-dir/configs/health/egov-indexer/facility-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-indexer.yml,file:///work-dir/configs/health/egov-indexer/individual-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-staff-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-task-indexer.yml,file:///work-dir/configs/health/egov-indexer/referral-management-indexer.yml,file:///work-dir/configs/health/egov-indexer/stock-indexer.yml,file:///work-dir/configs/egov-indexer/pgr-services.yml,file:///work-dir/configs/egov-indexer/mukta-contractservices-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-estimateservices-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-expensebill-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-individual-indexer.yml,file:///work-dir/configs/ifix/egov-indexer/digit-exchange-indexer.yml,file:///work-dir/configs/works/egov-indexer/mukta-pi-indexer.yml, file:///work-dir/configs/works/egov-indexer/ifms-pi-indexer.yml,file:///work-dir/configs/health/egov-indexer/transformer-pgr-services.yml,file:///work-dir/configs/egov-indexer/service-request-indexer.yml,file:///work-dir/configs/health/egov-indexer/pgr-services.yml,file:///work-dir/configs/health/egov-indexer/attendance-service-indexer.yml"

This change ensures that all file paths are properly separated and can be correctly parsed by the system.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
egov-indexer-yaml-repo-path: "file:///work-dir/configs/egov-indexer/billingservices-indexer.yml,file:///work-dir/configs/egov-indexer/collection-indexer.yml,file:///work-dir/configs/egov-indexer/egov-telemetry-indexer.yml,file:///work-dir/configs/egov-indexer/egov-uploader-indexer.yml,file:///work-dir/configs/egov-indexer/error-queue.yml,file:///work-dir/configs/egov-indexer/finance-rolloutadotpion-indexer.yml,file:///work-dir/configs/egov-indexer/payment-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-pgr-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-pt-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-tl-indexer.yml,file:///work-dir/configs/egov-indexer/chatbot-telemetry.yaml,file:///work-dir/configs/works/egov-indexer/measurement-indexer.yml,file:///work-dir/configs/works/egov-indexer/project-indexer.yml,file:///work-dir/configs/works/egov-indexer/organisationservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/contractservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/estimateservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/expensebill-indexer.yml,file:///work-dir/configs/works/egov-indexer/individual-indexer.yml,file:///work-dir/configs/works/egov-indexer/musterservices-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/pqm-service-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/egov-pqm-service.yml,file:///work-dir/configs/sanitation/egov-indexer/pqm-anomaly-finder-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/egov-fsm.yaml,file:///work-dir/configs/sanitation/egov-indexer/egov-vehicle.yaml,file:///work-dir/configs/sanitation/egov-indexer/egov-vendor.yaml,file:///work-dir/configs/sanitation/egov-indexer/fsm-inbox-indexer.yml,file:///work-dir/configs/egov-indexer/sample.yml,file:///work-dir/configs/egov-indexer/facility-indexer.yml,file:///work-dir/configs/egov-indexer/household-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-member-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-indexer.yml,file:///work-dir/configs/egov-indexer/individual-indexer.yml,file:///work-dir/configs/egov-indexer/project-indexer.yml,file:///work-dir/configs/egov-indexer/project-staff-indexer.yml,file:///work-dir/configs/egov-indexer/project-task-indexer.yml,file:///work-dir/configs/egov-indexer/referral-management-indexer.yml,file:///work-dir/configs/egov-indexer/stock-indexer.yml,file:///work-dir/configs/health/egov-indexer/facility-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-indexer.yml,file:///work-dir/configs/health/egov-indexer/individual-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-staff-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-task-indexer.yml,file:///work-dir/configs/health/egov-indexer/referral-management-indexer.yml,file:///work-dir/configs/health/egov-indexer/stock-indexer.yml,file:///work-dir/configs/egov-indexer/pgr-services.yml,file:///work-dir/configs/egov-indexer/mukta-contractservices-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-estimateservices-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-expensebill-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-individual-indexer.yml,file:///work-dir/configs/ifix/egov-indexer/digit-exchange-indexer.yml,file:///work-dir/configs/works/egov-indexer/mukta-pi-indexer.yml, file:///work-dir/configs/works/egov-indexer/ifms-pi-indexer.yml,file:///work-dir/configs/health/egov-indexer/transformer-pgr-services.yml,file:///work-dir/configs/egov-indexer/service-request-indexer.yml,file:///work-dir/configs/health/egov-indexer/pgr-services.yml,file:///work-dir/configs/health/egov-indexer/attendance-service-indexer.yml"
egov-indexer-yaml-repo-path: "file:///work-dir/configs/egov-indexer/billingservices-indexer.yml,file:///work-dir/configs/egov-indexer/collection-indexer.yml,file:///work-dir/configs/egov-indexer/egov-telemetry-indexer.yml,file:///work-dir/configs/egov-indexer/egov-uploader-indexer.yml,file:///work-dir/configs/egov-indexer/error-queue.yml,file:///work-dir/configs/egov-indexer/finance-rolloutadotpion-indexer.yml,file:///work-dir/configs/egov-indexer/payment-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-pgr-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-pt-indexer.yml,file:///work-dir/configs/egov-indexer/rainmaker-tl-indexer.yml,file:///work-dir/configs/egov-indexer/chatbot-telemetry.yaml,file:///work-dir/configs/works/egov-indexer/measurement-indexer.yml,file:///work-dir/configs/works/egov-indexer/project-indexer.yml,file:///work-dir/configs/works/egov-indexer/organisationservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/contractservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/estimateservices-indexer.yml,file:///work-dir/configs/works/egov-indexer/expensebill-indexer.yml,file:///work-dir/configs/works/egov-indexer/individual-indexer.yml,file:///work-dir/configs/works/egov-indexer/musterservices-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/pqm-service-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/egov-pqm-service.yml,file:///work-dir/configs/sanitation/egov-indexer/pqm-anomaly-finder-indexer.yml,file:///work-dir/configs/sanitation/egov-indexer/egov-fsm.yaml,file:///work-dir/configs/sanitation/egov-indexer/egov-vehicle.yaml,file:///work-dir/configs/sanitation/egov-indexer/egov-vendor.yaml,file:///work-dir/configs/sanitation/egov-indexer/fsm-inbox-indexer.yml,file:///work-dir/configs/egov-indexer/sample.yml,file:///work-dir/configs/egov-indexer/facility-indexer.yml,file:///work-dir/configs/egov-indexer/household-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-member-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-indexer.yml,file:///work-dir/configs/egov-indexer/individual-indexer.yml,file:///work-dir/configs/egov-indexer/project-indexer.yml,file:///work-dir/configs/egov-indexer/project-staff-indexer.yml,file:///work-dir/configs/egov-indexer/project-task-indexer.yml,file:///work-dir/configs/egov-indexer/referral-management-indexer.yml,file:///work-dir/configs/egov-indexer/stock-indexer.yml,file:///work-dir/configs/health/egov-indexer/facility-indexer.yml,file:///work-dir/configs/health/egov-indexer/household-indexer.yml,file:///work-dir/configs/health/egov-indexer/individual-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-staff-indexer.yml,file:///work-dir/configs/health/egov-indexer/project-task-indexer.yml,file:///work-dir/configs/health/egov-indexer/referral-management-indexer.yml,file:///work-dir/configs/health/egov-indexer/stock-indexer.yml,file:///work-dir/configs/egov-indexer/pgr-services.yml,file:///work-dir/configs/egov-indexer/mukta-contractservices-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-estimateservices-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-expensebill-indexer.yml,file:///work-dir/configs/egov-indexer/mukta-individual-indexer.yml,file:///work-dir/configs/ifix/egov-indexer/digit-exchange-indexer.yml,file:///work-dir/configs/works/egov-indexer/mukta-pi-indexer.yml, file:///work-dir/configs/works/egov-indexer/ifms-pi-indexer.yml,file:///work-dir/configs/health/egov-indexer/transformer-pgr-services.yml,file:///work-dir/configs/egov-indexer/service-request-indexer.yml,file:///work-dir/configs/health/egov-indexer/pgr-services.yml,file:///work-dir/configs/health/egov-indexer/attendance-service-indexer.yml"

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

Successfully merging this pull request may close these issues.

9 participants