Skip to content

Commit

Permalink
fix(gate-web) Fix functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
Arifullah Pattan authored and Richard Timpson committed Aug 22, 2024
1 parent ab282e1 commit cac81bb
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import com.netflix.spinnaker.config.ErrorConfiguration
import com.netflix.spinnaker.fiat.shared.FiatClientConfigurationProperties
import com.netflix.spinnaker.fiat.shared.FiatStatus
import com.netflix.spinnaker.gate.config.ServiceConfiguration
import com.netflix.spinnaker.gate.config.controllers.PipelineControllerConfigProperties
import com.netflix.spinnaker.gate.controllers.ApplicationController
import com.netflix.spinnaker.gate.controllers.PipelineController
import com.netflix.spinnaker.gate.services.*
Expand All @@ -39,7 +40,7 @@ import org.springframework.core.annotation.Order
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import retrofit.RetrofitError
import retrofit.RestAdapter;
import retrofit.RestAdapter
import retrofit.client.OkClient
import retrofit.converter.JacksonConverter
import retrofit.mime.TypedInput
Expand Down Expand Up @@ -287,6 +288,11 @@ class FunctionalSpec extends Specification {
)
}

@Bean
PipelineControllerConfigProperties pipelineControllerConfigProperties() {
new PipelineControllerConfigProperties();
}

@Override
protected void configure(HttpSecurity http) throws Exception {
http
Expand Down

0 comments on commit cac81bb

Please sign in to comment.