Skip to content

Commit

Permalink
PMM-12910 snooze updates (#3018)
Browse files Browse the repository at this point in the history
* store snoozed PMM versions

* replace type with pointer

* use pointer for snoozed versions

* revert clickhouse port
  • Loading branch information
idoqo authored Aug 19, 2024
1 parent 6a42b21 commit 0be6f30
Show file tree
Hide file tree
Showing 13 changed files with 203 additions and 76 deletions.
16 changes: 16 additions & 0 deletions api/swagger/swagger-dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -27881,6 +27881,11 @@
"type": "boolean",
"title": "Alerting Tour",
"x-order": 2
},
"snoozed_pmm_version": {
"type": "string",
"title": "Snoozed PMM version update",
"x-order": 3
}
}
}
Expand Down Expand Up @@ -27944,6 +27949,12 @@
"title": "Alerting Tour",
"x-nullable": true,
"x-order": 1
},
"snoozed_pmm_version": {
"type": "string",
"title": "Snooze update alert for a PMM version",
"x-nullable": true,
"x-order": 2
}
}
}
Expand All @@ -27970,6 +27981,11 @@
"type": "boolean",
"title": "Alerting Tour",
"x-order": 2
},
"snoozed_pmm_version": {
"type": "string",
"title": "Snooze update alert for a PMM version",
"x-order": 3
}
}
}
Expand Down
16 changes: 16 additions & 0 deletions api/swagger/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -26923,6 +26923,11 @@
"type": "boolean",
"title": "Alerting Tour",
"x-order": 2
},
"snoozed_pmm_version": {
"type": "string",
"title": "Snoozed PMM version update",
"x-order": 3
}
}
}
Expand Down Expand Up @@ -26986,6 +26991,12 @@
"title": "Alerting Tour",
"x-nullable": true,
"x-order": 1
},
"snoozed_pmm_version": {
"type": "string",
"title": "Snooze update alert for a PMM version",
"x-nullable": true,
"x-order": 2
}
}
}
Expand All @@ -27012,6 +27023,11 @@
"type": "boolean",
"title": "Alerting Tour",
"x-order": 2
},
"snoozed_pmm_version": {
"type": "string",
"title": "Snooze update alert for a PMM version",
"x-order": 3
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions api/user/v1/json/client/user_service/get_user_responses.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions api/user/v1/json/client/user_service/update_user_responses.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions api/user/v1/json/v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@
"title": "Product Tour",
"x-order": 1
},
"snoozed_pmm_version": {
"type": "string",
"title": "Snoozed PMM version update",
"x-order": 3
},
"user_id": {
"type": "integer",
"format": "int64",
Expand Down Expand Up @@ -181,6 +186,12 @@
"title": "Product Tour",
"x-nullable": true,
"x-order": 0
},
"snoozed_pmm_version": {
"type": "string",
"title": "Snooze update alert for a PMM version",
"x-nullable": true,
"x-order": 2
}
}
}
Expand All @@ -202,6 +213,11 @@
"title": "Product Tour",
"x-order": 1
},
"snoozed_pmm_version": {
"type": "string",
"title": "Snooze update alert for a PMM version",
"x-order": 3
},
"user_id": {
"type": "integer",
"format": "int64",
Expand Down
Loading

0 comments on commit 0be6f30

Please sign in to comment.