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

Load templates from the filesystem #203

Merged
merged 13 commits into from
Jan 11, 2023
Merged

Conversation

wistefan
Copy link
Contributor

@wistefan wistefan commented Jan 3, 2023

The PR adds the ability to load templates for VerifiableCredentials from the filesystem. The path can be configured in the signatory.conf. Since the already packaged templates are loaded from the resources inside the jar-file, they cannot easily be extended on deployment or runtime.
The changes are non-breaking and therefor backward compatible.

@philpotisk
Copy link
Contributor

@wistefan Thanks for this great contribution. We like the idea to import the VC templates at runtime 👍

# Conflicts:
#	src/main/kotlin/id/walt/credentials/w3c/templates/VcTemplateManager.kt
@sonarcloud
Copy link

sonarcloud bot commented Jan 11, 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 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@philpotisk philpotisk merged commit c4b196b into walt-id:master Jan 11, 2023
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