|
@@ -1,6 +1,6 @@
|
|
|
package com.shkpr.service.customgateway.core.config;
|
|
package com.shkpr.service.customgateway.core.config;
|
|
|
|
|
|
|
|
-import com.shkpr.service.customgateway.core.properties.RouterProperties;
|
|
|
|
|
|
|
+import com.shkpr.service.customgateway.core.properties.GatewayProperties;
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
|
|
|
@@ -11,7 +11,7 @@ import org.springframework.context.annotation.Configuration;
|
|
|
* @since 1.0.0
|
|
* @since 1.0.0
|
|
|
*/
|
|
*/
|
|
|
@Configuration
|
|
@Configuration
|
|
|
-@EnableConfigurationProperties(RouterProperties.class)
|
|
|
|
|
-public class RouterConfig {
|
|
|
|
|
|
|
+@EnableConfigurationProperties(GatewayProperties.class)
|
|
|
|
|
+public class GatewayConfig {
|
|
|
|
|
|
|
|
}
|
|
}
|