first commit

This commit is contained in:
编码猿
2024-09-27 01:06:04 +08:00
commit cbed24c40d
205 changed files with 8732 additions and 0 deletions

View File

@@ -0,0 +1 @@
97ce396c-fd18-4da8-a8be-ac6f709f5c98

View File

@@ -0,0 +1 @@
83dedb01-ee7d-443b-aabf-cf73a136d07a

View File

@@ -0,0 +1 @@
c248b443-2a16-4db3-8a8c-a2a1757f15a4

View File

@@ -0,0 +1 @@
d044f592-a04e-4542-805b-7cbe29845c58

View File

@@ -0,0 +1,57 @@
Manifest-Version: 1.0
Class-Path: spring-security-crypto-5.1.5.RELEASE.jar hibernate-validat
or-6.0.17.Final.jar ribbon-2.3.0.jar spring-boot-starter-tomcat-2.1.6
.RELEASE.jar log4j-to-slf4j-2.11.2.jar spring-boot-starter-actuator-2
.1.6.RELEASE.jar archaius-core-0.7.6.jar asm-5.0.4.jar spring-boot-st
arter-2.1.6.RELEASE.jar netflix-commons-util-0.3.0.jar spring-express
ion-5.1.8.RELEASE.jar jackson-module-afterburner-2.9.9.jar xstream-1.
4.10.jar jackson-annotations-2.9.0.jar commons-lang3-3.8.1.jar netty-
codec-4.1.36.Final.jar gson-2.8.5.jar httpcore-4.4.11.jar netty-trans
port-native-unix-common-4.1.36.Final.jar ribbon-transport-2.3.0.jar l
og4j-api-2.11.2.jar spring-boot-starter-aop-2.1.6.RELEASE.jar bcpkix-
jdk15on-1.60.jar spring-cloud-starter-2.1.2.RELEASE.jar spring-cloud-
commons-2.1.2.RELEASE.jar spring-cloud-netflix-sidecar-2.1.2.RELEASE.
jar micrometer-core-1.1.5.jar compactmap-1.2.1.jar netflix-statistics
-0.1.1.jar jackson-datatype-jsr310-2.9.9.jar LatencyUtils-2.0.3.jar t
omcat-embed-websocket-9.0.21.jar commons-math-2.2.jar netty-common-4.
1.36.Final.jar netty-transport-native-epoll-4.1.36.Final.jar httpclie
nt-4.5.9.jar netflix-infix-0.3.0.jar aopalliance-1.0.jar commons-lang
-2.6.jar tomcat-embed-el-9.0.21.jar commons-codec-1.11.jar ribbon-eur
eka-2.3.0.jar guava-15.0.jar rxjava-1.3.8.jar spring-jcl-5.1.8.RELEAS
E.jar spring-boot-2.1.6.RELEASE.jar jackson-core-2.9.9.jar spring-clo
ud-netflix-eureka-client-2.1.2.RELEASE.jar jersey-apache-client4-1.19
.1.jar antlr-2.7.7.jar jettison-1.3.7.jar bcprov-jdk15on-1.60.jar jac
kson-datatype-jdk8-2.9.9.jar xpp3_min-1.1.4c.jar spring-cloud-netflix
-zuul-2.1.2.RELEASE.jar guice-4.1.0.jar commons-io-2.4.jar stax-api-1
.0.1.jar aspectjweaver-1.9.4.jar eureka-client-1.9.12.jar spring-clou
d-netflix-archaius-2.1.2.RELEASE.jar commons-jxpath-1.3.jar hystrix-j
avanica-1.5.18.jar javax.inject-1.jar rxjava-reactive-streams-1.2.1.j
ar rxnetty-0.4.9.jar netty-buffer-4.1.36.Final.jar jackson-databind-2
.9.9.jar spring-boot-starter-logging-2.1.6.RELEASE.jar spring-cloud-s
tarter-netflix-archaius-2.1.2.RELEASE.jar javax.annotation-api-1.3.2.
jar spring-boot-actuator-2.1.6.RELEASE.jar ribbon-httpclient-2.3.0.ja
r slf4j-api-1.7.26.jar netty-transport-4.1.36.Final.jar snakeyaml-1.2
3.jar antlr-runtime-3.4.jar netty-resolver-4.1.36.Final.jar servo-cor
e-0.12.21.jar commons-collections-3.2.2.jar hystrix-metrics-event-str
eam-1.5.18.jar spring-web-5.1.8.RELEASE.jar jersey-core-1.19.1.jar sp
ring-webmvc-5.1.8.RELEASE.jar spring-boot-actuator-autoconfigure-2.1.
6.RELEASE.jar jackson-module-parameter-names-2.9.9.jar stringtemplate
-3.2.1.jar netty-handler-4.1.36.Final.jar jsr311-api-1.1.1.jar jersey
-client-1.19.1.jar spring-cloud-netflix-ribbon-2.1.2.RELEASE.jar hyst
rix-core-1.5.18.jar logback-core-1.2.3.jar jboss-logging-3.3.2.Final.
jar rxnetty-contexts-0.4.9.jar HdrHistogram-2.1.9.jar spring-cloud-st
arter-netflix-hystrix-2.1.2.RELEASE.jar tomcat-embed-core-9.0.21.jar
spring-boot-starter-web-2.1.6.RELEASE.jar classmate-1.4.0.jar logback
-classic-1.2.3.jar reactive-streams-1.0.2.jar spring-boot-starter-jso
n-2.1.6.RELEASE.jar hystrix-serialization-1.5.18.jar dexx-collections
-0.2.jar netflix-eventbus-0.3.0.jar spring-cloud-netflix-hystrix-2.1.
2.RELEASE.jar spring-boot-autoconfigure-2.1.6.RELEASE.jar spring-clou
d-context-2.1.2.RELEASE.jar rxnetty-servo-0.4.9.jar spring-security-r
sa-1.0.7.RELEASE.jar spring-beans-5.1.8.RELEASE.jar spring-context-5.
1.8.RELEASE.jar validation-api-2.0.1.Final.jar xmlpull-1.1.3.1.jar co
mmons-configuration-1.8.jar netty-codec-http-4.1.36.Final.jar zuul-co
re-1.3.1.jar spring-aop-5.1.8.RELEASE.jar jul-to-slf4j-1.7.26.jar spr
ing-core-5.1.8.RELEASE.jar joda-time-2.10.2.jar ribbon-core-2.3.0.jar
ribbon-loadbalancer-2.3.0.jar
Main-Class: com.service.sidecar.SidecarApplication

View File

@@ -0,0 +1 @@
a7b31c45-8918-4abb-8837-c00c5fa82f6a

View File

@@ -0,0 +1 @@
3dd39148-a17a-45ce-adf1-ff0baf1dd3a6

View File

@@ -0,0 +1 @@
a161e373-fd40-481c-b86a-b08fdeb4e6a8

View File

@@ -0,0 +1,19 @@
package com.service.sidecar;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.sidecar.EnableSidecar;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
@EnableZuulProxy
@EnableEurekaClient
@EnableSidecar
@SpringBootApplication
public class SidecarApplication {
public static void main(String[] args) {
SpringApplication.run(SidecarApplication.class, args);
}
}

View File

@@ -0,0 +1 @@
e7640916-32d5-411e-a989-4920ea296a10

View File

@@ -0,0 +1,29 @@
spring:
application:
name: SwoftApi-SideCar
server:
port: 8081
eureka: # 加入到eureka
client:
service-url:
defaultZone: http://localhost:1314/eureka
healthcheck:
enabled: true
instance:
prefer-ip-address: true
instance-id: ${spring.application.name}:${server.port}
lease-expiration-duration-in-seconds: 30
lease-renewal-interval-in-seconds: 60
sidecar:
port: 18306 # Swoft 端口
health-uri: http://localhost:${sidecar.port}/health # Swoft health api地址
zuul:
routes:
swoft-api:
path: /swoft-api/**
serviceId: SwoftApi-SideCar

View File

@@ -0,0 +1,7 @@
====================================================================================================
Spring Side 注册 Swoft + Zuul 网关
====================================================================================================

View File

@@ -0,0 +1 @@
a20c3599-d124-45b0-b33b-d27f420a170c

View File

@@ -0,0 +1 @@
0d7c8551-0e93-4ce3-be72-762802305d9f

View File

@@ -0,0 +1 @@
b80bc72f-f23d-4231-9ce8-05cde9e5c37c

View File

@@ -0,0 +1 @@
23970718-ca7c-4ef5-9a98-6ca2c154345c

View File

@@ -0,0 +1 @@
db038ce6-7662-4cab-b09f-d487eadcf5a4

View File

@@ -0,0 +1 @@
b62cd12a-9b2f-419d-b6e1-7f3d0a3d0817

View File

@@ -0,0 +1 @@
dafe1060-bcae-40db-9931-38cd202e0d34

View File

@@ -0,0 +1 @@
d5a6ca10-4241-4938-ab1b-4b53b9f6a634

View File

@@ -0,0 +1,16 @@
package com.service.sidecar;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class SidecarApplicationTests {
@Test
public void contextLoads() {
}
}