-
Notifications
You must be signed in to change notification settings - Fork 5
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
remove fixed registry configurations #192
Conversation
Signed-off-by: Jorge Aguilera <[email protected]>
Signed-off-by: Jorge Aguilera <[email protected]>
Signed-off-by: Jorge Aguilera <[email protected]>
src/main/groovy/io/seqera/wave/auth/RegistryConfiguration.groovy
Outdated
Show resolved
Hide resolved
Signed-off-by: Jorge Aguilera <[email protected]>
Signed-off-by: Paolo Di Tommaso <[email protected]>
@ConfigurationProperties('wave') | ||
@Context | ||
@CompileStatic | ||
class RegistryConfig { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simplified to RegistryConfig
to not overlap with RegistryCredentialsFactory
Signed-off-by: Paolo Di Tommaso <[email protected]>
/** | ||
* Registry static key pair as defined in the Wave config file | ||
*/ | ||
static class RegistryKeys { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The registry name must be the same as the one specified in the method invocation. I've removed from this class.
Nice job! this is much more flexible and removes a lot of code! |
Always him #178 😠 |
yesterday I was working on it and I've created a new PR |
remove fixed registry configurations from code and move them to configuration to allow include more registries without change code
the new configuration uses the full name of the registry as key and allows to specify which of them use as default