Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/github.com/xmidt-org/w…
Browse files Browse the repository at this point in the history
…rp-go/v3-3.5.2
  • Loading branch information
schmidtw authored Jul 16, 2024
2 parents 0d9f4c1 + 0b77b6d commit e42e3b4
Show file tree
Hide file tree
Showing 9 changed files with 116 additions and 76 deletions.
6 changes: 3 additions & 3 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## SPDX-FileCopyrightText: 2020 Comcast Cable Communications Management, LLC
## SPDX-License-Identifier: Apache-2.0

# SPDX-FileCopyrightText: 2020 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---
coverage:
range: 50..80
round: down
Expand Down
6 changes: 4 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
# Check for updates to GitHub Actions every day
interval: "daily"
labels:
- "dependencies"
commit-message:
prefix: "chore"
include: "scope"
open-pull-requests-limit: 10

- package-ecosystem: gomod
directory: /
Expand All @@ -22,5 +23,6 @@ updates:
labels:
- "dependencies"
commit-message:
prefix: "feat"
prefix: "chore"
include: "scope"
open-pull-requests-limit: 10
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ on:

jobs:
ci:
uses: xmidt-org/shared-go/.github/workflows/ci.yml@3bef4e75bb010c08cf96c3dee60f126a220b8073 # v4.3.2
uses: xmidt-org/shared-go/.github/workflows/ci.yml@c36ac2ad09d830fd07a1994264400c8c50e10302 # v4.4.14
with:
tests-skip: true
release-type: program
release-docker: true
release-docker-latest: true
release-docker-major: true
release-docker-minor: true
yaml-lint-skip: false
secrets: inherit
2 changes: 1 addition & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ linters-settings:
# Report non-wrapping error creation using fmt.Errorf
errorf: false
misspell:
locale: US
locale: US
37 changes: 37 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# SPDX-FileCopyrightText: 2024 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---

extends: default

ignore: []

rules:
braces:
level: warning
max-spaces-inside: 1
brackets:
level: warning
max-spaces-inside: 1
colons:
level: warning
max-spaces-after: -1
commas:
level: warning
comments: disable
comments-indentation: disable
document-start:
present: true
empty-lines:
max: 2
hyphens:
max-spaces-after: 1
indentation:
level: error
indent-sequences: consistent
line-length:
level: warning
max: 90
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true
truthy: disable
2 changes: 1 addition & 1 deletion conf/caduceator.yaml
4 changes: 2 additions & 2 deletions deploy/docker-compose/docFiles/caduceator.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## SPDX-FileCopyrightText: 2020 Comcast Cable Communications Management, LLC
## SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: 2020 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---
server: "caduceator-instance-123.example.com"

Expand Down
2 changes: 1 addition & 1 deletion deploy/docker-compose/docFiles/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ scrape_configs:
# scheme defaults to 'http'.

static_configs:
- targets: ['caduceator:5003']
- targets: ['caduceator:5003']
130 changes: 65 additions & 65 deletions deploy/docker-compose/docFiles/tr1d1um.yaml
Original file line number Diff line number Diff line change
@@ -1,78 +1,78 @@
## SPDX-FileCopyrightText: 2020 Comcast Cable Communications Management, LLC
## SPDX-License-Identifier: Apache-2.0
---
fqdn: tr1d1um
env: test
scheme: http
hooksScheme: http
fqdn: tr1d1um
env: test
scheme: http
hooksScheme: http

primary:
address: ":6100"
health:
address: ":6101"
options:
- "PayloadsOverZero"
- "PayloadsOverHundred"
- "PayloadsOverThousand"
- "PayloadsOverTenThousand"
readTimeout: "15s"
idleTimeout: "15s"
pprof:
address: ":6102"
readTimeout: "15s"
idleTimeout: "15s"
metric:
address: ":6103"
metricsOptions:
namespace: "webpa"
subsystem: "tr1d1um"
readTimeout: "15s"
idleTimeout: "15s"
log:
file: "stdout"
level: "INFO"
json: false

webhooksEnabled: false
primary:
address: ":6100"
health:
address: ":6101"
options:
- "PayloadsOverZero"
- "PayloadsOverHundred"
- "PayloadsOverThousand"
- "PayloadsOverTenThousand"
readTimeout: "15s"
idleTimeout: "15s"
pprof:
address: ":6102"
readTimeout: "15s"
idleTimeout: "15s"
metric:
address: ":6103"
metricsOptions:
namespace: "webpa"
subsystem: "tr1d1um"
readTimeout: "15s"
idleTimeout: "15s"
log:
file: "stdout"
level: "INFO"
json: false

start:
duration: 1
apiPath: tr1d1um:6100/hooks
webhooksEnabled: false

waitForDns: 0
start:
duration: 1
apiPath: tr1d1um:6100/hooks

aws:
accessKey: "supbro"
secretKey: "nahbro"
env: local-dev
sns:
awsEndpoint: http://goaws:4100
region: "us-east-1"
topicArn: arn:aws:sns:us-east-1:000000000000:xmidt-local-caduceus
urlPath: "/api/v2/aws/sns"
waitForDns: 0

authHeader: ["dXNlcjpwYXNz"]
aws:
accessKey: "supbro"
secretKey: "nahbro"
env: local-dev
sns:
awsEndpoint: http://goaws:4100
region: "us-east-1"
topicArn: arn:aws:sns:us-east-1:000000000000:xmidt-local-caduceus
urlPath: "/api/v2/aws/sns"

jwtValidator:
keys:
factory:
uri: "https://sat-prod.codebig2.net/keys/{keyId}"
purpose: 0
updateInterval: 604800000000000
capabilityCheck:
type: "monitor"
prefix: "x1:webpa:api:"
acceptAllMethod: "all"
authHeader: ["dXNlcjpwYXNz"]

jwtValidator:
keys:
factory:
uri: "https://sat-prod.codebig2.net/keys/{keyId}"
purpose: 0
updateInterval: 604800000000000
capabilityCheck:
type: "monitor"
prefix: "x1:webpa:api:"
acceptAllMethod: "all"

# type: "enforce"
# prefix: "prefix Here"
# acceptAllMethod: "all"
targetURL: http://scytale:6300
# WRPSource: "dns:tr1d1um.xmidt.comcast.net"
supportedServices:
- "config"
clientTimeout: "135s"
respWaitTimeout: "129s"
netDialerTimeout: "5s"
requestRetryInterval: "2s"
requestMaxRetries: 2
targetURL: http://scytale:6300
# WRPSource: "dns:tr1d1um.xmidt.comcast.net"
supportedServices:
- "config"
clientTimeout: "135s"
respWaitTimeout: "129s"
netDialerTimeout: "5s"
requestRetryInterval: "2s"
requestMaxRetries: 2

0 comments on commit e42e3b4

Please sign in to comment.