-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add property resolution for provided dependencies #240
Add property resolution for provided dependencies #240
Conversation
|
||
import org.cloudfoundry.multiapps.common.ContentException; | ||
import org.cloudfoundry.multiapps.mta.Messages; | ||
import org.cloudfoundry.multiapps.mta.handlers.v2.DescriptorHandler; |
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.
Use v3 handler
@@ -77,4 +80,20 @@ protected RequiredDependencyReferenceResolver createRequiredDependencyResolver(R | |||
dynamicResolvableParameters); | |||
} | |||
|
|||
protected ProvidedDependencyReferenceResolver getProvidedDependencyResolver(ProvidedDependency providedDependency) { |
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.
Move to the v3 resolver
import java.util.Set; | ||
|
||
import org.cloudfoundry.multiapps.common.ContentException; | ||
import org.cloudfoundry.multiapps.mta.handlers.v2.DescriptorHandler; |
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.
Use v3 handler
this.dependency = dependency; | ||
this.propertiesResolverBuilder = propertiesResolverBuilder; | ||
this.handler = handler; | ||
this.consumerName = container.getName(); |
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.
container
is a bit hard to understand here. Maybe parent
? Or sticking with the class field name, maybe consumer
?
5baf3b8
to
222583a
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Issue: LMCROSSITXSADEPLOY-2798