This commit is contained in:
ybw 2023-03-22 10:42:00 +08:00
parent eae1c26c8c
commit b8bade6de6
4 changed files with 0 additions and 66 deletions

View File

@ -1,13 +0,0 @@
package com.ybw.gatewaynacos;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class GatewayNacosApplication {
public static void main(String[] args) {
SpringApplication.run(GatewayNacosApplication.class, args);
}
}

View File

@ -1,28 +0,0 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ybw.gatewaynacos.nacosdiscovery;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Configuration;
/**
* @author <a href="mailto:chenxilzx1@gmail.com">theonefx</a>
*/
@EnableDiscoveryClient
@Configuration
public class NacosDiscoveryConfiguration {
}

View File

@ -1,12 +0,0 @@
server:
port: 8080
spring:
application:
name: gateway-nacos-dynamic-route
cloud:
nacos:
discovery:
namespace: public
username: nacos
password: nacos
server-addr: 127.0.0.1:8848

View File

@ -1,13 +0,0 @@
package com.ybw.gatewaynacos;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class GatewayNacosApplicationTests {
@Test
void contextLoads() {
}
}