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(oauth): Fix UnsatifiedDependencyException #393

Merged
merged 1 commit into from
May 15, 2017

Conversation

simonlord
Copy link
Contributor

It looks like the ExternalSslAwareEntryPoint component is being created even though the outer class has a ConditionalOnExpression which returns false. I guess as it is a different class found by spring on startup and it doesn't consider it related to the outer class.

So i've simply duplicated the ConditionalOnExpression from the outer class to ExternalSslAwareEntryPoint.

I'm not 100% convinced this is the correct fix - but i thought i'd take a shot at it :)

It looks like the ExternalSslAwareEntryPoint component is being created even though the outer class has a ConditionalOnExpression which returns false. I guess as it is a different class found by spring on startup and it doesn't consider it related to the outer class.

So i've simply duplicated the ConditionalOnExpression from the outer class to ExternalSslAwareEntryPoint.
Copy link
Member

@ttomsu ttomsu left a comment

Choose a reason for hiding this comment

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

Whoops. Good catch.

@ttomsu ttomsu merged commit e11382b into spinnaker:master May 15, 2017
danielpeach pushed a commit to danielpeach/gate that referenced this pull request May 24, 2018
It looks like the ExternalSslAwareEntryPoint component is being created even though the outer class has a ConditionalOnExpression which returns false. I guess as it is a different class found by spring on startup and it doesn't consider it related to the outer class.

So i've simply duplicated the ConditionalOnExpression from the outer class to ExternalSslAwareEntryPoint.
@spinnakerbot spinnakerbot mentioned this pull request May 9, 2024
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