From efb5e7b419aee9f26bc60ea2625d432bcb61148e Mon Sep 17 00:00:00 2001 From: Adam Mohammed Date: Tue, 4 Jul 2023 13:09:27 -0400 Subject: [PATCH] Update 7/4 --- notes.org | 9 +------- notes.org_archive | 58 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 8 deletions(-) diff --git a/notes.org b/notes.org index 7b2f8ae..bf30a44 100644 --- a/notes.org +++ b/notes.org @@ -1,12 +1,5 @@ * Tasks -** TODO Keep going with Infratographer events - - The papertrail gem lets you know what changed - `o.versions.first.object_changes` yields the last set of saved changes - - Need to whitelist which fields are shareable - - Plan, take the raw change set - - Reduce changeset to whitelisted fields - - Emit that change set to infratographer. - - Try to figure out what the event structure for a membership being added means. +** TODO Present Users through the ResourceOwnerShim ** TODO Write ExternalSecretPush for DB creds and Secret key base ** TODO Try to deploy ** TODO Put together POC for micro-caching RAILS diff --git a/notes.org_archive b/notes.org_archive index 6c0fb7a..ecb4a10 100644 --- a/notes.org_archive +++ b/notes.org_archive @@ -314,3 +314,61 @@ Cluster api - failed provision :ARCHIVE_CATEGORY: notes :ARCHIVE_TODO: DONE :END: + +* DONE Figure out why api-internal is stuck +:PROPERTIES: +:ARCHIVE_TIME: 2023-07-04 Tue 13:04 +:ARCHIVE_FILE: ~/org-notes/notes.org +:ARCHIVE_OLPATH: Tasks +:ARCHIVE_CATEGORY: notes +:ARCHIVE_TODO: DONE +:END: + problem: Still in INIT after 11m + node: Successfully assigned api/api-internal-697b64c8b7-vfwrh to prod-ny5-core-09 + api-internal was missing NATS configuration, db:seed was triggering NATS events + +* TODO Keep going with Infratographer events +:PROPERTIES: +:ARCHIVE_TIME: 2023-07-04 Tue 13:08 +:ARCHIVE_FILE: ~/org-notes/notes.org +:ARCHIVE_OLPATH: Tasks +:ARCHIVE_CATEGORY: notes +:ARCHIVE_TODO: TODO +:END: + - The papertrail gem lets you know what changed + `o.versions.first.object_changes` yields the last set of saved changes + - Need to whitelist which fields are shareable + - Plan, take the raw change set + - Reduce changeset to whitelisted fields + - Emit that change set to infratographer. + - Try to figure out what the event structure for a membership being added means. + + Revision: We ditched the changes and just slapped the object IDs + in the event. + + This is actually a good move. By just generating event by the ID we + reduce the chance that consumers depend on the state of an object + instead of just the ID. + +* DONE Keep going with Infratographer events +:PROPERTIES: +:ARCHIVE_TIME: 2023-07-04 Tue 13:09 +:ARCHIVE_FILE: ~/org-notes/notes.org +:ARCHIVE_OLPATH: Tasks +:ARCHIVE_CATEGORY: notes +:ARCHIVE_TODO: DONE +:END: + - The papertrail gem lets you know what changed + `o.versions.first.object_changes` yields the last set of saved changes + - Need to whitelist which fields are shareable + - Plan, take the raw change set + - Reduce changeset to whitelisted fields + - Emit that change set to infratographer. + - Try to figure out what the event structure for a membership being added means. + + Revision: We ditched the changes and just slapped the object IDs + in the event. + + This is actually a good move. By just generating event by the ID we + reduce the chance that consumers depend on the state of an object + instead of just the ID.