From d5399120665ba8cef300d3ce8eb0530bf316388c Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Thu, 2 Apr 2026 00:56:25 +0100 Subject: [PATCH 1/5] add domain scan workers --- config/trustcenter/.env.example | 12 ++++ config/trustcenter/config.example.yaml | 16 +++++ config/trustcenter/configmap.yaml | 12 ++++ configgen/api-docs.md | 86 ++++++++++++++++++++++++++ configgen/riverboat.config.json | 72 +++++++++++++++++++++ go.mod | 6 ++ go.sum | 6 -- trustcenter/additionalconfig_tc.go | 8 +++ trustcenter/additionalworkers_tc.go | 27 ++++++++ trustcenter/go.mod | 6 ++ trustcenter/go.sum | 6 -- 11 files changed, 245 insertions(+), 12 deletions(-) diff --git a/config/trustcenter/.env.example b/config/trustcenter/.env.example index 0c5df37..6d0eb62 100644 --- a/config/trustcenter/.env.example +++ b/config/trustcenter/.env.example @@ -107,6 +107,18 @@ RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEPREVIEWDOMAINACMEWORKER_CONFIG_ENABLED= RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEPREVIEWDOMAINACMEWORKER_CONFIG_CLOUDFLAREAPIKEY="" RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEPREVIEWDOMAINACMEWORKER_CONFIG_MAXSNOOZES="" RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEPREVIEWDOMAINACMEWORKER_CONFIG_SNOOZEDURATION="" +RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_OPENLANEAPIHOST="" +RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_OPENLANEAPITOKEN="" +RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_ENABLED="" +RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_CLOUDFLAREACCOUNTID="" +RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_CLOUDFLAREAPIKEY="" +RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_OPENLANEAPIHOST="" +RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_OPENLANEAPITOKEN="" +RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_ENABLED="" +RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_CLOUDFLAREACCOUNTID="" +RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_CLOUDFLAREAPIKEY="" +RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_MAXSNOOZES="" +RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_SNOOZEDURATION="" RIVERBOAT_RIVER_DEFAULTMAXRETRIES="10" RIVERBOAT_RIVER_METRICS_ENABLEMETRICS="false" RIVERBOAT_RIVER_METRICS_METRICSDURATIONUNIT="ms" diff --git a/config/trustcenter/config.example.yaml b/config/trustcenter/config.example.yaml index fbc8798..ab1009d 100644 --- a/config/trustcenter/config.example.yaml +++ b/config/trustcenter/config.example.yaml @@ -42,6 +42,13 @@ river: openlaneapihost: "" openlaneapitoken: "" validateinterval: 0 + createdomainscanworker: + config: + cloudflareaccountid: "" + cloudflareapikey: "" + enabled: false + openlaneapihost: "" + openlaneapitoken: "" createpirschdomainworker: config: enabled: false @@ -90,6 +97,15 @@ river: openlaneconfig: openlaneapihost: "" openlaneapitoken: "" + retrievedomainscanworker: + config: + cloudflareaccountid: "" + cloudflareapikey: "" + enabled: false + maxsnoozes: 0 + openlaneapihost: "" + openlaneapitoken: "" + snoozeduration: 0 updatepirschdomainworker: config: enabled: false diff --git a/config/trustcenter/configmap.yaml b/config/trustcenter/configmap.yaml index 0a57a27..0d7cfc5 100644 --- a/config/trustcenter/configmap.yaml +++ b/config/trustcenter/configmap.yaml @@ -119,6 +119,18 @@ data: RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEPREVIEWDOMAINACMEWORKER_CONFIG_CLOUDFLAREAPIKEY: {{ .Values.riverboat.river.trustcenterworkers.createpreviewdomainacmeworker.config.cloudflareapikey }} RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEPREVIEWDOMAINACMEWORKER_CONFIG_MAXSNOOZES: {{ .Values.riverboat.river.trustcenterworkers.createpreviewdomainacmeworker.config.maxsnoozes }} RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEPREVIEWDOMAINACMEWORKER_CONFIG_SNOOZEDURATION: {{ .Values.riverboat.river.trustcenterworkers.createpreviewdomainacmeworker.config.snoozeduration }} + RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_OPENLANEAPIHOST: {{ .Values.riverboat.river.trustcenterworkers.createdomainscanworker.config.openlaneapihost }} + RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_OPENLANEAPITOKEN: {{ .Values.riverboat.river.trustcenterworkers.createdomainscanworker.config.openlaneapitoken }} + RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_ENABLED: {{ .Values.riverboat.river.trustcenterworkers.createdomainscanworker.config.enabled }} + RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_CLOUDFLAREACCOUNTID: {{ .Values.riverboat.river.trustcenterworkers.createdomainscanworker.config.cloudflareaccountid }} + RIVERBOAT_RIVER_TRUSTCENTERWORKERS_CREATEDOMAINSCANWORKER_CONFIG_CLOUDFLAREAPIKEY: {{ .Values.riverboat.river.trustcenterworkers.createdomainscanworker.config.cloudflareapikey }} + RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_OPENLANEAPIHOST: {{ .Values.riverboat.river.trustcenterworkers.retrievedomainscanworker.config.openlaneapihost }} + RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_OPENLANEAPITOKEN: {{ .Values.riverboat.river.trustcenterworkers.retrievedomainscanworker.config.openlaneapitoken }} + RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_ENABLED: {{ .Values.riverboat.river.trustcenterworkers.retrievedomainscanworker.config.enabled }} + RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_CLOUDFLAREACCOUNTID: {{ .Values.riverboat.river.trustcenterworkers.retrievedomainscanworker.config.cloudflareaccountid }} + RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_CLOUDFLAREAPIKEY: {{ .Values.riverboat.river.trustcenterworkers.retrievedomainscanworker.config.cloudflareapikey }} + RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_MAXSNOOZES: {{ .Values.riverboat.river.trustcenterworkers.retrievedomainscanworker.config.maxsnoozes }} + RIVERBOAT_RIVER_TRUSTCENTERWORKERS_RETRIEVEDOMAINSCANWORKER_CONFIG_SNOOZEDURATION: {{ .Values.riverboat.river.trustcenterworkers.retrievedomainscanworker.config.snoozeduration }} RIVERBOAT_RIVER_DEFAULTMAXRETRIES: {{ .Values.riverboat.river.defaultmaxretries | default 10 }} RIVERBOAT_RIVER_METRICS_ENABLEMETRICS: {{ .Values.riverboat.river.metrics.enablemetrics | default false }} RIVERBOAT_RIVER_METRICS_METRICSDURATIONUNIT: {{ .Values.riverboat.river.metrics.metricsdurationunit | default "ms" }} diff --git a/configgen/api-docs.md b/configgen/api-docs.md index b1e3969..697dd21 100644 --- a/configgen/api-docs.md +++ b/configgen/api-docs.md @@ -77,6 +77,12 @@ }, "createpreviewdomainacmeworker": { "config": {} + }, + "createdomainscanworker": { + "config": {} + }, + "retrievedomainscanworker": { + "config": {} } }, "metrics": {} @@ -170,6 +176,12 @@ Config is the configuration for the river server }, "createpreviewdomainacmeworker": { "config": {} + }, + "createdomainscanworker": { + "config": {} + }, + "retrievedomainscanworker": { + "config": {} } }, "metrics": {} @@ -447,6 +459,8 @@ SlackConfig configures the Slack worker. |[**validatepreviewdomainworker**](#rivertrustcenterworkersvalidatepreviewdomainworker)|`object`||| |[**attestndarequestworker**](#rivertrustcenterworkersattestndarequestworker)|`object`||| |[**createpreviewdomainacmeworker**](#rivertrustcenterworkerscreatepreviewdomainacmeworker)|`object`||| +|[**createdomainscanworker**](#rivertrustcenterworkerscreatedomainscanworker)|`object`||| +|[**retrievedomainscanworker**](#rivertrustcenterworkersretrievedomainscanworker)|`object`||| **Additional Properties:** not allowed **Example** @@ -495,6 +509,12 @@ SlackConfig configures the Slack worker. }, "createpreviewdomainacmeworker": { "config": {} + }, + "createdomainscanworker": { + "config": {} + }, + "retrievedomainscanworker": { + "config": {} } } ``` @@ -983,6 +1003,72 @@ OpenlaneConfig contains the configuration for connecting to the Openlane API. |**maxsnoozes**|`integer`||yes| |**snoozeduration**|`integer`||yes| +**Additional Properties:** not allowed + +#### river\.trustcenterworkers\.createdomainscanworker: object + +**Properties** + +|Name|Type|Description|Required| +|----|----|-----------|--------| +|[**config**](#rivertrustcenterworkerscreatedomainscanworkerconfig)|`object`||| + +**Additional Properties:** not allowed +**Example** + +```json +{ + "config": {} +} +``` + + +##### river\.trustcenterworkers\.createdomainscanworker\.config: object + +**Properties** + +|Name|Type|Description|Required| +|----|----|-----------|--------| +|**openlaneapihost**|`string`||| +|**openlaneapitoken**|`string`||| +|**enabled**|`boolean`||| +|**cloudflareaccountid**|`string`||| +|**cloudflareapikey**|`string`||| + +**Additional Properties:** not allowed + +#### river\.trustcenterworkers\.retrievedomainscanworker: object + +**Properties** + +|Name|Type|Description|Required| +|----|----|-----------|--------| +|[**config**](#rivertrustcenterworkersretrievedomainscanworkerconfig)|`object`||| + +**Additional Properties:** not allowed +**Example** + +```json +{ + "config": {} +} +``` + + +##### river\.trustcenterworkers\.retrievedomainscanworker\.config: object + +**Properties** + +|Name|Type|Description|Required| +|----|----|-----------|--------| +|**openlaneapihost**|`string`||| +|**openlaneapitoken**|`string`||| +|**enabled**|`boolean`||| +|**cloudflareaccountid**|`string`||| +|**cloudflareapikey**|`string`||| +|**maxsnoozes**|`integer`||| +|**snoozeduration**|`integer`||| + **Additional Properties:** not allowed ### river\.metrics: object diff --git a/configgen/riverboat.config.json b/configgen/riverboat.config.json index aeb0b98..3bbe5e6 100644 --- a/configgen/riverboat.config.json +++ b/configgen/riverboat.config.json @@ -46,6 +46,36 @@ "additionalProperties": false, "type": "object" }, + "corejobs.CreateDomainScanConfig": { + "properties": { + "openlaneapihost": { + "type": "string" + }, + "openlaneapitoken": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "cloudflareaccountid": { + "type": "string" + }, + "cloudflareapikey": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "corejobs.CreateDomainScanWorker": { + "properties": { + "config": { + "$ref": "#/$defs/corejobs.CreateDomainScanConfig" + } + }, + "additionalProperties": false, + "type": "object" + }, "corejobs.CreatePirschDomainWorker": { "properties": { "config": { @@ -223,6 +253,42 @@ "additionalProperties": false, "type": "object" }, + "corejobs.RetrieveDomainScanConfig": { + "properties": { + "openlaneapihost": { + "type": "string" + }, + "openlaneapitoken": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "cloudflareaccountid": { + "type": "string" + }, + "cloudflareapikey": { + "type": "string" + }, + "maxsnoozes": { + "type": "integer" + }, + "snoozeduration": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "corejobs.RetrieveDomainScanWorker": { + "properties": { + "config": { + "$ref": "#/$defs/corejobs.RetrieveDomainScanConfig" + } + }, + "additionalProperties": false, + "type": "object" + }, "corejobs.UpdatePirschDomainWorker": { "properties": { "config": { @@ -712,6 +778,12 @@ }, "createpreviewdomainacmeworker": { "$ref": "#/$defs/corejobs.CreatePreviewDomainAcmeWorker" + }, + "createdomainscanworker": { + "$ref": "#/$defs/corejobs.CreateDomainScanWorker" + }, + "retrievedomainscanworker": { + "$ref": "#/$defs/corejobs.RetrieveDomainScanWorker" } }, "additionalProperties": false, diff --git a/go.mod b/go.mod index 8bd1ce6..68e4cd2 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,12 @@ go 1.25.8 replace github.com/theopenlane/riverboat/trustcenter => ./trustcenter +replace github.com/theopenlane/corejobs => ../corejobs/ + +replace github.com/theopenlane/core/common => ../core/common/ + +replace github.com/theopenlane/go-client => ../go-client/ + require ( github.com/99designs/gqlgen v0.17.89 github.com/gertd/go-pluralize v0.2.1 diff --git a/go.sum b/go.sum index 6b2acde..6c4b330 100644 --- a/go.sum +++ b/go.sum @@ -222,18 +222,12 @@ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= github.com/theopenlane/core v1.15.0 h1:bQF1vNcdSQre6pSXCOhLACOBHU80ypyDmrfGNUwoo8Y= github.com/theopenlane/core v1.15.0/go.mod h1:dqgNfvJAerKnW6m+nPtY8a61v5AJRAMcp70QWOUp8AA= -github.com/theopenlane/core/common v1.0.16 h1:2IMvfuHVchGdGqVRiiYu6FFtYu2+7YyiKFbb4mV3XQI= -github.com/theopenlane/core/common v1.0.16/go.mod h1:+OOhH2NYhLgngkFgkwJZdFTgbB6e+X+pXVXBG8hrZ/M= -github.com/theopenlane/corejobs v0.1.20 h1:Gd53NMMr4PPKCh1SRxF5wFOZTjXVFEMxXLWUWY8H+xY= -github.com/theopenlane/corejobs v0.1.20/go.mod h1:9lqTWZo1GyRh/h0aI2O77jovE6aucQIq0Ph+ILiRvx8= github.com/theopenlane/dbx v0.1.3 h1:6zncXgqnvRyz5OuCDPM07xmOiBXS7q7U9GSMOWu3vNc= github.com/theopenlane/dbx v0.1.3/go.mod h1:/bcz8oKFK3qrakLw0yHCAFY6fGnTOC3CntM0jMj3GDk= github.com/theopenlane/echox v0.3.0 h1:uwOKEw+r1utGQoOR6dZQqAVuY5j8TcasqnTwO5+rMsA= github.com/theopenlane/echox v0.3.0/go.mod h1:yTrXnj7s3VNIg0FCvB7Dut2Elr+LqJKU/nruxx1E1cM= github.com/theopenlane/emailtemplates v0.3.6 h1:ZBoaOD5wAmqfLywjlEK7H/nvshnE0J1WBT93Uiz84EI= github.com/theopenlane/emailtemplates v0.3.6/go.mod h1:VmTIBAJ9XQ+QOi7ZcaOjoEv0NxsuPKcR7Pz0N3EQeJE= -github.com/theopenlane/go-client v0.9.1 h1:VjQgL55O5vSGKKX0wj+untHmmLdcdvPBtihxHca+Uu0= -github.com/theopenlane/go-client v0.9.1/go.mod h1:jZ0E6UVSX1fv2RPvMbSZb+oM23VAQjdKZrQyxm0GxtU= github.com/theopenlane/httpsling v0.3.0 h1:Bad0dGdqCqAB8UVDyVo+YCevzRvGHhmkK22F7T3pXtY= github.com/theopenlane/httpsling v0.3.0/go.mod h1:iJc3XRLYTFIpfCnPpLZVMBP0xsWIPAb7ozARtQoclAE= github.com/theopenlane/iam v0.27.5 h1:FuRbVK2qEiRBelMKho1asHJpk8jSdtcG9/+0MMgx7HY= diff --git a/trustcenter/additionalconfig_tc.go b/trustcenter/additionalconfig_tc.go index fdfe057..8e3510a 100644 --- a/trustcenter/additionalconfig_tc.go +++ b/trustcenter/additionalconfig_tc.go @@ -46,6 +46,14 @@ type Workers struct { // AttestNDARequestWorker configuration for attesting NDA requests AttestNDARequestWorker corejobs.AttestNDARequestWorker `koanf:"attestndarequestworker" json:"attestndarequestworker"` + // CreatePreviewDomainAcmeWorker for storing the acme content from cloudflare so we can serve it when request CreatePreviewDomainAcmeWorker corejobs.CreatePreviewDomainAcmeWorker `koanf:"createpreviewdomainacmeworker" json:"createpreviewdomainacmeworker"` + + // CreateDomainScanWorker for pinging cloudflare to start the scanning + CreateDomainScanWorker corejobs.CreateDomainScanWorker `koanf:"createdomainscanworker" json:"createdomainscanworker"` + + // RetrieveDomainScanWorker for fetching the scan data from cloudflare and creating a notification + RetrieveDomainScanWorker corejobs.RetrieveDomainScanWorker `koanf:"retrievedomainscanworker" json:"retrievedomainscanworker"` + // add more trust center specific workers here } diff --git a/trustcenter/additionalworkers_tc.go b/trustcenter/additionalworkers_tc.go index 0c4e01c..84a8bd5 100644 --- a/trustcenter/additionalworkers_tc.go +++ b/trustcenter/additionalworkers_tc.go @@ -72,6 +72,33 @@ func AddConditionalWorkers(workers *river.Workers, w Workers, insertOnlyClient * log.Info().Msg("worker enabled: create preview domain") } + if w.CreateDomainScanWorker.Config.Enabled { + if err := setAndValidateOpenlaneConfigDefaults(&w.CreateDomainScanWorker.Config.OpenlaneConfig, w.OpenlaneConfig); err != nil { + log.Error().Err(err).Msg("failed to set and validate openlane config defaults for domain scan creation worker") + return nil, err + } + + w.CreateDomainScanWorker.WithRiverClient(insertOnlyClient) + if err := river.AddWorkerSafely(workers, &w.CreateDomainScanWorker); err != nil { + return nil, err + } + + log.Info().Msg("worker enabled: create domain scan") + } + + if w.RetrieveDomainScanWorker.Config.Enabled { + if err := setAndValidateOpenlaneConfigDefaults(&w.RetrieveDomainScanWorker.Config.OpenlaneConfig, w.OpenlaneConfig); err != nil { + log.Error().Err(err).Msg("failed to set and validate openlane config defaults for domain scan retrieval worker") + return nil, err + } + + if err := river.AddWorkerSafely(workers, &w.RetrieveDomainScanWorker); err != nil { + return nil, err + } + + log.Info().Msg("worker enabled: create domain scan") + } + // add more workers here return workers, nil diff --git a/trustcenter/go.mod b/trustcenter/go.mod index 1a84370..abf6af6 100644 --- a/trustcenter/go.mod +++ b/trustcenter/go.mod @@ -10,6 +10,12 @@ require ( github.com/theopenlane/riverboat v0.9.8 ) +replace github.com/theopenlane/corejobs => ../../corejobs/ + +replace github.com/theopenlane/core/common => ../../core/common/ + +replace github.com/theopenlane/go-client => ../../go-client/ + require ( github.com/99designs/gqlgen v0.17.89 // indirect github.com/Yamashou/gqlgenc v0.33.0 // indirect diff --git a/trustcenter/go.sum b/trustcenter/go.sum index 95476af..4a68b1a 100644 --- a/trustcenter/go.sum +++ b/trustcenter/go.sum @@ -160,18 +160,12 @@ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= github.com/theopenlane/core v1.15.0 h1:bQF1vNcdSQre6pSXCOhLACOBHU80ypyDmrfGNUwoo8Y= github.com/theopenlane/core v1.15.0/go.mod h1:dqgNfvJAerKnW6m+nPtY8a61v5AJRAMcp70QWOUp8AA= -github.com/theopenlane/core/common v1.0.16 h1:2IMvfuHVchGdGqVRiiYu6FFtYu2+7YyiKFbb4mV3XQI= -github.com/theopenlane/core/common v1.0.16/go.mod h1:+OOhH2NYhLgngkFgkwJZdFTgbB6e+X+pXVXBG8hrZ/M= -github.com/theopenlane/corejobs v0.1.20 h1:Gd53NMMr4PPKCh1SRxF5wFOZTjXVFEMxXLWUWY8H+xY= -github.com/theopenlane/corejobs v0.1.20/go.mod h1:9lqTWZo1GyRh/h0aI2O77jovE6aucQIq0Ph+ILiRvx8= github.com/theopenlane/dbx v0.1.3 h1:6zncXgqnvRyz5OuCDPM07xmOiBXS7q7U9GSMOWu3vNc= github.com/theopenlane/dbx v0.1.3/go.mod h1:/bcz8oKFK3qrakLw0yHCAFY6fGnTOC3CntM0jMj3GDk= github.com/theopenlane/echox v0.3.0 h1:uwOKEw+r1utGQoOR6dZQqAVuY5j8TcasqnTwO5+rMsA= github.com/theopenlane/echox v0.3.0/go.mod h1:yTrXnj7s3VNIg0FCvB7Dut2Elr+LqJKU/nruxx1E1cM= github.com/theopenlane/emailtemplates v0.3.6 h1:ZBoaOD5wAmqfLywjlEK7H/nvshnE0J1WBT93Uiz84EI= github.com/theopenlane/emailtemplates v0.3.6/go.mod h1:VmTIBAJ9XQ+QOi7ZcaOjoEv0NxsuPKcR7Pz0N3EQeJE= -github.com/theopenlane/go-client v0.9.1 h1:VjQgL55O5vSGKKX0wj+untHmmLdcdvPBtihxHca+Uu0= -github.com/theopenlane/go-client v0.9.1/go.mod h1:jZ0E6UVSX1fv2RPvMbSZb+oM23VAQjdKZrQyxm0GxtU= github.com/theopenlane/httpsling v0.3.0 h1:Bad0dGdqCqAB8UVDyVo+YCevzRvGHhmkK22F7T3pXtY= github.com/theopenlane/httpsling v0.3.0/go.mod h1:iJc3XRLYTFIpfCnPpLZVMBP0xsWIPAb7ozARtQoclAE= github.com/theopenlane/iam v0.27.5 h1:FuRbVK2qEiRBelMKho1asHJpk8jSdtcG9/+0MMgx7HY= From e3e48ac516cd967d5d69079d8f4fc0ac63670c6c Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Thu, 2 Apr 2026 18:21:51 +0100 Subject: [PATCH 2/5] task generate --- configgen/riverboat.config.json | 6 ++++-- trustcenter/additionalworkers_tc.go | 7 ++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/configgen/riverboat.config.json b/configgen/riverboat.config.json index 3bbe5e6..be200b8 100644 --- a/configgen/riverboat.config.json +++ b/configgen/riverboat.config.json @@ -70,7 +70,8 @@ "corejobs.CreateDomainScanWorker": { "properties": { "config": { - "$ref": "#/$defs/corejobs.CreateDomainScanConfig" + "$ref": "#/$defs/corejobs.CreateDomainScanConfig", + "description": "the configuration for domain scan creation" } }, "additionalProperties": false, @@ -283,7 +284,8 @@ "corejobs.RetrieveDomainScanWorker": { "properties": { "config": { - "$ref": "#/$defs/corejobs.RetrieveDomainScanConfig" + "$ref": "#/$defs/corejobs.RetrieveDomainScanConfig", + "description": "the configuration for retrieve domain scan" } }, "additionalProperties": false, diff --git a/trustcenter/additionalworkers_tc.go b/trustcenter/additionalworkers_tc.go index 84a8bd5..8f36b3e 100644 --- a/trustcenter/additionalworkers_tc.go +++ b/trustcenter/additionalworkers_tc.go @@ -57,8 +57,8 @@ func AddConditionalWorkers(workers *river.Workers, w Workers, insertOnlyClient * log.Info().Msg("worker enabled: attest NDA request") } - if w.CreatePreviewDomainWorker.Config.Enabled { - if err := setAndValidateOpenlaneConfigDefaults(&w.CreatePreviewDomainWorker.Config.OpenlaneConfig, w.OpenlaneConfig); err != nil { + if w.CreatePreviewDomainAcmeWorker.Config.Enabled { + if err := setAndValidateOpenlaneConfigDefaults(&w.CreatePreviewDomainAcmeWorker.Config.OpenlaneConfig, w.OpenlaneConfig); err != nil { log.Error().Err(err).Msg("failed to set and validate openlane config defaults for preview domain acme worker") return nil, err } @@ -79,6 +79,7 @@ func AddConditionalWorkers(workers *river.Workers, w Workers, insertOnlyClient * } w.CreateDomainScanWorker.WithRiverClient(insertOnlyClient) + if err := river.AddWorkerSafely(workers, &w.CreateDomainScanWorker); err != nil { return nil, err } @@ -96,7 +97,7 @@ func AddConditionalWorkers(workers *river.Workers, w Workers, insertOnlyClient * return nil, err } - log.Info().Msg("worker enabled: create domain scan") + log.Info().Msg("worker enabled: retrieve domain scan results") } // add more workers here From 3d22d482c3ef3f2fc65b811589d3cd720226ac65 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Thu, 2 Apr 2026 20:32:36 +0100 Subject: [PATCH 3/5] bump dependencies --- go.mod | 18 +++++++----------- go.sum | 18 ++++++++++++++---- trustcenter/go.mod | 20 ++++++++------------ trustcenter/go.sum | 22 ++++++++++++++++------ 4 files changed, 45 insertions(+), 33 deletions(-) diff --git a/go.mod b/go.mod index 68e4cd2..c559756 100644 --- a/go.mod +++ b/go.mod @@ -4,12 +4,6 @@ go 1.25.8 replace github.com/theopenlane/riverboat/trustcenter => ./trustcenter -replace github.com/theopenlane/corejobs => ../corejobs/ - -replace github.com/theopenlane/core/common => ../core/common/ - -replace github.com/theopenlane/go-client => ../go-client/ - require ( github.com/99designs/gqlgen v0.17.89 github.com/gertd/go-pluralize v0.2.1 @@ -37,9 +31,9 @@ require ( github.com/spf13/cobra v1.10.2 github.com/stoewer/go-strcase v1.3.1 github.com/stretchr/testify v1.11.1 - github.com/theopenlane/core/common v1.0.16 + github.com/theopenlane/core/common v1.0.17 github.com/theopenlane/dbx v0.1.3 - github.com/theopenlane/go-client v0.9.1 + github.com/theopenlane/go-client v0.9.2 github.com/theopenlane/httpsling v0.3.0 github.com/theopenlane/iam v0.27.5 github.com/theopenlane/newman v0.2.2 @@ -67,7 +61,7 @@ require ( github.com/go-logr/stdr v1.2.2 // indirect github.com/go-pdf/fpdf v0.9.0 // indirect github.com/go-viper/mapstructure/v2 v2.5.0 // indirect - github.com/go-webauthn/webauthn v0.16.1 // indirect + github.com/go-webauthn/webauthn v0.16.2 // indirect github.com/go-webauthn/x v0.2.2 // indirect github.com/golang-jwt/jwt/v5 v5.3.1 // indirect github.com/google/go-querystring v1.2.0 // indirect @@ -93,6 +87,7 @@ require ( github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/oklog/ulid/v2 v2.1.1 // indirect github.com/pdfcpu/pdfcpu v0.11.1 // indirect + github.com/philhofer/fwd v1.2.0 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/prometheus/client_model v0.6.2 // indirect @@ -107,14 +102,15 @@ require ( github.com/sosodev/duration v1.4.0 // indirect github.com/spf13/pflag v1.0.10 // indirect github.com/stretchr/objx v0.5.3 // indirect - github.com/theopenlane/core v1.15.0 // indirect - github.com/theopenlane/corejobs v0.1.20 // indirect + github.com/theopenlane/core v1.15.1 // indirect + github.com/theopenlane/corejobs v0.1.21-0.20260402184812-3c1f55b9e4b6 // indirect github.com/theopenlane/echox v0.3.0 // indirect github.com/theopenlane/emailtemplates v0.3.6 // indirect github.com/tidwall/gjson v1.18.0 // indirect github.com/tidwall/match v1.2.0 // indirect github.com/tidwall/pretty v1.2.1 // indirect github.com/tidwall/sjson v1.2.5 // indirect + github.com/tinylib/msgp v1.6.3 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasttemplate v1.2.2 // indirect github.com/vektah/gqlparser/v2 v2.5.32 // indirect diff --git a/go.sum b/go.sum index 6c4b330..0900219 100644 --- a/go.sum +++ b/go.sum @@ -54,8 +54,8 @@ github.com/go-test/deep v1.1.1 h1:0r/53hagsehfO4bzD2Pgr/+RgHqhmf+k1Bpse2cTu1U= github.com/go-test/deep v1.1.1/go.mod h1:5C2ZWiW0ErCdrYzpqxLbTX7MG14M9iiw8DgHncVwcsE= github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPEgAXnvj1Ro= github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= -github.com/go-webauthn/webauthn v0.16.1 h1:x5/SSki5/aIfogaRukqvbg/RXa3Sgxy/9vU7UfFPHKU= -github.com/go-webauthn/webauthn v0.16.1/go.mod h1:RBS+rtQJMkE5VfMQ4diDA2VNrEL8OeUhp4Srz37FHbQ= +github.com/go-webauthn/webauthn v0.16.2 h1:n116UuvIa7nUVGFP2hO9U24gBqhJTcmbU3ph0wgVzFM= +github.com/go-webauthn/webauthn v0.16.2/go.mod h1:R2xjJxSPat5PYKg5r6cUmqXgbHtbv4GmF6uGkqFMLNI= github.com/go-webauthn/x v0.2.2 h1:zIiipvMbr48CXi5RG0XdBJR94kd8I5LfzHPb/q+YYmk= github.com/go-webauthn/x v0.2.2/go.mod h1:IpJ5qyWB9NRhLX3C7gIfjTU7RZLXEP6kzFkoVSE7Fz4= github.com/gocarina/gocsv v0.0.0-20240520201108-78e41c74b4b1 h1:FWNFq4fM1wPfcK40yHE5UO3RUdSNPaBC+j3PokzA6OQ= @@ -155,6 +155,8 @@ github.com/oklog/ulid/v2 v2.1.1/go.mod h1:rcEKHmBBKfef9DhnvX7y1HZBYxjXb0cP5ExxNs github.com/pborman/getopt v0.0.0-20170112200414-7148bc3a4c30/go.mod h1:85jBQOZwpVEaDAr341tbn15RS4fCAsIst0qp7i8ex1o= github.com/pdfcpu/pdfcpu v0.11.1 h1:htHBSkGH5jMKWC6e0sihBFbcKZ8vG1M67c8/dJxhjas= github.com/pdfcpu/pdfcpu v0.11.1/go.mod h1:pP3aGga7pRvwFWAm9WwFvo+V68DfANi9kxSQYioNYcw= +github.com/philhofer/fwd v1.2.0 h1:e6DnBTl7vGY+Gz322/ASL4Gyp1FspeMvx1RNDoToZuM= +github.com/philhofer/fwd v1.2.0/go.mod h1:RqIHx9QI14HlwKwm98g9Re5prTQ6LdeRQn+gXJFxsJM= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -220,14 +222,20 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= -github.com/theopenlane/core v1.15.0 h1:bQF1vNcdSQre6pSXCOhLACOBHU80ypyDmrfGNUwoo8Y= -github.com/theopenlane/core v1.15.0/go.mod h1:dqgNfvJAerKnW6m+nPtY8a61v5AJRAMcp70QWOUp8AA= +github.com/theopenlane/core v1.15.1 h1:36u/vaY/MAzsKpk/JimSZt0WxrcW3AEeGZnabpxYoNw= +github.com/theopenlane/core v1.15.1/go.mod h1:dqgNfvJAerKnW6m+nPtY8a61v5AJRAMcp70QWOUp8AA= +github.com/theopenlane/core/common v1.0.17 h1:kdrlGHfEGpx4PRhUq8G4xiIW+U0FmmLXD5XjF6wEozw= +github.com/theopenlane/core/common v1.0.17/go.mod h1:+OOhH2NYhLgngkFgkwJZdFTgbB6e+X+pXVXBG8hrZ/M= +github.com/theopenlane/corejobs v0.1.21-0.20260402184812-3c1f55b9e4b6 h1:Z64pPnPpj5aCzalvGTFmgpVCUixUgwdLn96YfWMlLEs= +github.com/theopenlane/corejobs v0.1.21-0.20260402184812-3c1f55b9e4b6/go.mod h1:kuJ4eLzxQl8cLDeP8OEM5FtPNpFTglLx7kaO4jBzQ0Y= github.com/theopenlane/dbx v0.1.3 h1:6zncXgqnvRyz5OuCDPM07xmOiBXS7q7U9GSMOWu3vNc= github.com/theopenlane/dbx v0.1.3/go.mod h1:/bcz8oKFK3qrakLw0yHCAFY6fGnTOC3CntM0jMj3GDk= github.com/theopenlane/echox v0.3.0 h1:uwOKEw+r1utGQoOR6dZQqAVuY5j8TcasqnTwO5+rMsA= github.com/theopenlane/echox v0.3.0/go.mod h1:yTrXnj7s3VNIg0FCvB7Dut2Elr+LqJKU/nruxx1E1cM= github.com/theopenlane/emailtemplates v0.3.6 h1:ZBoaOD5wAmqfLywjlEK7H/nvshnE0J1WBT93Uiz84EI= github.com/theopenlane/emailtemplates v0.3.6/go.mod h1:VmTIBAJ9XQ+QOi7ZcaOjoEv0NxsuPKcR7Pz0N3EQeJE= +github.com/theopenlane/go-client v0.9.2 h1:rYtvM+rlI0HZcUh4gHUxCW1trkHEI2g9zZQYTXRfAzs= +github.com/theopenlane/go-client v0.9.2/go.mod h1:jZ0E6UVSX1fv2RPvMbSZb+oM23VAQjdKZrQyxm0GxtU= github.com/theopenlane/httpsling v0.3.0 h1:Bad0dGdqCqAB8UVDyVo+YCevzRvGHhmkK22F7T3pXtY= github.com/theopenlane/httpsling v0.3.0/go.mod h1:iJc3XRLYTFIpfCnPpLZVMBP0xsWIPAb7ozARtQoclAE= github.com/theopenlane/iam v0.27.5 h1:FuRbVK2qEiRBelMKho1asHJpk8jSdtcG9/+0MMgx7HY= @@ -247,6 +255,8 @@ github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4= github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= +github.com/tinylib/msgp v1.6.3 h1:bCSxiTz386UTgyT1i0MSCvdbWjVW+8sG3PjkGsZQt4s= +github.com/tinylib/msgp v1.6.3/go.mod h1:RSp0LW9oSxFut3KzESt5Voq4GVWyS+PSulT77roAqEA= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= diff --git a/trustcenter/go.mod b/trustcenter/go.mod index abf6af6..dece66c 100644 --- a/trustcenter/go.mod +++ b/trustcenter/go.mod @@ -5,17 +5,11 @@ go 1.25.8 require ( github.com/riverqueue/river v0.32.0 github.com/rs/zerolog v1.35.0 - github.com/theopenlane/core/common v1.0.16 - github.com/theopenlane/corejobs v0.1.20 - github.com/theopenlane/riverboat v0.9.8 + github.com/theopenlane/core/common v1.0.17 + github.com/theopenlane/corejobs v0.1.21-0.20260402184812-3c1f55b9e4b6 + github.com/theopenlane/riverboat v0.9.9 ) -replace github.com/theopenlane/corejobs => ../../corejobs/ - -replace github.com/theopenlane/core/common => ../../core/common/ - -replace github.com/theopenlane/go-client => ../../go-client/ - require ( github.com/99designs/gqlgen v0.17.89 // indirect github.com/Yamashou/gqlgenc v0.33.0 // indirect @@ -31,7 +25,7 @@ require ( github.com/go-logr/stdr v1.2.2 // indirect github.com/go-pdf/fpdf v0.9.0 // indirect github.com/go-viper/mapstructure/v2 v2.5.0 // indirect - github.com/go-webauthn/webauthn v0.16.1 // indirect + github.com/go-webauthn/webauthn v0.16.2 // indirect github.com/go-webauthn/x v0.2.2 // indirect github.com/gocarina/gocsv v0.0.0-20240520201108-78e41c74b4b1 // indirect github.com/golang-jwt/jwt/v5 v5.3.1 // indirect @@ -55,6 +49,7 @@ require ( github.com/microcosm-cc/bluemonday v1.0.27 // indirect github.com/oklog/ulid/v2 v2.1.1 // indirect github.com/pdfcpu/pdfcpu v0.11.1 // indirect + github.com/philhofer/fwd v1.2.0 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/redis/go-redis/v9 v9.18.0 // indirect @@ -70,11 +65,11 @@ require ( github.com/sosodev/duration v1.4.0 // indirect github.com/stoewer/go-strcase v1.3.1 // indirect github.com/stretchr/testify v1.11.1 // indirect - github.com/theopenlane/core v1.15.0 // indirect + github.com/theopenlane/core v1.15.1 // indirect github.com/theopenlane/dbx v0.1.3 // indirect github.com/theopenlane/echox v0.3.0 // indirect github.com/theopenlane/emailtemplates v0.3.6 // indirect - github.com/theopenlane/go-client v0.9.1 // indirect + github.com/theopenlane/go-client v0.9.2 // indirect github.com/theopenlane/httpsling v0.3.0 // indirect github.com/theopenlane/iam v0.27.5 // indirect github.com/theopenlane/newman v0.2.2 // indirect @@ -83,6 +78,7 @@ require ( github.com/tidwall/match v1.2.0 // indirect github.com/tidwall/pretty v1.2.1 // indirect github.com/tidwall/sjson v1.2.5 // indirect + github.com/tinylib/msgp v1.6.3 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasttemplate v1.2.2 // indirect github.com/vektah/gqlparser/v2 v2.5.32 // indirect diff --git a/trustcenter/go.sum b/trustcenter/go.sum index 4a68b1a..7e34de7 100644 --- a/trustcenter/go.sum +++ b/trustcenter/go.sum @@ -43,8 +43,8 @@ github.com/go-test/deep v1.1.1 h1:0r/53hagsehfO4bzD2Pgr/+RgHqhmf+k1Bpse2cTu1U= github.com/go-test/deep v1.1.1/go.mod h1:5C2ZWiW0ErCdrYzpqxLbTX7MG14M9iiw8DgHncVwcsE= github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPEgAXnvj1Ro= github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= -github.com/go-webauthn/webauthn v0.16.1 h1:x5/SSki5/aIfogaRukqvbg/RXa3Sgxy/9vU7UfFPHKU= -github.com/go-webauthn/webauthn v0.16.1/go.mod h1:RBS+rtQJMkE5VfMQ4diDA2VNrEL8OeUhp4Srz37FHbQ= +github.com/go-webauthn/webauthn v0.16.2 h1:n116UuvIa7nUVGFP2hO9U24gBqhJTcmbU3ph0wgVzFM= +github.com/go-webauthn/webauthn v0.16.2/go.mod h1:R2xjJxSPat5PYKg5r6cUmqXgbHtbv4GmF6uGkqFMLNI= github.com/go-webauthn/x v0.2.2 h1:zIiipvMbr48CXi5RG0XdBJR94kd8I5LfzHPb/q+YYmk= github.com/go-webauthn/x v0.2.2/go.mod h1:IpJ5qyWB9NRhLX3C7gIfjTU7RZLXEP6kzFkoVSE7Fz4= github.com/gocarina/gocsv v0.0.0-20240520201108-78e41c74b4b1 h1:FWNFq4fM1wPfcK40yHE5UO3RUdSNPaBC+j3PokzA6OQ= @@ -109,6 +109,8 @@ github.com/oklog/ulid/v2 v2.1.1/go.mod h1:rcEKHmBBKfef9DhnvX7y1HZBYxjXb0cP5ExxNs github.com/pborman/getopt v0.0.0-20170112200414-7148bc3a4c30/go.mod h1:85jBQOZwpVEaDAr341tbn15RS4fCAsIst0qp7i8ex1o= github.com/pdfcpu/pdfcpu v0.11.1 h1:htHBSkGH5jMKWC6e0sihBFbcKZ8vG1M67c8/dJxhjas= github.com/pdfcpu/pdfcpu v0.11.1/go.mod h1:pP3aGga7pRvwFWAm9WwFvo+V68DfANi9kxSQYioNYcw= +github.com/philhofer/fwd v1.2.0 h1:e6DnBTl7vGY+Gz322/ASL4Gyp1FspeMvx1RNDoToZuM= +github.com/philhofer/fwd v1.2.0/go.mod h1:RqIHx9QI14HlwKwm98g9Re5prTQ6LdeRQn+gXJFxsJM= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -158,22 +160,28 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= -github.com/theopenlane/core v1.15.0 h1:bQF1vNcdSQre6pSXCOhLACOBHU80ypyDmrfGNUwoo8Y= -github.com/theopenlane/core v1.15.0/go.mod h1:dqgNfvJAerKnW6m+nPtY8a61v5AJRAMcp70QWOUp8AA= +github.com/theopenlane/core v1.15.1 h1:36u/vaY/MAzsKpk/JimSZt0WxrcW3AEeGZnabpxYoNw= +github.com/theopenlane/core v1.15.1/go.mod h1:dqgNfvJAerKnW6m+nPtY8a61v5AJRAMcp70QWOUp8AA= +github.com/theopenlane/core/common v1.0.17 h1:kdrlGHfEGpx4PRhUq8G4xiIW+U0FmmLXD5XjF6wEozw= +github.com/theopenlane/core/common v1.0.17/go.mod h1:+OOhH2NYhLgngkFgkwJZdFTgbB6e+X+pXVXBG8hrZ/M= +github.com/theopenlane/corejobs v0.1.21-0.20260402184812-3c1f55b9e4b6 h1:Z64pPnPpj5aCzalvGTFmgpVCUixUgwdLn96YfWMlLEs= +github.com/theopenlane/corejobs v0.1.21-0.20260402184812-3c1f55b9e4b6/go.mod h1:kuJ4eLzxQl8cLDeP8OEM5FtPNpFTglLx7kaO4jBzQ0Y= github.com/theopenlane/dbx v0.1.3 h1:6zncXgqnvRyz5OuCDPM07xmOiBXS7q7U9GSMOWu3vNc= github.com/theopenlane/dbx v0.1.3/go.mod h1:/bcz8oKFK3qrakLw0yHCAFY6fGnTOC3CntM0jMj3GDk= github.com/theopenlane/echox v0.3.0 h1:uwOKEw+r1utGQoOR6dZQqAVuY5j8TcasqnTwO5+rMsA= github.com/theopenlane/echox v0.3.0/go.mod h1:yTrXnj7s3VNIg0FCvB7Dut2Elr+LqJKU/nruxx1E1cM= github.com/theopenlane/emailtemplates v0.3.6 h1:ZBoaOD5wAmqfLywjlEK7H/nvshnE0J1WBT93Uiz84EI= github.com/theopenlane/emailtemplates v0.3.6/go.mod h1:VmTIBAJ9XQ+QOi7ZcaOjoEv0NxsuPKcR7Pz0N3EQeJE= +github.com/theopenlane/go-client v0.9.2 h1:rYtvM+rlI0HZcUh4gHUxCW1trkHEI2g9zZQYTXRfAzs= +github.com/theopenlane/go-client v0.9.2/go.mod h1:jZ0E6UVSX1fv2RPvMbSZb+oM23VAQjdKZrQyxm0GxtU= github.com/theopenlane/httpsling v0.3.0 h1:Bad0dGdqCqAB8UVDyVo+YCevzRvGHhmkK22F7T3pXtY= github.com/theopenlane/httpsling v0.3.0/go.mod h1:iJc3XRLYTFIpfCnPpLZVMBP0xsWIPAb7ozARtQoclAE= github.com/theopenlane/iam v0.27.5 h1:FuRbVK2qEiRBelMKho1asHJpk8jSdtcG9/+0MMgx7HY= github.com/theopenlane/iam v0.27.5/go.mod h1:KUhQ/0eDzJHn2HdU1JRPmvDE4uNHqoOAp8/K0N2S0Zc= github.com/theopenlane/newman v0.2.2 h1:TADWEoD9vOJonRqPKTUePMudpoRq7w6K7Vdy5RdapWw= github.com/theopenlane/newman v0.2.2/go.mod h1:nUyyNIxUIfKpPLf4oO/v1bFp5Ca8P42FG0ObxyEp/pA= -github.com/theopenlane/riverboat v0.9.8 h1:FWnJaCWtlJIuMgG0OnBdjJctDJdEtsCPWk67acdh/b4= -github.com/theopenlane/riverboat v0.9.8/go.mod h1:z34tDRQrD9tRTGD3637VioYPjIhXTQ9IKgTsS5qvdSc= +github.com/theopenlane/riverboat v0.9.9 h1:r77D0MOX8UxhPSUuQLFwA3B5sW9E3IbYaLk0inQl/sQ= +github.com/theopenlane/riverboat v0.9.9/go.mod h1:rW2Mn72EansDnFtkPTiZgUEkUlAg4vx+7mW6unfQeZ0= github.com/theopenlane/utils v0.7.0 h1:tSN9PBC8Ywn2As3TDW/1TAfWsVsodrccec40oAhiZgo= github.com/theopenlane/utils v0.7.0/go.mod h1:7U9CDoVzCAFWw/JygR5ZhCKGwhHBnuJpK3Jgh1m59+w= github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= @@ -187,6 +195,8 @@ github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4= github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= +github.com/tinylib/msgp v1.6.3 h1:bCSxiTz386UTgyT1i0MSCvdbWjVW+8sG3PjkGsZQt4s= +github.com/tinylib/msgp v1.6.3/go.mod h1:RSp0LW9oSxFut3KzESt5Voq4GVWyS+PSulT77roAqEA= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= From 071b8ae13b0c25901781f5d7bba4bcc4ae7e4a07 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Wed, 8 Apr 2026 23:22:55 +0100 Subject: [PATCH 4/5] use tagged version --- go.mod | 36 +++++++++++------------ go.sum | 73 +++++++++++++++++++++++----------------------- trustcenter/go.mod | 36 +++++++++++------------ trustcenter/go.sum | 73 +++++++++++++++++++++++----------------------- 4 files changed, 108 insertions(+), 110 deletions(-) diff --git a/go.mod b/go.mod index c559756..d114ca1 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( github.com/gertd/go-pluralize v0.2.1 github.com/go-chi/chi/v5 v5.2.5 github.com/gocarina/gocsv v0.0.0-20240520201108-78e41c74b4b1 - github.com/gqlgo/gqlgenc v0.33.1 + github.com/gqlgo/gqlgenc v0.35.1 github.com/invopop/jsonschema v0.13.0 github.com/invopop/yaml v0.3.1 github.com/jackc/pgx/v5 v5.9.1 @@ -21,25 +21,25 @@ require ( github.com/mcuadros/go-defaults v1.2.0 github.com/microcosm-cc/bluemonday v1.0.27 github.com/prometheus/client_golang v1.23.2 - github.com/riverqueue/river v0.32.0 - github.com/riverqueue/river/riverdriver/riverpgxv5 v0.32.0 - github.com/riverqueue/river/rivertype v0.32.0 + github.com/riverqueue/river v0.33.0 + github.com/riverqueue/river/riverdriver/riverpgxv5 v0.33.0 + github.com/riverqueue/river/rivertype v0.33.0 github.com/riverqueue/rivercontrib/otelriver v0.7.0 github.com/rs/zerolog v1.35.0 github.com/samber/lo v1.53.0 - github.com/slack-go/slack v0.20.0 + github.com/slack-go/slack v0.21.1 github.com/spf13/cobra v1.10.2 github.com/stoewer/go-strcase v1.3.1 github.com/stretchr/testify v1.11.1 github.com/theopenlane/core/common v1.0.17 github.com/theopenlane/dbx v0.1.3 - github.com/theopenlane/go-client v0.9.2 + github.com/theopenlane/go-client v0.9.3 github.com/theopenlane/httpsling v0.3.0 github.com/theopenlane/iam v0.27.5 github.com/theopenlane/newman v0.2.2 github.com/theopenlane/riverboat/trustcenter v0.1.2 github.com/theopenlane/utils v0.7.0 - go.opentelemetry.io/otel v1.42.0 + go.opentelemetry.io/otel v1.43.0 go.opentelemetry.io/otel/exporters/prometheus v0.61.0 go.opentelemetry.io/otel/sdk/metric v1.42.0 ) @@ -52,7 +52,7 @@ require ( github.com/buger/jsonparser v1.1.2 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/clipperhouse/uax29/v2 v2.7.0 // indirect - github.com/cloudflare/cloudflare-go/v6 v6.8.0 // indirect + github.com/cloudflare/cloudflare-go/v6 v6.9.0 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect github.com/fsnotify/fsnotify v1.9.0 // indirect @@ -61,7 +61,7 @@ require ( github.com/go-logr/stdr v1.2.2 // indirect github.com/go-pdf/fpdf v0.9.0 // indirect github.com/go-viper/mapstructure/v2 v2.5.0 // indirect - github.com/go-webauthn/webauthn v0.16.2 // indirect + github.com/go-webauthn/webauthn v0.16.3 // indirect github.com/go-webauthn/x v0.2.2 // indirect github.com/golang-jwt/jwt/v5 v5.3.1 // indirect github.com/google/go-querystring v1.2.0 // indirect @@ -80,8 +80,8 @@ require ( github.com/knadh/koanf/maps v0.1.2 // indirect github.com/mailru/easyjson v0.9.2 // indirect github.com/mattn/go-colorable v0.1.14 // indirect - github.com/mattn/go-isatty v0.0.20 // indirect - github.com/mattn/go-runewidth v0.0.21 // indirect + github.com/mattn/go-isatty v0.0.21 // indirect + github.com/mattn/go-runewidth v0.0.23 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect @@ -96,14 +96,14 @@ require ( github.com/prometheus/procfs v0.20.0 // indirect github.com/redis/go-redis/v9 v9.18.0 // indirect github.com/resend/resend-go/v3 v3.3.0 // indirect - github.com/riverqueue/river/riverdriver v0.32.0 // indirect - github.com/riverqueue/river/rivershared v0.32.0 // indirect + github.com/riverqueue/river/riverdriver v0.33.0 // indirect + github.com/riverqueue/river/rivershared v0.33.0 // indirect github.com/robfig/cron/v3 v3.0.1 // indirect github.com/sosodev/duration v1.4.0 // indirect github.com/spf13/pflag v1.0.10 // indirect github.com/stretchr/objx v0.5.3 // indirect - github.com/theopenlane/core v1.15.1 // indirect - github.com/theopenlane/corejobs v0.1.21-0.20260402184812-3c1f55b9e4b6 // indirect + github.com/theopenlane/core v1.16.4 // indirect + github.com/theopenlane/corejobs v0.1.21 // indirect github.com/theopenlane/echox v0.3.0 // indirect github.com/theopenlane/emailtemplates v0.3.6 // indirect github.com/tidwall/gjson v1.18.0 // indirect @@ -117,9 +117,9 @@ require ( github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect github.com/x448/float16 v0.8.4 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect - go.opentelemetry.io/otel/metric v1.42.0 // indirect + go.opentelemetry.io/otel/metric v1.43.0 // indirect go.opentelemetry.io/otel/sdk v1.42.0 // indirect - go.opentelemetry.io/otel/trace v1.42.0 // indirect + go.opentelemetry.io/otel/trace v1.43.0 // indirect go.uber.org/atomic v1.11.0 // indirect go.uber.org/goleak v1.3.0 // indirect go.yaml.in/yaml/v2 v2.4.3 // indirect @@ -129,7 +129,7 @@ require ( golang.org/x/net v0.52.0 // indirect golang.org/x/oauth2 v0.36.0 // indirect golang.org/x/sync v0.20.0 // indirect - golang.org/x/sys v0.42.0 // indirect + golang.org/x/sys v0.43.0 // indirect golang.org/x/text v0.35.0 // indirect golang.org/x/time v0.15.0 // indirect google.golang.org/protobuf v1.36.11 // indirect diff --git a/go.sum b/go.sum index 0900219..f4eb27e 100644 --- a/go.sum +++ b/go.sum @@ -24,8 +24,8 @@ github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UF github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/clipperhouse/uax29/v2 v2.7.0 h1:+gs4oBZ2gPfVrKPthwbMzWZDaAFPGYK72F0NJv2v7Vk= github.com/clipperhouse/uax29/v2 v2.7.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM= -github.com/cloudflare/cloudflare-go/v6 v6.8.0 h1:t1UV6Yc2T/MzEmiJgPRfIZZvpeBINNCMYHksn4nWsmk= -github.com/cloudflare/cloudflare-go/v6 v6.8.0/go.mod h1:Lj3MUqjvKctXRpdRhLQxZYRrNZHuRs0XYuH8JtQGyoI= +github.com/cloudflare/cloudflare-go/v6 v6.9.0 h1:RpImnN6YgC2Wcvhep/EtxIl1c0R1+ST1yOheGTjDjis= +github.com/cloudflare/cloudflare-go/v6 v6.9.0/go.mod h1:Lj3MUqjvKctXRpdRhLQxZYRrNZHuRs0XYuH8JtQGyoI= github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -54,8 +54,8 @@ github.com/go-test/deep v1.1.1 h1:0r/53hagsehfO4bzD2Pgr/+RgHqhmf+k1Bpse2cTu1U= github.com/go-test/deep v1.1.1/go.mod h1:5C2ZWiW0ErCdrYzpqxLbTX7MG14M9iiw8DgHncVwcsE= github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPEgAXnvj1Ro= github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= -github.com/go-webauthn/webauthn v0.16.2 h1:n116UuvIa7nUVGFP2hO9U24gBqhJTcmbU3ph0wgVzFM= -github.com/go-webauthn/webauthn v0.16.2/go.mod h1:R2xjJxSPat5PYKg5r6cUmqXgbHtbv4GmF6uGkqFMLNI= +github.com/go-webauthn/webauthn v0.16.3 h1:RorP0c6VbaKP0i0Jxf/vAf7EFb2lmdLW8GLKITeaN5A= +github.com/go-webauthn/webauthn v0.16.3/go.mod h1:R2xjJxSPat5PYKg5r6cUmqXgbHtbv4GmF6uGkqFMLNI= github.com/go-webauthn/x v0.2.2 h1:zIiipvMbr48CXi5RG0XdBJR94kd8I5LfzHPb/q+YYmk= github.com/go-webauthn/x v0.2.2/go.mod h1:IpJ5qyWB9NRhLX3C7gIfjTU7RZLXEP6kzFkoVSE7Fz4= github.com/gocarina/gocsv v0.0.0-20240520201108-78e41c74b4b1 h1:FWNFq4fM1wPfcK40yHE5UO3RUdSNPaBC+j3PokzA6OQ= @@ -81,8 +81,8 @@ github.com/gorilla/securecookie v1.1.2 h1:YCIWL56dvtr73r6715mJs5ZvhtnY73hBvEF8kX github.com/gorilla/securecookie v1.1.2/go.mod h1:NfCASbcHqRSY+3a8tlWJwsQap2VX5pwzwo4h3eOamfo= github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 h1:JeSE6pjso5THxAzdVpqr6/geYxZytqFMBCOtn/ujyeo= github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674/go.mod h1:r4w70xmWCQKmi1ONH4KIaBptdivuRPyosB9RmPlGEwA= -github.com/gqlgo/gqlgenc v0.33.1 h1:r4wNp20L2NNE/59rIZoBPNVmHyrcKAyYPLP6DiwZ54Q= -github.com/gqlgo/gqlgenc v0.33.1/go.mod h1:saXWMb8bbHVR0r+iwTslksNO06lx9rKXagrjzPfG+rQ= +github.com/gqlgo/gqlgenc v0.35.1 h1:wHg+0/SEU4Jp+gb5ted1i7jls2i3AqMuCOuUClOo+9Q= +github.com/gqlgo/gqlgenc v0.35.1/go.mod h1:qszcs75kQw4fEP7szUpzPGPLtF8idQX7qGVrZDnvSuA= github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= github.com/hhrutter/lzw v1.0.0 h1:laL89Llp86W3rRs83LvKbwYRx6INE8gDn0XNb1oXtm0= @@ -135,10 +135,10 @@ github.com/mailru/easyjson v0.9.2 h1:dX8U45hQsZpxd80nLvDGihsQ/OxlvTkVUXH2r/8cb2M github.com/mailru/easyjson v0.9.2/go.mod h1:1+xMtQp2MRNVL/V1bOzuP3aP8VNwRW55fQUto+XFtTU= github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE= github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8= -github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= -github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-runewidth v0.0.21 h1:jJKAZiQH+2mIinzCJIaIG9Be1+0NR+5sz/lYEEjdM8w= -github.com/mattn/go-runewidth v0.0.21/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs= +github.com/mattn/go-isatty v0.0.21 h1:xYae+lCNBP7QuW4PUnNG61ffM4hVIfm+zUzDuSzYLGs= +github.com/mattn/go-isatty v0.0.21/go.mod h1:ZXfXG4SQHsB/w3ZeOYbR0PrPwLy+n6xiMrJlRFqopa4= +github.com/mattn/go-runewidth v0.0.23 h1:7ykA0T0jkPpzSvMS5i9uoNn2Xy3R383f9HDx3RybWcw= +github.com/mattn/go-runewidth v0.0.23/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs= github.com/mcuadros/go-defaults v1.2.0 h1:FODb8WSf0uGaY8elWJAkoLL0Ri6AlZ1bFlenk56oZtc= github.com/mcuadros/go-defaults v1.2.0/go.mod h1:WEZtHEVIGYVDqkKSWBdWKUVdRyKlMfulPaGDWIVeCWY= github.com/microcosm-cc/bluemonday v1.0.27 h1:MpEUotklkwCSLeH+Qdx1VJgNqLlpY2KXwXFM08ygZfk= @@ -176,16 +176,16 @@ github.com/redis/go-redis/v9 v9.18.0 h1:pMkxYPkEbMPwRdenAzUNyFNrDgHx9U+DrBabWNfS github.com/redis/go-redis/v9 v9.18.0/go.mod h1:k3ufPphLU5YXwNTUcCRXGxUoF1fqxnhFQmscfkCoDA0= github.com/resend/resend-go/v3 v3.3.0 h1:phljT3kSQ0ddFagrPBxd6YFJ90xjWGzX8q8smwqEScA= github.com/resend/resend-go/v3 v3.3.0/go.mod h1:iI7VA0NoGjWvsNii5iNC5Dy0llsI3HncXPejhniYzwE= -github.com/riverqueue/river v0.32.0 h1:j15EoFZ4oQWXcCq8NyzWwoi3fdaO8mECTB100NSv9Qw= -github.com/riverqueue/river v0.32.0/go.mod h1:zABAdLze3HI7K02N+veikXyK5FjiLzjimnQpZ1Duyng= -github.com/riverqueue/river/riverdriver v0.32.0 h1:AG6a2hNVOIGLx/+3IRtbwofJRYEI7xqnVVxULe9s4Lg= -github.com/riverqueue/river/riverdriver v0.32.0/go.mod h1:FRDMuqnLOsakeJOHlozKK+VH7W7NLp+6EToxQ2JAjBE= -github.com/riverqueue/river/riverdriver/riverpgxv5 v0.32.0 h1:CqrRxxcdA/0sHkxLNldsQff9DIG5qxn2EJO09Pau3w0= -github.com/riverqueue/river/riverdriver/riverpgxv5 v0.32.0/go.mod h1:j45UPpbMpcI10m+huTeNUaOwzoLJcEg0K6ihWXWeOec= -github.com/riverqueue/river/rivershared v0.32.0 h1:7DwdrppMU9uoU2iU9aGQiv91nBezjlcI85NV4PmnLHw= -github.com/riverqueue/river/rivershared v0.32.0/go.mod h1:UE7GEj3zaTV3cKw7Q3angCozlNEGsL50xZBKJQ9m6zU= -github.com/riverqueue/river/rivertype v0.32.0 h1:RW7uodfl86gYkjwDponTAPNnUqM+X6BjlsNHxbt6Ztg= -github.com/riverqueue/river/rivertype v0.32.0/go.mod h1:D1Ad+EaZiaXbQbJcJcfeicXJMBKno0n6UcfKI5Q7DIQ= +github.com/riverqueue/river v0.33.0 h1:dVB1p91HKAFrOOPIndvsNtCiq5smW6Ii/XYCqZupmvM= +github.com/riverqueue/river v0.33.0/go.mod h1:OMDbi/nfD2uQ9v5kQo53LIypbJbR/bEqx2KyuXeHpdU= +github.com/riverqueue/river/riverdriver v0.33.0 h1:omnVHLRcq6Gy2F59HRI2NMdOAFGf2/iWnJ252nSALy0= +github.com/riverqueue/river/riverdriver v0.33.0/go.mod h1:TZVIUtKC9kaiOGmYTjNffu4IkqBB+i2iEepWLKm2emM= +github.com/riverqueue/river/riverdriver/riverpgxv5 v0.33.0 h1:Q5oVOHI3KPFkkH6WLXwrNkqAeRWiBqPI5YjVy/QNyd0= +github.com/riverqueue/river/riverdriver/riverpgxv5 v0.33.0/go.mod h1:RjltKK9O9vMbdvlzh/oZoyV62oTNACWuzm3vkchuBFA= +github.com/riverqueue/river/rivershared v0.33.0 h1:gE19JWgu0RgO78PTb5C1OqrI6T2x65mCDtlXHk+hl3E= +github.com/riverqueue/river/rivershared v0.33.0/go.mod h1:/wv6gmMJ4yC23Y9FFZaN/3GgctGmzxsGJ1/moYv1AnE= +github.com/riverqueue/river/rivertype v0.33.0 h1:GIFeAX+JMUL6CaWj7iAUNG86eGSp2KP1NTbTfipsJOo= +github.com/riverqueue/river/rivertype v0.33.0/go.mod h1:D1Ad+EaZiaXbQbJcJcfeicXJMBKno0n6UcfKI5Q7DIQ= github.com/riverqueue/rivercontrib/otelriver v0.7.0 h1:zLjPf674dcGrz7OPG2JF5xea0fyitFax6Cc6q370Xzo= github.com/riverqueue/rivercontrib/otelriver v0.7.0/go.mod h1:MuyMZmYBz3JXC8ZLP0dH9IqXK95qRY6gCQSoJGh9h7E= github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= @@ -199,8 +199,8 @@ github.com/samber/lo v1.53.0 h1:t975lj2py4kJPQ6haz1QMgtId2gtmfktACxIXArw3HM= github.com/samber/lo v1.53.0/go.mod h1:4+MXEGsJzbKGaUEQFKBq2xtfuznW9oz/WrgyzMzRoM0= github.com/sergi/go-diff v1.4.0 h1:n/SP9D5ad1fORl+llWyN+D6qoUETXNZARKjyY2/KVCw= github.com/sergi/go-diff v1.4.0/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= -github.com/slack-go/slack v0.20.0 h1:gbDdbee8+Z2o+DWx05Spq3GzbrLLleiRwHUKs+hZLSU= -github.com/slack-go/slack v0.20.0/go.mod h1:K81UmCivcYd/5Jmz8vLBfuyoZ3B4rQC2GHVXHteXiAE= +github.com/slack-go/slack v0.21.1 h1:vBHR+IkaXbv9RLY6w/RiN82D+5/OTI06CGqrlZ3Vyas= +github.com/slack-go/slack v0.21.1/go.mod h1:K81UmCivcYd/5Jmz8vLBfuyoZ3B4rQC2GHVXHteXiAE= github.com/sosodev/duration v1.4.0 h1:35ed0KiVFriGHHzZZJaZLgmTEEICIyt8Sx0RQfj9IjE= github.com/sosodev/duration v1.4.0/go.mod h1:RQIBBX0+fMLc/D9+Jb/fwvVmo0eZvDDEERAikUR6SDg= github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU= @@ -222,20 +222,20 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= -github.com/theopenlane/core v1.15.1 h1:36u/vaY/MAzsKpk/JimSZt0WxrcW3AEeGZnabpxYoNw= -github.com/theopenlane/core v1.15.1/go.mod h1:dqgNfvJAerKnW6m+nPtY8a61v5AJRAMcp70QWOUp8AA= +github.com/theopenlane/core v1.16.4 h1:3zgr6YA9BO5o+8jaBWYorECWKZQ/Ek7VfeV82cw/C3Y= +github.com/theopenlane/core v1.16.4/go.mod h1:2Ta7YUFvubxV+Jq/bNOGaeMR/p1BdQLX+X0b44ttj1g= github.com/theopenlane/core/common v1.0.17 h1:kdrlGHfEGpx4PRhUq8G4xiIW+U0FmmLXD5XjF6wEozw= github.com/theopenlane/core/common v1.0.17/go.mod h1:+OOhH2NYhLgngkFgkwJZdFTgbB6e+X+pXVXBG8hrZ/M= -github.com/theopenlane/corejobs v0.1.21-0.20260402184812-3c1f55b9e4b6 h1:Z64pPnPpj5aCzalvGTFmgpVCUixUgwdLn96YfWMlLEs= -github.com/theopenlane/corejobs v0.1.21-0.20260402184812-3c1f55b9e4b6/go.mod h1:kuJ4eLzxQl8cLDeP8OEM5FtPNpFTglLx7kaO4jBzQ0Y= +github.com/theopenlane/corejobs v0.1.21 h1:IQJhBdluSaqS/upi+42Mf82pyMXqVC4tYMSlubGhzI4= +github.com/theopenlane/corejobs v0.1.21/go.mod h1:rm+1WFcZLWguyZBCTXMjU6ewEibe8Pt/m5izUkdYM98= github.com/theopenlane/dbx v0.1.3 h1:6zncXgqnvRyz5OuCDPM07xmOiBXS7q7U9GSMOWu3vNc= github.com/theopenlane/dbx v0.1.3/go.mod h1:/bcz8oKFK3qrakLw0yHCAFY6fGnTOC3CntM0jMj3GDk= github.com/theopenlane/echox v0.3.0 h1:uwOKEw+r1utGQoOR6dZQqAVuY5j8TcasqnTwO5+rMsA= github.com/theopenlane/echox v0.3.0/go.mod h1:yTrXnj7s3VNIg0FCvB7Dut2Elr+LqJKU/nruxx1E1cM= github.com/theopenlane/emailtemplates v0.3.6 h1:ZBoaOD5wAmqfLywjlEK7H/nvshnE0J1WBT93Uiz84EI= github.com/theopenlane/emailtemplates v0.3.6/go.mod h1:VmTIBAJ9XQ+QOi7ZcaOjoEv0NxsuPKcR7Pz0N3EQeJE= -github.com/theopenlane/go-client v0.9.2 h1:rYtvM+rlI0HZcUh4gHUxCW1trkHEI2g9zZQYTXRfAzs= -github.com/theopenlane/go-client v0.9.2/go.mod h1:jZ0E6UVSX1fv2RPvMbSZb+oM23VAQjdKZrQyxm0GxtU= +github.com/theopenlane/go-client v0.9.3 h1:WkvQOHiFKtMJRXqKEeOOC7QnoUdl+NJRwJnqVfV+x4w= +github.com/theopenlane/go-client v0.9.3/go.mod h1:wCuq66uUq4tnJcwKSlVpkPtPD+JGwfd3TzADrf5O1Wg= github.com/theopenlane/httpsling v0.3.0 h1:Bad0dGdqCqAB8UVDyVo+YCevzRvGHhmkK22F7T3pXtY= github.com/theopenlane/httpsling v0.3.0/go.mod h1:iJc3XRLYTFIpfCnPpLZVMBP0xsWIPAb7ozARtQoclAE= github.com/theopenlane/iam v0.27.5 h1:FuRbVK2qEiRBelMKho1asHJpk8jSdtcG9/+0MMgx7HY= @@ -273,18 +273,18 @@ github.com/zeebo/xxh3 v1.1.0 h1:s7DLGDK45Dyfg7++yxI0khrfwq9661w9EN78eP/UZVs= github.com/zeebo/xxh3 v1.1.0/go.mod h1:IisAie1LELR4xhVinxWS5+zf1lA4p0MW4T+w+W07F5s= go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= -go.opentelemetry.io/otel v1.42.0 h1:lSQGzTgVR3+sgJDAU/7/ZMjN9Z+vUip7leaqBKy4sho= -go.opentelemetry.io/otel v1.42.0/go.mod h1:lJNsdRMxCUIWuMlVJWzecSMuNjE7dOYyWlqOXWkdqCc= +go.opentelemetry.io/otel v1.43.0 h1:mYIM03dnh5zfN7HautFE4ieIig9amkNANT+xcVxAj9I= +go.opentelemetry.io/otel v1.43.0/go.mod h1:JuG+u74mvjvcm8vj8pI5XiHy1zDeoCS2LB1spIq7Ay0= go.opentelemetry.io/otel/exporters/prometheus v0.61.0 h1:cCyZS4dr67d30uDyh8etKM2QyDsQ4zC9ds3bdbrVoD0= go.opentelemetry.io/otel/exporters/prometheus v0.61.0/go.mod h1:iivMuj3xpR2DkUrUya3TPS/Z9h3dz7h01GxU+fQBRNg= -go.opentelemetry.io/otel/metric v1.42.0 h1:2jXG+3oZLNXEPfNmnpxKDeZsFI5o4J+nz6xUlaFdF/4= -go.opentelemetry.io/otel/metric v1.42.0/go.mod h1:RlUN/7vTU7Ao/diDkEpQpnz3/92J9ko05BIwxYa2SSI= +go.opentelemetry.io/otel/metric v1.43.0 h1:d7638QeInOnuwOONPp4JAOGfbCEpYb+K6DVWvdxGzgM= +go.opentelemetry.io/otel/metric v1.43.0/go.mod h1:RDnPtIxvqlgO8GRW18W6Z/4P462ldprJtfxHxyKd2PY= go.opentelemetry.io/otel/sdk v1.42.0 h1:LyC8+jqk6UJwdrI/8VydAq/hvkFKNHZVIWuslJXYsDo= go.opentelemetry.io/otel/sdk v1.42.0/go.mod h1:rGHCAxd9DAph0joO4W6OPwxjNTYWghRWmkHuGbayMts= go.opentelemetry.io/otel/sdk/metric v1.42.0 h1:D/1QR46Clz6ajyZ3G8SgNlTJKBdGp84q9RKCAZ3YGuA= go.opentelemetry.io/otel/sdk/metric v1.42.0/go.mod h1:Ua6AAlDKdZ7tdvaQKfSmnFTdHx37+J4ba8MwVCYM5hc= -go.opentelemetry.io/otel/trace v1.42.0 h1:OUCgIPt+mzOnaUTpOQcBiM/PLQ/Op7oq6g4LenLmOYY= -go.opentelemetry.io/otel/trace v1.42.0/go.mod h1:f3K9S+IFqnumBkKhRJMeaZeNk9epyhnCmQh/EysQCdc= +go.opentelemetry.io/otel/trace v1.43.0 h1:BkNrHpup+4k4w+ZZ86CZoHHEkohws8AY+WTX09nk+3A= +go.opentelemetry.io/otel/trace v1.43.0/go.mod h1:/QJhyVBUUswCphDVxq+8mld+AvhXZLhe+8WVFxiFff0= go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE= go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= @@ -305,9 +305,8 @@ golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q= golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4= golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo= -golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/sys v0.43.0 h1:Rlag2XtaFTxp19wS8MXlJwTvoh8ArU6ezoyFsMyCTNI= +golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= golang.org/x/text v0.35.0 h1:JOVx6vVDFokkpaq1AEptVzLTpDe9KGpj5tR4/X+ybL8= golang.org/x/text v0.35.0/go.mod h1:khi/HExzZJ2pGnjenulevKNX1W67CUy0AsXcNubPGCA= golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= diff --git a/trustcenter/go.mod b/trustcenter/go.mod index dece66c..6832751 100644 --- a/trustcenter/go.mod +++ b/trustcenter/go.mod @@ -3,10 +3,10 @@ module github.com/theopenlane/riverboat/trustcenter go 1.25.8 require ( - github.com/riverqueue/river v0.32.0 + github.com/riverqueue/river v0.33.0 github.com/rs/zerolog v1.35.0 github.com/theopenlane/core/common v1.0.17 - github.com/theopenlane/corejobs v0.1.21-0.20260402184812-3c1f55b9e4b6 + github.com/theopenlane/corejobs v0.1.21 github.com/theopenlane/riverboat v0.9.9 ) @@ -16,7 +16,7 @@ require ( github.com/aymerick/douceur v0.2.0 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/clipperhouse/uax29/v2 v2.7.0 // indirect - github.com/cloudflare/cloudflare-go/v6 v6.8.0 // indirect + github.com/cloudflare/cloudflare-go/v6 v6.9.0 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect github.com/fxamacker/cbor/v2 v2.9.1 // indirect @@ -25,7 +25,7 @@ require ( github.com/go-logr/stdr v1.2.2 // indirect github.com/go-pdf/fpdf v0.9.0 // indirect github.com/go-viper/mapstructure/v2 v2.5.0 // indirect - github.com/go-webauthn/webauthn v0.16.2 // indirect + github.com/go-webauthn/webauthn v0.16.3 // indirect github.com/go-webauthn/x v0.2.2 // indirect github.com/gocarina/gocsv v0.0.0-20240520201108-78e41c74b4b1 // indirect github.com/golang-jwt/jwt/v5 v5.3.1 // indirect @@ -35,7 +35,7 @@ require ( github.com/gorilla/css v1.0.1 // indirect github.com/gorilla/securecookie v1.1.2 // indirect github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect - github.com/gqlgo/gqlgenc v0.33.1 // indirect + github.com/gqlgo/gqlgenc v0.35.1 // indirect github.com/hhrutter/lzw v1.0.0 // indirect github.com/hhrutter/pkcs7 v0.2.2 // indirect github.com/hhrutter/tiff v1.0.3 // indirect @@ -44,8 +44,8 @@ require ( github.com/jackc/pgx/v5 v5.9.1 // indirect github.com/jackc/puddle/v2 v2.2.2 // indirect github.com/mattn/go-colorable v0.1.14 // indirect - github.com/mattn/go-isatty v0.0.20 // indirect - github.com/mattn/go-runewidth v0.0.21 // indirect + github.com/mattn/go-isatty v0.0.21 // indirect + github.com/mattn/go-runewidth v0.0.23 // indirect github.com/microcosm-cc/bluemonday v1.0.27 // indirect github.com/oklog/ulid/v2 v2.1.1 // indirect github.com/pdfcpu/pdfcpu v0.11.1 // indirect @@ -54,22 +54,22 @@ require ( github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/redis/go-redis/v9 v9.18.0 // indirect github.com/resend/resend-go/v3 v3.3.0 // indirect - github.com/riverqueue/river/riverdriver v0.32.0 // indirect - github.com/riverqueue/river/riverdriver/riverpgxv5 v0.32.0 // indirect - github.com/riverqueue/river/rivershared v0.32.0 // indirect - github.com/riverqueue/river/rivertype v0.32.0 // indirect + github.com/riverqueue/river/riverdriver v0.33.0 // indirect + github.com/riverqueue/river/riverdriver/riverpgxv5 v0.33.0 // indirect + github.com/riverqueue/river/rivershared v0.33.0 // indirect + github.com/riverqueue/river/rivertype v0.33.0 // indirect github.com/riverqueue/rivercontrib/otelriver v0.7.0 // indirect github.com/robfig/cron/v3 v3.0.1 // indirect github.com/samber/lo v1.53.0 // indirect - github.com/slack-go/slack v0.20.0 // indirect + github.com/slack-go/slack v0.21.1 // indirect github.com/sosodev/duration v1.4.0 // indirect github.com/stoewer/go-strcase v1.3.1 // indirect github.com/stretchr/testify v1.11.1 // indirect - github.com/theopenlane/core v1.15.1 // indirect + github.com/theopenlane/core v1.16.4 // indirect github.com/theopenlane/dbx v0.1.3 // indirect github.com/theopenlane/echox v0.3.0 // indirect github.com/theopenlane/emailtemplates v0.3.6 // indirect - github.com/theopenlane/go-client v0.9.2 // indirect + github.com/theopenlane/go-client v0.9.3 // indirect github.com/theopenlane/httpsling v0.3.0 // indirect github.com/theopenlane/iam v0.27.5 // indirect github.com/theopenlane/newman v0.2.2 // indirect @@ -85,9 +85,9 @@ require ( github.com/x448/float16 v0.8.4 // indirect github.com/zeebo/xxh3 v1.1.0 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect - go.opentelemetry.io/otel v1.42.0 // indirect - go.opentelemetry.io/otel/metric v1.42.0 // indirect - go.opentelemetry.io/otel/trace v1.42.0 // indirect + go.opentelemetry.io/otel v1.43.0 // indirect + go.opentelemetry.io/otel/metric v1.43.0 // indirect + go.opentelemetry.io/otel/trace v1.43.0 // indirect go.uber.org/atomic v1.11.0 // indirect go.uber.org/goleak v1.3.0 // indirect golang.org/x/crypto v0.49.0 // indirect @@ -95,7 +95,7 @@ require ( golang.org/x/net v0.52.0 // indirect golang.org/x/oauth2 v0.36.0 // indirect golang.org/x/sync v0.20.0 // indirect - golang.org/x/sys v0.42.0 // indirect + golang.org/x/sys v0.43.0 // indirect golang.org/x/text v0.35.0 // indirect golang.org/x/time v0.15.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect diff --git a/trustcenter/go.sum b/trustcenter/go.sum index 7e34de7..f5119ab 100644 --- a/trustcenter/go.sum +++ b/trustcenter/go.sum @@ -18,8 +18,8 @@ github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UF github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/clipperhouse/uax29/v2 v2.7.0 h1:+gs4oBZ2gPfVrKPthwbMzWZDaAFPGYK72F0NJv2v7Vk= github.com/clipperhouse/uax29/v2 v2.7.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM= -github.com/cloudflare/cloudflare-go/v6 v6.8.0 h1:t1UV6Yc2T/MzEmiJgPRfIZZvpeBINNCMYHksn4nWsmk= -github.com/cloudflare/cloudflare-go/v6 v6.8.0/go.mod h1:Lj3MUqjvKctXRpdRhLQxZYRrNZHuRs0XYuH8JtQGyoI= +github.com/cloudflare/cloudflare-go/v6 v6.9.0 h1:RpImnN6YgC2Wcvhep/EtxIl1c0R1+ST1yOheGTjDjis= +github.com/cloudflare/cloudflare-go/v6 v6.9.0/go.mod h1:Lj3MUqjvKctXRpdRhLQxZYRrNZHuRs0XYuH8JtQGyoI= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= @@ -43,8 +43,8 @@ github.com/go-test/deep v1.1.1 h1:0r/53hagsehfO4bzD2Pgr/+RgHqhmf+k1Bpse2cTu1U= github.com/go-test/deep v1.1.1/go.mod h1:5C2ZWiW0ErCdrYzpqxLbTX7MG14M9iiw8DgHncVwcsE= github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPEgAXnvj1Ro= github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= -github.com/go-webauthn/webauthn v0.16.2 h1:n116UuvIa7nUVGFP2hO9U24gBqhJTcmbU3ph0wgVzFM= -github.com/go-webauthn/webauthn v0.16.2/go.mod h1:R2xjJxSPat5PYKg5r6cUmqXgbHtbv4GmF6uGkqFMLNI= +github.com/go-webauthn/webauthn v0.16.3 h1:RorP0c6VbaKP0i0Jxf/vAf7EFb2lmdLW8GLKITeaN5A= +github.com/go-webauthn/webauthn v0.16.3/go.mod h1:R2xjJxSPat5PYKg5r6cUmqXgbHtbv4GmF6uGkqFMLNI= github.com/go-webauthn/x v0.2.2 h1:zIiipvMbr48CXi5RG0XdBJR94kd8I5LfzHPb/q+YYmk= github.com/go-webauthn/x v0.2.2/go.mod h1:IpJ5qyWB9NRhLX3C7gIfjTU7RZLXEP6kzFkoVSE7Fz4= github.com/gocarina/gocsv v0.0.0-20240520201108-78e41c74b4b1 h1:FWNFq4fM1wPfcK40yHE5UO3RUdSNPaBC+j3PokzA6OQ= @@ -70,8 +70,8 @@ github.com/gorilla/securecookie v1.1.2 h1:YCIWL56dvtr73r6715mJs5ZvhtnY73hBvEF8kX github.com/gorilla/securecookie v1.1.2/go.mod h1:NfCASbcHqRSY+3a8tlWJwsQap2VX5pwzwo4h3eOamfo= github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 h1:JeSE6pjso5THxAzdVpqr6/geYxZytqFMBCOtn/ujyeo= github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674/go.mod h1:r4w70xmWCQKmi1ONH4KIaBptdivuRPyosB9RmPlGEwA= -github.com/gqlgo/gqlgenc v0.33.1 h1:r4wNp20L2NNE/59rIZoBPNVmHyrcKAyYPLP6DiwZ54Q= -github.com/gqlgo/gqlgenc v0.33.1/go.mod h1:saXWMb8bbHVR0r+iwTslksNO06lx9rKXagrjzPfG+rQ= +github.com/gqlgo/gqlgenc v0.35.1 h1:wHg+0/SEU4Jp+gb5ted1i7jls2i3AqMuCOuUClOo+9Q= +github.com/gqlgo/gqlgenc v0.35.1/go.mod h1:qszcs75kQw4fEP7szUpzPGPLtF8idQX7qGVrZDnvSuA= github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= github.com/hhrutter/lzw v1.0.0 h1:laL89Llp86W3rRs83LvKbwYRx6INE8gDn0XNb1oXtm0= @@ -98,10 +98,10 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE= github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8= -github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= -github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-runewidth v0.0.21 h1:jJKAZiQH+2mIinzCJIaIG9Be1+0NR+5sz/lYEEjdM8w= -github.com/mattn/go-runewidth v0.0.21/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs= +github.com/mattn/go-isatty v0.0.21 h1:xYae+lCNBP7QuW4PUnNG61ffM4hVIfm+zUzDuSzYLGs= +github.com/mattn/go-isatty v0.0.21/go.mod h1:ZXfXG4SQHsB/w3ZeOYbR0PrPwLy+n6xiMrJlRFqopa4= +github.com/mattn/go-runewidth v0.0.23 h1:7ykA0T0jkPpzSvMS5i9uoNn2Xy3R383f9HDx3RybWcw= +github.com/mattn/go-runewidth v0.0.23/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs= github.com/microcosm-cc/bluemonday v1.0.27 h1:MpEUotklkwCSLeH+Qdx1VJgNqLlpY2KXwXFM08ygZfk= github.com/microcosm-cc/bluemonday v1.0.27/go.mod h1:jFi9vgW+H7c3V0lb6nR74Ib/DIB5OBs92Dimizgw2cA= github.com/oklog/ulid/v2 v2.1.1 h1:suPZ4ARWLOJLegGFiZZ1dFAkqzhMjL3J1TzI+5wHz8s= @@ -120,16 +120,16 @@ github.com/redis/go-redis/v9 v9.18.0 h1:pMkxYPkEbMPwRdenAzUNyFNrDgHx9U+DrBabWNfS github.com/redis/go-redis/v9 v9.18.0/go.mod h1:k3ufPphLU5YXwNTUcCRXGxUoF1fqxnhFQmscfkCoDA0= github.com/resend/resend-go/v3 v3.3.0 h1:phljT3kSQ0ddFagrPBxd6YFJ90xjWGzX8q8smwqEScA= github.com/resend/resend-go/v3 v3.3.0/go.mod h1:iI7VA0NoGjWvsNii5iNC5Dy0llsI3HncXPejhniYzwE= -github.com/riverqueue/river v0.32.0 h1:j15EoFZ4oQWXcCq8NyzWwoi3fdaO8mECTB100NSv9Qw= -github.com/riverqueue/river v0.32.0/go.mod h1:zABAdLze3HI7K02N+veikXyK5FjiLzjimnQpZ1Duyng= -github.com/riverqueue/river/riverdriver v0.32.0 h1:AG6a2hNVOIGLx/+3IRtbwofJRYEI7xqnVVxULe9s4Lg= -github.com/riverqueue/river/riverdriver v0.32.0/go.mod h1:FRDMuqnLOsakeJOHlozKK+VH7W7NLp+6EToxQ2JAjBE= -github.com/riverqueue/river/riverdriver/riverpgxv5 v0.32.0 h1:CqrRxxcdA/0sHkxLNldsQff9DIG5qxn2EJO09Pau3w0= -github.com/riverqueue/river/riverdriver/riverpgxv5 v0.32.0/go.mod h1:j45UPpbMpcI10m+huTeNUaOwzoLJcEg0K6ihWXWeOec= -github.com/riverqueue/river/rivershared v0.32.0 h1:7DwdrppMU9uoU2iU9aGQiv91nBezjlcI85NV4PmnLHw= -github.com/riverqueue/river/rivershared v0.32.0/go.mod h1:UE7GEj3zaTV3cKw7Q3angCozlNEGsL50xZBKJQ9m6zU= -github.com/riverqueue/river/rivertype v0.32.0 h1:RW7uodfl86gYkjwDponTAPNnUqM+X6BjlsNHxbt6Ztg= -github.com/riverqueue/river/rivertype v0.32.0/go.mod h1:D1Ad+EaZiaXbQbJcJcfeicXJMBKno0n6UcfKI5Q7DIQ= +github.com/riverqueue/river v0.33.0 h1:dVB1p91HKAFrOOPIndvsNtCiq5smW6Ii/XYCqZupmvM= +github.com/riverqueue/river v0.33.0/go.mod h1:OMDbi/nfD2uQ9v5kQo53LIypbJbR/bEqx2KyuXeHpdU= +github.com/riverqueue/river/riverdriver v0.33.0 h1:omnVHLRcq6Gy2F59HRI2NMdOAFGf2/iWnJ252nSALy0= +github.com/riverqueue/river/riverdriver v0.33.0/go.mod h1:TZVIUtKC9kaiOGmYTjNffu4IkqBB+i2iEepWLKm2emM= +github.com/riverqueue/river/riverdriver/riverpgxv5 v0.33.0 h1:Q5oVOHI3KPFkkH6WLXwrNkqAeRWiBqPI5YjVy/QNyd0= +github.com/riverqueue/river/riverdriver/riverpgxv5 v0.33.0/go.mod h1:RjltKK9O9vMbdvlzh/oZoyV62oTNACWuzm3vkchuBFA= +github.com/riverqueue/river/rivershared v0.33.0 h1:gE19JWgu0RgO78PTb5C1OqrI6T2x65mCDtlXHk+hl3E= +github.com/riverqueue/river/rivershared v0.33.0/go.mod h1:/wv6gmMJ4yC23Y9FFZaN/3GgctGmzxsGJ1/moYv1AnE= +github.com/riverqueue/river/rivertype v0.33.0 h1:GIFeAX+JMUL6CaWj7iAUNG86eGSp2KP1NTbTfipsJOo= +github.com/riverqueue/river/rivertype v0.33.0/go.mod h1:D1Ad+EaZiaXbQbJcJcfeicXJMBKno0n6UcfKI5Q7DIQ= github.com/riverqueue/rivercontrib/otelriver v0.7.0 h1:zLjPf674dcGrz7OPG2JF5xea0fyitFax6Cc6q370Xzo= github.com/riverqueue/rivercontrib/otelriver v0.7.0/go.mod h1:MuyMZmYBz3JXC8ZLP0dH9IqXK95qRY6gCQSoJGh9h7E= github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= @@ -142,8 +142,8 @@ github.com/samber/lo v1.53.0 h1:t975lj2py4kJPQ6haz1QMgtId2gtmfktACxIXArw3HM= github.com/samber/lo v1.53.0/go.mod h1:4+MXEGsJzbKGaUEQFKBq2xtfuznW9oz/WrgyzMzRoM0= github.com/sergi/go-diff v1.4.0 h1:n/SP9D5ad1fORl+llWyN+D6qoUETXNZARKjyY2/KVCw= github.com/sergi/go-diff v1.4.0/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= -github.com/slack-go/slack v0.20.0 h1:gbDdbee8+Z2o+DWx05Spq3GzbrLLleiRwHUKs+hZLSU= -github.com/slack-go/slack v0.20.0/go.mod h1:K81UmCivcYd/5Jmz8vLBfuyoZ3B4rQC2GHVXHteXiAE= +github.com/slack-go/slack v0.21.1 h1:vBHR+IkaXbv9RLY6w/RiN82D+5/OTI06CGqrlZ3Vyas= +github.com/slack-go/slack v0.21.1/go.mod h1:K81UmCivcYd/5Jmz8vLBfuyoZ3B4rQC2GHVXHteXiAE= github.com/sosodev/duration v1.4.0 h1:35ed0KiVFriGHHzZZJaZLgmTEEICIyt8Sx0RQfj9IjE= github.com/sosodev/duration v1.4.0/go.mod h1:RQIBBX0+fMLc/D9+Jb/fwvVmo0eZvDDEERAikUR6SDg= github.com/stoewer/go-strcase v1.3.1 h1:iS0MdW+kVTxgMoE1LAZyMiYJFKlOzLooE4MxjirtkAs= @@ -160,20 +160,20 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= -github.com/theopenlane/core v1.15.1 h1:36u/vaY/MAzsKpk/JimSZt0WxrcW3AEeGZnabpxYoNw= -github.com/theopenlane/core v1.15.1/go.mod h1:dqgNfvJAerKnW6m+nPtY8a61v5AJRAMcp70QWOUp8AA= +github.com/theopenlane/core v1.16.4 h1:3zgr6YA9BO5o+8jaBWYorECWKZQ/Ek7VfeV82cw/C3Y= +github.com/theopenlane/core v1.16.4/go.mod h1:2Ta7YUFvubxV+Jq/bNOGaeMR/p1BdQLX+X0b44ttj1g= github.com/theopenlane/core/common v1.0.17 h1:kdrlGHfEGpx4PRhUq8G4xiIW+U0FmmLXD5XjF6wEozw= github.com/theopenlane/core/common v1.0.17/go.mod h1:+OOhH2NYhLgngkFgkwJZdFTgbB6e+X+pXVXBG8hrZ/M= -github.com/theopenlane/corejobs v0.1.21-0.20260402184812-3c1f55b9e4b6 h1:Z64pPnPpj5aCzalvGTFmgpVCUixUgwdLn96YfWMlLEs= -github.com/theopenlane/corejobs v0.1.21-0.20260402184812-3c1f55b9e4b6/go.mod h1:kuJ4eLzxQl8cLDeP8OEM5FtPNpFTglLx7kaO4jBzQ0Y= +github.com/theopenlane/corejobs v0.1.21 h1:IQJhBdluSaqS/upi+42Mf82pyMXqVC4tYMSlubGhzI4= +github.com/theopenlane/corejobs v0.1.21/go.mod h1:rm+1WFcZLWguyZBCTXMjU6ewEibe8Pt/m5izUkdYM98= github.com/theopenlane/dbx v0.1.3 h1:6zncXgqnvRyz5OuCDPM07xmOiBXS7q7U9GSMOWu3vNc= github.com/theopenlane/dbx v0.1.3/go.mod h1:/bcz8oKFK3qrakLw0yHCAFY6fGnTOC3CntM0jMj3GDk= github.com/theopenlane/echox v0.3.0 h1:uwOKEw+r1utGQoOR6dZQqAVuY5j8TcasqnTwO5+rMsA= github.com/theopenlane/echox v0.3.0/go.mod h1:yTrXnj7s3VNIg0FCvB7Dut2Elr+LqJKU/nruxx1E1cM= github.com/theopenlane/emailtemplates v0.3.6 h1:ZBoaOD5wAmqfLywjlEK7H/nvshnE0J1WBT93Uiz84EI= github.com/theopenlane/emailtemplates v0.3.6/go.mod h1:VmTIBAJ9XQ+QOi7ZcaOjoEv0NxsuPKcR7Pz0N3EQeJE= -github.com/theopenlane/go-client v0.9.2 h1:rYtvM+rlI0HZcUh4gHUxCW1trkHEI2g9zZQYTXRfAzs= -github.com/theopenlane/go-client v0.9.2/go.mod h1:jZ0E6UVSX1fv2RPvMbSZb+oM23VAQjdKZrQyxm0GxtU= +github.com/theopenlane/go-client v0.9.3 h1:WkvQOHiFKtMJRXqKEeOOC7QnoUdl+NJRwJnqVfV+x4w= +github.com/theopenlane/go-client v0.9.3/go.mod h1:wCuq66uUq4tnJcwKSlVpkPtPD+JGwfd3TzADrf5O1Wg= github.com/theopenlane/httpsling v0.3.0 h1:Bad0dGdqCqAB8UVDyVo+YCevzRvGHhmkK22F7T3pXtY= github.com/theopenlane/httpsling v0.3.0/go.mod h1:iJc3XRLYTFIpfCnPpLZVMBP0xsWIPAb7ozARtQoclAE= github.com/theopenlane/iam v0.27.5 h1:FuRbVK2qEiRBelMKho1asHJpk8jSdtcG9/+0MMgx7HY= @@ -211,16 +211,16 @@ github.com/zeebo/xxh3 v1.1.0 h1:s7DLGDK45Dyfg7++yxI0khrfwq9661w9EN78eP/UZVs= github.com/zeebo/xxh3 v1.1.0/go.mod h1:IisAie1LELR4xhVinxWS5+zf1lA4p0MW4T+w+W07F5s= go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= -go.opentelemetry.io/otel v1.42.0 h1:lSQGzTgVR3+sgJDAU/7/ZMjN9Z+vUip7leaqBKy4sho= -go.opentelemetry.io/otel v1.42.0/go.mod h1:lJNsdRMxCUIWuMlVJWzecSMuNjE7dOYyWlqOXWkdqCc= -go.opentelemetry.io/otel/metric v1.42.0 h1:2jXG+3oZLNXEPfNmnpxKDeZsFI5o4J+nz6xUlaFdF/4= -go.opentelemetry.io/otel/metric v1.42.0/go.mod h1:RlUN/7vTU7Ao/diDkEpQpnz3/92J9ko05BIwxYa2SSI= +go.opentelemetry.io/otel v1.43.0 h1:mYIM03dnh5zfN7HautFE4ieIig9amkNANT+xcVxAj9I= +go.opentelemetry.io/otel v1.43.0/go.mod h1:JuG+u74mvjvcm8vj8pI5XiHy1zDeoCS2LB1spIq7Ay0= +go.opentelemetry.io/otel/metric v1.43.0 h1:d7638QeInOnuwOONPp4JAOGfbCEpYb+K6DVWvdxGzgM= +go.opentelemetry.io/otel/metric v1.43.0/go.mod h1:RDnPtIxvqlgO8GRW18W6Z/4P462ldprJtfxHxyKd2PY= go.opentelemetry.io/otel/sdk v1.42.0 h1:LyC8+jqk6UJwdrI/8VydAq/hvkFKNHZVIWuslJXYsDo= go.opentelemetry.io/otel/sdk v1.42.0/go.mod h1:rGHCAxd9DAph0joO4W6OPwxjNTYWghRWmkHuGbayMts= go.opentelemetry.io/otel/sdk/metric v1.42.0 h1:D/1QR46Clz6ajyZ3G8SgNlTJKBdGp84q9RKCAZ3YGuA= go.opentelemetry.io/otel/sdk/metric v1.42.0/go.mod h1:Ua6AAlDKdZ7tdvaQKfSmnFTdHx37+J4ba8MwVCYM5hc= -go.opentelemetry.io/otel/trace v1.42.0 h1:OUCgIPt+mzOnaUTpOQcBiM/PLQ/Op7oq6g4LenLmOYY= -go.opentelemetry.io/otel/trace v1.42.0/go.mod h1:f3K9S+IFqnumBkKhRJMeaZeNk9epyhnCmQh/EysQCdc= +go.opentelemetry.io/otel/trace v1.43.0 h1:BkNrHpup+4k4w+ZZ86CZoHHEkohws8AY+WTX09nk+3A= +go.opentelemetry.io/otel/trace v1.43.0/go.mod h1:/QJhyVBUUswCphDVxq+8mld+AvhXZLhe+8WVFxiFff0= go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE= go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= @@ -237,9 +237,8 @@ golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q= golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4= golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo= -golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/sys v0.43.0 h1:Rlag2XtaFTxp19wS8MXlJwTvoh8ArU6ezoyFsMyCTNI= +golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= golang.org/x/text v0.35.0 h1:JOVx6vVDFokkpaq1AEptVzLTpDe9KGpj5tR4/X+ybL8= golang.org/x/text v0.35.0/go.mod h1:khi/HExzZJ2pGnjenulevKNX1W67CUy0AsXcNubPGCA= golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= From b92ced2bd7028a2ffdcb35c3669a33fd2692f62f Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Wed, 8 Apr 2026 23:23:46 +0100 Subject: [PATCH 5/5] task generate --- pkg/jobs/openlane/mocks/mocks.go | 83 ++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/pkg/jobs/openlane/mocks/mocks.go b/pkg/jobs/openlane/mocks/mocks.go index 3d1e151..f0cad5c 100644 --- a/pkg/jobs/openlane/mocks/mocks.go +++ b/pkg/jobs/openlane/mocks/mocks.go @@ -14340,6 +14340,89 @@ func (_c *MockGraphClient_CreateNarrative_Call) RunAndReturn(run func(ctx contex return _c } +// CreateNotification provides a mock function for the type MockGraphClient +func (_mock *MockGraphClient) CreateNotification(ctx context.Context, input graphclient.CreateNotificationInput, interceptors ...clientv2.RequestInterceptor) (*graphclient.CreateNotification, error) { + var tmpRet mock.Arguments + if len(interceptors) > 0 { + tmpRet = _mock.Called(ctx, input, interceptors) + } else { + tmpRet = _mock.Called(ctx, input) + } + ret := tmpRet + + if len(ret) == 0 { + panic("no return value specified for CreateNotification") + } + + var r0 *graphclient.CreateNotification + var r1 error + if returnFunc, ok := ret.Get(0).(func(context.Context, graphclient.CreateNotificationInput, ...clientv2.RequestInterceptor) (*graphclient.CreateNotification, error)); ok { + return returnFunc(ctx, input, interceptors...) + } + if returnFunc, ok := ret.Get(0).(func(context.Context, graphclient.CreateNotificationInput, ...clientv2.RequestInterceptor) *graphclient.CreateNotification); ok { + r0 = returnFunc(ctx, input, interceptors...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*graphclient.CreateNotification) + } + } + if returnFunc, ok := ret.Get(1).(func(context.Context, graphclient.CreateNotificationInput, ...clientv2.RequestInterceptor) error); ok { + r1 = returnFunc(ctx, input, interceptors...) + } else { + r1 = ret.Error(1) + } + return r0, r1 +} + +// MockGraphClient_CreateNotification_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateNotification' +type MockGraphClient_CreateNotification_Call struct { + *mock.Call +} + +// CreateNotification is a helper method to define mock.On call +// - ctx context.Context +// - input graphclient.CreateNotificationInput +// - interceptors ...clientv2.RequestInterceptor +func (_e *MockGraphClient_Expecter) CreateNotification(ctx interface{}, input interface{}, interceptors ...interface{}) *MockGraphClient_CreateNotification_Call { + return &MockGraphClient_CreateNotification_Call{Call: _e.mock.On("CreateNotification", + append([]interface{}{ctx, input}, interceptors...)...)} +} + +func (_c *MockGraphClient_CreateNotification_Call) Run(run func(ctx context.Context, input graphclient.CreateNotificationInput, interceptors ...clientv2.RequestInterceptor)) *MockGraphClient_CreateNotification_Call { + _c.Call.Run(func(args mock.Arguments) { + var arg0 context.Context + if args[0] != nil { + arg0 = args[0].(context.Context) + } + var arg1 graphclient.CreateNotificationInput + if args[1] != nil { + arg1 = args[1].(graphclient.CreateNotificationInput) + } + var arg2 []clientv2.RequestInterceptor + var variadicArgs []clientv2.RequestInterceptor + if len(args) > 2 { + variadicArgs = args[2].([]clientv2.RequestInterceptor) + } + arg2 = variadicArgs + run( + arg0, + arg1, + arg2..., + ) + }) + return _c +} + +func (_c *MockGraphClient_CreateNotification_Call) Return(createNotification *graphclient.CreateNotification, err error) *MockGraphClient_CreateNotification_Call { + _c.Call.Return(createNotification, err) + return _c +} + +func (_c *MockGraphClient_CreateNotification_Call) RunAndReturn(run func(ctx context.Context, input graphclient.CreateNotificationInput, interceptors ...clientv2.RequestInterceptor) (*graphclient.CreateNotification, error)) *MockGraphClient_CreateNotification_Call { + _c.Call.Return(run) + return _c +} + // CreateNotificationPreference provides a mock function for the type MockGraphClient func (_mock *MockGraphClient) CreateNotificationPreference(ctx context.Context, input graphclient.CreateNotificationPreferenceInput, interceptors ...clientv2.RequestInterceptor) (*graphclient.CreateNotificationPreference, error) { var tmpRet mock.Arguments