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

Move svc-lighthouse-api to its own repo #2887

Merged
merged 2 commits into from
Apr 23, 2024
Merged

Conversation

msnwatson
Copy link
Contributor

@msnwatson msnwatson commented Apr 22, 2024

What was the problem?

The titular service has not been used for over a year, cluttering the repo, our SecRel pipelines, and LHDI environments.

Associated tickets or Slack threads:

How does this fix it?1

How to test this PR

  • Remove deployments in escalating environments

Footnotes

  1. Pull-Requests guidelines. If PR is significant, update Current Software State wiki page.

Copy link
Contributor

github-actions bot commented Apr 22, 2024

Test Results

137 tests   - 14   137 ✅  - 14   42s ⏱️ -4s
 40 suites  -  6     0 💤 ± 0 
 40 files    -  6     0 ❌ ± 0 

Results for commit b3cd3a1. ± Comparison against base commit 8959174.

This pull request removes 14 tests.
gov.va.vro.abddataaccess.AppPropertiesTests ‑ testRabbitMqProperties()
gov.va.vro.abddataaccess.exception.AbdExceptionTest ‑ test()
gov.va.vro.abddataaccess.model.AbdResponseTest ‑ test()
gov.va.vro.abddataaccess.service.FhirClientTest ‑ testGetAbdEvidence()
gov.va.vro.abddataaccess.service.FhirClientTest ‑ testGetBloodPressure()
gov.va.vro.abddataaccess.service.FhirClientTest ‑ testGetMedicalEvidence()
gov.va.vro.abddataaccess.service.FhirClientTest ‑ testMedicalEvidenceEmptyBundles()
gov.va.vro.abddataaccess.service.FieldExtractorTest ‑ testBloodPressureMeasurement()
gov.va.vro.abddataaccess.service.FieldExtractorTest ‑ testExtractBloodPressure()
gov.va.vro.abddataaccess.service.FieldExtractorTest ‑ testExtractCondition()
…

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Apr 22, 2024

JaCoCo Test Coverage

Overall Project 72.99%

There is no coverage information present for the Files changed

@msnwatson msnwatson marked this pull request as ready for review April 22, 2024 21:51
@msnwatson msnwatson requested a review from a team as a code owner April 22, 2024 21:51
Copy link
Contributor

@chengjie8 chengjie8 left a comment

Choose a reason for hiding this comment

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

LGTM

@msnwatson msnwatson force-pushed the mwatson/rm-unused-svcs branch from d356038 to b3cd3a1 Compare April 23, 2024 20:14
@lisac
Copy link
Contributor

lisac commented Apr 23, 2024

looks good to me. two questions, neither of which should hold up the PR.

  1. the helm chart deploy.sh handles a case for svc-lighthouse-api - is that still needed?

    abd-vro/helm/deploy.sh

    Lines 83 to 84 in b3cd3a1

    svc-lighthouse-api)
    HELM_ARGS="$HELM_ARGS --set-string imageTag=$svclighthouseapi_VER ";;

  2. should we re-generate image_vars.src to remove its references tosvc-lighthouse-api? for example:

    VRO_IMAGES_ARR=( postgres redis rabbitmq api-gateway app db-init dev-tools svc-bgs-api svc-lighthouse-api svc-bie-kafka svc-bip-api xample-workflows cc-app ee-max-cfi-app ee-ep-merge-app )

if these are relevant, could be addressed in a follow-up PR.

Copy link
Contributor

@nelsestu nelsestu left a comment

Choose a reason for hiding this comment

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

Just what I'd expect to see. 6k removed 1 added

@msnwatson
Copy link
Contributor Author

looks good to me. two questions, neither of which should hold up the PR.

  1. the helm chart deploy.sh handles a case for svc-lighthouse-api - is that still needed?

    abd-vro/helm/deploy.sh

    Lines 83 to 84 in b3cd3a1

    svc-lighthouse-api)
    HELM_ARGS="$HELM_ARGS --set-string imageTag=$svclighthouseapi_VER ";;
  2. should we re-generate image_vars.src to remove its references tosvc-lighthouse-api? for example:
    VRO_IMAGES_ARR=( postgres redis rabbitmq api-gateway app db-init dev-tools svc-bgs-api svc-lighthouse-api svc-bie-kafka svc-bip-api xample-workflows cc-app ee-max-cfi-app ee-ep-merge-app )

if these are relevant, could be addressed in a follow-up PR.

Good catches, @lisac. Nothing would go wrong if we waited on these, but I'll go ahead and knock them out

@msnwatson msnwatson merged commit 5a1d56a into develop Apr 23, 2024
1 check passed
@msnwatson msnwatson deleted the mwatson/rm-unused-svcs branch April 23, 2024 22:20
Ponnia-M pushed a commit that referenced this pull request Jul 22, 2024
* rm svc-lighthouse-api

* rm svc-lighthouse-api
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.

4 participants