Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docker-compose dev env #295

Merged
merged 5 commits into from
Mar 3, 2023
Merged

Fix docker-compose dev env #295

merged 5 commits into from
Mar 3, 2023

Conversation

piccione99
Copy link
Contributor

the talaria config template file under the .releases directory was out of date for the current version of bascule.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Marcia Piccione seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@codecov
Copy link

codecov bot commented Mar 1, 2023

Codecov Report

Merging #295 (3b0e385) into main (2c506c8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #295   +/-   ##
=======================================
  Coverage   60.83%   60.83%           
=======================================
  Files          18       18           
  Lines        1527     1527           
=======================================
  Hits          929      929           
  Misses        584      584           
  Partials       14       14           
Flag Coverage Δ
unittests 60.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Comment on lines 312 to 319
jwtValidator:
keys:
Factory:
uri: (( grab $THEMIS_ENDPOINT || "http://themis:6500/keys/docker" ))
purpose: 0
updateInterval: 24h
Config:
Resolve:
Template: (( grab $THEMIS_ENDPOINT || "http://themis:6500/keys/docker" ))
Refresh:
Sources:
- URI: (( grab $THEMIS_ENDPOINT || "http://themis:6500/keys/docker" ))
Leeway: 0
Copy link
Contributor

@denopink denopink Mar 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the uri should match this structure "localhost:6500/keys/{keyID}", not sure what "http://themis:6500/keys/docker" refers to

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"http://themis:6500/keys/docker" probably should be "http://themis:6500/keys/{keyID}"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

within a docker-compose network, you can refer to other processes by container name (e.g. themis, petasos, etc..). For this particular environment, the key name is "docker" as defined in the dev (docker) yaml file for themis.

Copy link
Contributor

@denopink denopink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.release/docker/talaria_spruce.yaml Outdated Show resolved Hide resolved
@denopink
Copy link
Contributor

denopink commented Mar 3, 2023

@piccione99 don't forget to complete this #295 (comment)

@denopink denopink requested a review from johnabass March 3, 2023 18:06
@piccione99 piccione99 merged commit 749e2ab into main Mar 3, 2023
@piccione99 piccione99 deleted the fix_dev_env branch March 3, 2023 19:47
@sonarcloud
Copy link

sonarcloud bot commented Mar 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants