Skip to content

Commit

Permalink
Closed #2072 - Implement GoogleExecutorTraits and wired in spectator. (
Browse files Browse the repository at this point in the history
  • Loading branch information
johnrengelman authored and lwander committed Oct 31, 2017
1 parent 00295f6 commit dbc6344
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@
package com.netflix.spinnaker.clouddriver.google.provider.view

import com.fasterxml.jackson.databind.ObjectMapper
import com.netflix.spectator.api.Registry
import com.netflix.spinnaker.cats.cache.Cache
import com.netflix.spinnaker.cats.cache.CacheData
import com.netflix.spinnaker.cats.cache.RelationshipCacheFilter
import com.netflix.spinnaker.clouddriver.google.GoogleCloudProvider
import com.netflix.spinnaker.clouddriver.google.GoogleExecutorTraits
import com.netflix.spinnaker.clouddriver.google.cache.Keys
import com.netflix.spinnaker.clouddriver.google.deploy.GCEUtil
import com.netflix.spinnaker.clouddriver.google.model.GoogleInstance
Expand All @@ -37,7 +39,7 @@ import static com.netflix.spinnaker.clouddriver.google.cache.Keys.Namespace.*

@Component
@Slf4j
class GoogleInstanceProvider implements InstanceProvider<GoogleInstance.View> {
class GoogleInstanceProvider implements InstanceProvider<GoogleInstance.View>, GoogleExecutorTraits {

@Autowired
final Cache cacheView
Expand All @@ -51,6 +53,9 @@ class GoogleInstanceProvider implements InstanceProvider<GoogleInstance.View> {
@Autowired
GoogleSecurityGroupProvider securityGroupProvider

@Autowired
Registry registry

final String cloudProvider = GoogleCloudProvider.ID

@Override
Expand Down

0 comments on commit dbc6344

Please sign in to comment.