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

feat(impl):[210] added cache mechanism to ConnectorEndpointsService #623

Merged
merged 3 commits into from
Nov 9, 2023

Conversation

ds-psosnowski
Copy link

Added cache mechanism to feat(impl):[210] added cache mechanism to ConnectorEndpointsService, added TTL configuration via helm

Copy link

@ds-jhartmann ds-jhartmann left a comment

Choose a reason for hiding this comment

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

See at the suggested change to fix the helm template issues.
Please also address the code smells

@@ -114,6 +114,8 @@ data:
operator: {{ .operator | quote }}
rightOperand: {{ .rightOperand | quote }}
{{- end }}
connectorEndpointService:
cacheTTL: {{ tpl(.Values.edc.connectorEndpointService.cacheTTL) }}

Choose a reason for hiding this comment

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

Suggested change
cacheTTL: {{ tpl(.Values.edc.connectorEndpointService.cacheTTL) }}
cacheTTL: {{ .Values.edc.connectorEndpointService.cacheTTL | int64 }}

Copy link

sonarcloud bot commented Nov 9, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

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

0.0% 0.0% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@ds-psosnowski ds-psosnowski merged commit 56ac9e4 into main Nov 9, 2023
@ds-psosnowski ds-psosnowski deleted the TRI-210-add-cache-for-bpnl-endpoints branch November 9, 2023 15:41
@@ -196,7 +196,8 @@ edc:
- leftOperand: "Membership"
operator: "eq"
rightOperand: "active"

connectorEndpointService:
cacheTTL: 86400000
Copy link
Author

Choose a reason for hiding this comment

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

change to iso format
add comment

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.

2 participants