Skip to content

Commit

Permalink
[#1053]rename engine CommonConfiguration (#1057)
Browse files Browse the repository at this point in the history
  • Loading branch information
chengyouling authored Aug 23, 2023
1 parent 81a02a4 commit 3c7a279
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import com.huaweicloud.service.engine.common.transport.RBACRequestAuthHeaderProvider;

@Configuration
public class CommonConfiguration {
public class EngineCommonConfiguration {
@Bean
public AuthHeaderProvider akSkRequestAuthHeaderProvider(ServiceCombAkSkProperties serviceCombAkSkProperties) {
return new AkSkRequestAuthHeaderProvider(serviceCombAkSkProperties);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@

org.springframework.cloud.bootstrap.BootstrapConfiguration=\
com.huaweicloud.service.engine.common.configration.BootstrapPropertiesConfiguration,\
com.huaweicloud.service.engine.common.CommonConfiguration
com.huaweicloud.service.engine.common.EngineCommonConfiguration
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit.jupiter.SpringExtension;

import com.huaweicloud.service.engine.common.CommonConfiguration;
import com.huaweicloud.service.engine.common.EngineCommonConfiguration;
import com.huaweicloud.service.engine.common.configration.bootstrap.ServiceCombAkSkProperties;

@ExtendWith(SpringExtension.class)
@SpringBootTest(classes = {CommonConfiguration.class, AkSkTestConfiguration.class})
@SpringBootTest(classes = {EngineCommonConfiguration.class, AkSkTestConfiguration.class})
@ContextConfiguration(initializers = ConfigDataApplicationContextInitializer.class)
public class ServiceCombAkSkPropertiesTest {
@Autowired
Expand Down

0 comments on commit 3c7a279

Please sign in to comment.