Skip to content

Commit

Permalink
refactor(kubernetes): move versionComment to common metadata (#2903)
Browse files Browse the repository at this point in the history
Because the backend always emits the field,
so it should go with the other "Loculus internal metadata fields".
  • Loading branch information
fengelniederhammer authored Sep 30, 2024
1 parent af10e80 commit ff136d0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,8 @@ open class SubmissionDatabaseService(
SequenceEntriesTable.versionColumn,
SequenceEntriesTable.versionCommentColumn,
SequenceEntriesTable.submissionIdColumn,
SequenceEntriesTable.submitterColumn, SequenceEntriesTable.groupIdColumn,
SequenceEntriesTable.submitterColumn,
SequenceEntriesTable.groupIdColumn,
SequenceEntriesTable.submittedAtTimestampColumn,
SequenceEntriesTable.isRevocationColumn,
SequenceEntriesTable.organismColumn,
Expand Down
4 changes: 4 additions & 0 deletions kubernetes/loculus/templates/_common-metadata.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ fields:
type: string
notSearchable: true
hideOnSequenceDetailsPage: true
- name: versionComment
type: string
displayName: Version comment
header: Submission details
{{- if $.Values.dataUseTermsUrls }}
- name: dataUseTermsUrl
displayName: Data use terms URL
Expand Down
7 changes: 3 additions & 4 deletions kubernetes/loculus/templates/keycloak-config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ data:
]
}
},
{{ end }}
{{ end }}
{
"username": "insdc_ingest_user",
"enabled": true,
Expand Down Expand Up @@ -260,8 +260,7 @@ data:
"http://localhost:3000/*"
]
},
{
{
"clientId" : "account-console2",
"name" : "${client_account-console}",
"description" : "",
Expand Down Expand Up @@ -319,7 +318,7 @@ data:
, "userProfileEnabled" : "true"
},
"components": {
"org.keycloak.userprofile.UserProfileProvider" : [ {
"org.keycloak.userprofile.UserProfileProvider" : [ {
"providerId" : "declarative-user-profile",
"subComponents" : { },
"config" : {
Expand Down
3 changes: 0 additions & 3 deletions kubernetes/loculus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1059,9 +1059,6 @@ defaultOrganismConfig: &defaultOrganismConfig
type: percentage
preprocessing:
inputs: {input: nextclade.coverage}
- name: versionComment
displayName: Version comment
header: Submission details
website: &website
tableColumns:
- sampleCollectionDate
Expand Down

0 comments on commit ff136d0

Please sign in to comment.