-
Notifications
You must be signed in to change notification settings - Fork 0
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
TSPS-174 renaming non cosmetic things from tsps to teaspoons #93
base: main
Are you sure you want to change the base?
Conversation
@@ -138,8 +138,8 @@ jobs: | |||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |||
with: | |||
status: failure | |||
channel: "#terra-tsps-alerts" | |||
username: "TSPS push to main branch" | |||
channel: "#terra-teaspoons-alerts" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how hard is it to change slack channel names?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not hard!
@@ -82,7 +82,7 @@ SonarQube and want to debug the problem locally, you need to get the sonar token | |||
before running the gradle task. | |||
|
|||
```shell | |||
export SONAR_TOKEN=$(vault read -field=sonar_token secret/secops/ci/sonarcloud/tsps) | |||
export SONAR_TOKEN=$(vault read -field=sonar_token secret/secops/ci/sonarcloud/teaspoons) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want to change our vault path?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good question for @choover-broad
README.md
Outdated
|
||
For more information about deployment to dev, check out DevOps' [excellent documentation](https://docs.google.com/document/d/1lkUkN2KOpHKWufaqw_RIE7EN3vN4G2xMnYBU83gi8VA/). | ||
|
||
### Tracing | ||
|
||
We use [OpenTelemetry](https://opentelemetry.io/) for tracing, so that every request has a tracing span that can | ||
be viewed in [Google Cloud Trace](https://cloud.google.com/trace). (This is not yet fully set up here - to be done in TSPS-107). | ||
be viewed in [Google Cloud Trace](https://cloud.google.com/trace). (This is not yet fully set up here - to be done in Teaspoons-107). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we change the shortname of our jira board/tickets easily and what do we rename it to if it is?
@@ -9,7 +9,7 @@ env: | |||
pass: ${DATABASE_USER_PASSWORD:dbpwd} | |||
user: ${DATABASE_USER:dbuser} | |||
stairway: | |||
name: ${STAIRWAY_DATABASE_NAME:tsps_stairway_db} | |||
name: ${STAIRWAY_DATABASE_NAME:teaspoons_stairway_db} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def need to make sure these database values are changed upstream
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah i wonder what the process will be for updating BEEs
@@ -138,8 +138,8 @@ jobs: | |||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |||
with: | |||
status: failure | |||
channel: "#terra-tsps-alerts" | |||
username: "TSPS push to main branch" | |||
channel: "#terra-teaspoons-alerts" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not hard!
@@ -82,7 +82,7 @@ SonarQube and want to debug the problem locally, you need to get the sonar token | |||
before running the gradle task. | |||
|
|||
```shell | |||
export SONAR_TOKEN=$(vault read -field=sonar_token secret/secops/ci/sonarcloud/tsps) | |||
export SONAR_TOKEN=$(vault read -field=sonar_token secret/secops/ci/sonarcloud/teaspoons) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good question for @choover-broad
README.md
Outdated
|
||
For more information about deployment to dev, check out DevOps' [excellent documentation](https://docs.google.com/document/d/1lkUkN2KOpHKWufaqw_RIE7EN3vN4G2xMnYBU83gi8VA/). | ||
|
||
### Tracing | ||
|
||
We use [OpenTelemetry](https://opentelemetry.io/) for tracing, so that every request has a tracing span that can | ||
be viewed in [Google Cloud Trace](https://cloud.google.com/trace). (This is not yet fully set up here - to be done in TSPS-107). | ||
be viewed in [Google Cloud Trace](https://cloud.google.com/trace). (This is not yet fully set up here - to be done in TEASPOONS-107). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did we decide on a new Jira handle yet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i dont think we have. I thougth i put a comment about that somewhere but i dont see it =/
@@ -26,7 +26,7 @@ | |||
"bio.terra.common.retry.transaction", | |||
// Stairway initialization and status | |||
"bio.terra.common.stairway", | |||
// Scan all TSPS service packages | |||
// Scan all Teaspoons service packages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we change the whole "pipelines" package to "teaspoons"? (referenced in the next line)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i actually like pipelines. Similar to like workspace manager, their package name is workspace
@@ -43,11 +43,11 @@ public MethodListResponse getAllMethods(String cbasBaseUri, String accessToken) | |||
* .methodDescription("method description") // | |||
* .methodSource(PostMethodRequest.MethodSourceEnum.GITHUB) // .methodUrl(pipeline.getWdlUrl()) // | |||
* .methodVersion("1.0"); // logger.info( // "this is creating a new method in cbas: {}", // | |||
* cbasService.createMethod( // cbasUri, samService.getTspsServiceAccountToken(), | |||
* cbasService.createMethod( // cbasUri, samService.getTeasponnsServiceAccountToken(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo (though I kinda love "teasponns" 😂 )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its so hard to spell it sometimes!!!
try { | ||
GoogleCredentials creds = | ||
GoogleCredentials.getApplicationDefault().createScoped(SAM_OAUTH_SCOPES); | ||
creds.refreshIfExpired(); | ||
return creds.getAccessToken().getTokenValue(); | ||
} catch (IOException e) { | ||
throw new InternalServerErrorException( | ||
"Internal server error retrieving TSPS credentials", e); | ||
"Internal server error retrieving Teaspoons credentials", e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this message get returned to the user? do we want a different user-facing name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh thats a good point, should we say Terra Scientific Pipeline Services instead
?
@@ -155,7 +155,8 @@ public <T> JobResultOrException<T> retrieveJobResult( | |||
|
|||
switch (flightState.getFlightStatus()) { | |||
case FATAL: | |||
logAlert("TSPS Stairway flight {} encountered dismal failure", flightState.getFlightId()); | |||
logAlert( | |||
"Teaspoons Stairway flight {} encountered dismal failure", flightState.getFlightId()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we probably don't need to include "teaspoons" in these log messages at all...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
@@ -9,7 +9,7 @@ env: | |||
pass: ${DATABASE_USER_PASSWORD:dbpwd} | |||
user: ${DATABASE_USER:dbuser} | |||
stairway: | |||
name: ${STAIRWAY_DATABASE_NAME:tsps_stairway_db} | |||
name: ${STAIRWAY_DATABASE_NAME:teaspoons_stairway_db} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah i wonder what the process will be for updating BEEs
f675487
to
e1813d1
Compare
Quality Gate passedIssues Measures |
e1813d1
to
9bdcf67
Compare
9bdcf67
to
44fcd84
Compare
value: imputation | ||
- column: | ||
name: wdl_url | ||
value: https://github.com/broadinstitute/warp/blob/TSPS-183_mma_beagle_imputation_hg38/pipelines/broad/arrays/imputation_beagle/ImputationBeagle.wdl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wasnt sure if this was correct but i think this is the latest value we have
Quality Gate passedIssues Measures |
Description
We decided to rename out internal short name from tsps to teaspoons. This is making the changes in our repo first so we know what downstream things we should look into changing and try to merge the changes in logical order
working workflow with the consolidated db changesets - https://bvdp-saturn-dev.appspot.com/#workspaces/teaspoons-imputation-dev/teaspoons_imputation_dev_control_workspace_20240726/job_history/89bce976-a937-4829-bbe7-ad7d4e5dece8
Jira Ticket
https://broadworkbench.atlassian.net/browse/TSPS-174