Skip to content

Commit

Permalink
refactor(google): add @Autowired to make members explicit for DI (#6079)
Browse files Browse the repository at this point in the history
With reference to [commit](0e36925), making @Autowired to be explict for members.
  • Loading branch information
j-sandy authored Oct 11, 2023
1 parent 5020f44 commit 609932e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,23 @@ import com.netflix.spinnaker.clouddriver.orchestration.AtomicOperations
import com.netflix.spinnaker.clouddriver.orchestration.AtomicOperationsRegistry
import com.netflix.spinnaker.clouddriver.orchestration.OrchestrationProcessor
import com.netflix.spinnaker.clouddriver.security.AbstractAtomicOperationsCredentialsConverter
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Component

@GoogleOperation(AtomicOperations.DELETE_SCALING_POLICY)
@Component("deleteGoogleScalingPolicyDescription")
class DeleteGoogleAutoscalingPolicyAtomicOperationConverter extends AbstractAtomicOperationsCredentialsConverter<GoogleNamedAccountCredentials> {

@Autowired
GoogleClusterProvider googleClusterProvider

@Autowired
GoogleOperationPoller googleOperationPoller

@Autowired
AtomicOperationsRegistry atomicOperationsRegistry

@Autowired
OrchestrationProcessor orchestrationProcessor

@Override
Expand Down

0 comments on commit 609932e

Please sign in to comment.