diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..36c2646
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,4 @@
+FROM registry.cn-hangzhou.aliyuncs.com/axzo-k8s/jdk1.8-fc:v1
+COPY .vimrc /root/
+COPY oss-client/target/oss-client.jar ./oss-client.jar
+ENTRYPOINT [{ENTRYPOINT}]
\ No newline at end of file
diff --git a/deployment.yaml b/deployment.yaml
new file mode 100644
index 0000000..0dde7c5
--- /dev/null
+++ b/deployment.yaml
@@ -0,0 +1,121 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: {ProjectName}
+spec:
+ minReadySeconds: 2
+ replicas: 1
+ strategy:
+ rollingUpdate:
+ maxSurge: 1
+ maxUnavailable: 0
+ type: RollingUpdate
+ selector:
+ matchLabels:
+ app: {ProjectName}
+ template:
+ metadata:
+ labels:
+ app: {ProjectName}
+ prometheus: {PROMETHEUS}
+ logging: '{LOGGING}'
+ spec:
+ affinity:
+ nodeAffinity:
+ requiredDuringSchedulingIgnoredDuringExecution:
+ nodeSelectorTerms:
+ - matchExpressions:
+ - key: work
+ operator: In
+ values:
+ - {nodeSelector}
+ podAntiAffinity:
+ preferredDuringSchedulingIgnoredDuringExecution:
+ - podAffinityTerm:
+ labelSelector:
+ matchExpressions:
+ - key: app
+ operator: In
+ values:
+ - {ProjectName}
+ topologyKey: kubernetes.io/hostname
+ weight: 100
+ terminationGracePeriodSeconds: 60 ##k8s将会给应用发送SIGTERM信号,可以用来正确、优雅地关闭应用,默认为30秒
+ containers:
+ - name: {ProjectName}
+ image: registry.cn-hangzhou.aliyuncs.com/axzo-k8s/{namespace}-{ProjectName}:{BUILD_ID}
+ imagePullPolicy: Always
+ livenessProbe: #该pod是存活的,不存活则需要重启
+ httpGet:
+ path: /checkDeath
+ port: {port}
+ scheme: HTTP
+ initialDelaySeconds: 60 ## equals to the maximum startup time of the application + couple of seconds
+ timeoutSeconds: 5
+ successThreshold: 1
+ failureThreshold: 5
+ readinessProbe: #kubernetes认为该pod是启动成功的
+ httpGet:
+ path: /checkDeath
+ port: {port}
+ scheme: HTTP
+ initialDelaySeconds: 30 ## equals to minimum startup time of the application
+ timeoutSeconds: 5
+ successThreshold: 1
+ failureThreshold: 5
+ volumeMounts:
+ - name: tz-config
+ mountPath: /etc/localtime
+ - name: jmx-exporter
+ mountPath: /data
+ env:
+ - name: NACOS_HOST
+ value: {NACOS_HOST}
+ - name: NACOS_PORT
+ value: "{NACOS_PORT}"
+ - name: NACOS_NAMESPACE_ID
+ value: {NACOS_NAMESPACE_ID}
+ - name: NACOS_PROFILES_ACTIVE
+ value: {NACOS_PROFILES_ACTIVE}
+ - name: MY_POD_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ - name: MY_POD_NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.namespace
+ - name: POD_IP
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
+ ports:
+ - containerPort: {port}
+ resources:
+ limits:
+ memory: {limitMemory}
+ requests:
+ memory: {requestsMemory}
+ imagePullSecrets:
+ - name: aliyun
+ volumes:
+ - name: tz-config
+ hostPath:
+ path: /usr/share/zoneinfo/Asia/Shanghai
+ - name: jmx-exporter
+ persistentVolumeClaim:
+ claimName: jmx
+
+---
+
+apiVersion: v1
+kind: Service
+metadata:
+ name: {ProjectName}
+spec:
+ ports:
+ - name: tcp
+ port: {port}
+ clusterIP: None
+ selector:
+ app: {ProjectName}
diff --git a/logs/oss/carlzone/debug/debug.log b/logs/oss/carlzone/debug/debug.log
new file mode 100644
index 0000000..e69de29
diff --git a/logs/oss/carlzone/error/error.log b/logs/oss/carlzone/error/error.log
new file mode 100644
index 0000000..680cc6e
--- /dev/null
+++ b/logs/oss/carlzone/error/error.log
@@ -0,0 +1,19 @@
+2021-07-15 13:07:21 ERROR --- [ main] org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter:
+
+***************************
+APPLICATION FAILED TO START
+***************************
+
+Description:
+
+Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
+
+Reason: Failed to determine a suitable driver class
+
+
+Action:
+
+Consider the following:
+ If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
+ If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
+
diff --git a/logs/oss/carlzone/info/info.log b/logs/oss/carlzone/info/info.log
new file mode 100644
index 0000000..610fbbf
--- /dev/null
+++ b/logs/oss/carlzone/info/info.log
@@ -0,0 +1,92 @@
+2021-07-15 12:59:51 INFO --- [ main] com.alibaba.nacos.client.config.utils.JVMUtil: isMultiInstance:false
+2021-07-15 12:59:51 INFO --- [ main] org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration: Located property source: [BootstrapPropertySource {name='bootstrapProperties-oss-local.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-oss.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-oss,DEFAULT_GROUP'}]
+2021-07-15 12:59:51 INFO --- [ main] cn.axzo.oss.client.Bootstrap: The following profiles are active: local
+2021-07-15 12:59:51 INFO --- [ main] org.springframework.cloud.context.scope.GenericScope: BeanFactory id=864de753-4a11-3c04-ba06-75cbf15945db
+2021-07-15 12:59:51 INFO --- [ main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2021-07-15 12:59:52 INFO --- [ main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer: Tomcat initialized with port(s): 9123 (http)
+2021-07-15 12:59:52 INFO --- [ main] org.apache.coyote.http11.Http11NioProtocol: Initializing ProtocolHandler ["http-nio-9123"]
+2021-07-15 12:59:52 INFO --- [ main] org.apache.catalina.core.StandardService: Starting service [Tomcat]
+2021-07-15 12:59:52 INFO --- [ main] org.apache.catalina.core.StandardEngine: Starting Servlet engine: [Apache Tomcat/9.0.30]
+2021-07-15 12:59:52 INFO --- [ main] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]: Initializing Spring embedded WebApplicationContext
+2021-07-15 12:59:52 INFO --- [ main] org.springframework.web.context.ContextLoader: Root WebApplicationContext: initialization completed in 1220 ms
+2021-07-15 12:59:52 INFO --- [ main] com.netflix.config.sources.URLConfigurationSource: To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
+2021-07-15 12:59:52 INFO --- [ main] com.netflix.config.sources.URLConfigurationSource: To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
+2021-07-15 12:59:52 INFO --- [ main] org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor: Initializing ExecutorService 'applicationTaskExecutor'
+2021-07-15 12:59:53 INFO --- [ main] org.apache.coyote.http11.Http11NioProtocol: Starting ProtocolHandler ["http-nio-9123"]
+2021-07-15 12:59:53 INFO --- [ main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer: Tomcat started on port(s): 9123 (http) with context path ''
+2021-07-15 12:59:53 INFO --- [ main] cn.axzo.oss.client.Bootstrap: Started Bootstrap in 3.862 seconds (JVM running for 4.46)
+2021-07-15 12:59:53 INFO --- [ main] cn.axzo.oss.client.Bootstrap: axzo oss start success
+2021-07-15 12:59:58 INFO --- [SpringContextShutdownHook] org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor: Shutting down ExecutorService 'applicationTaskExecutor'
+2021-07-15 13:03:22 INFO --- [ main] com.alibaba.nacos.client.config.utils.JVMUtil: isMultiInstance:false
+2021-07-15 13:03:22 INFO --- [ main] org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration: Located property source: [BootstrapPropertySource {name='bootstrapProperties-oss-local.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-oss.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-oss,DEFAULT_GROUP'}]
+2021-07-15 13:03:22 INFO --- [ main] cn.axzo.oss.client.Bootstrap: The following profiles are active: local
+2021-07-15 13:03:23 INFO --- [ main] org.springframework.cloud.context.scope.GenericScope: BeanFactory id=864de753-4a11-3c04-ba06-75cbf15945db
+2021-07-15 13:03:23 INFO --- [ main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2021-07-15 13:03:23 INFO --- [ main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer: Tomcat initialized with port(s): 9123 (http)
+2021-07-15 13:03:23 INFO --- [ main] org.apache.coyote.http11.Http11NioProtocol: Initializing ProtocolHandler ["http-nio-9123"]
+2021-07-15 13:03:23 INFO --- [ main] org.apache.catalina.core.StandardService: Starting service [Tomcat]
+2021-07-15 13:03:23 INFO --- [ main] org.apache.catalina.core.StandardEngine: Starting Servlet engine: [Apache Tomcat/9.0.30]
+2021-07-15 13:03:23 INFO --- [ main] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]: Initializing Spring embedded WebApplicationContext
+2021-07-15 13:03:23 INFO --- [ main] org.springframework.web.context.ContextLoader: Root WebApplicationContext: initialization completed in 988 ms
+2021-07-15 13:03:23 INFO --- [ main] com.netflix.config.sources.URLConfigurationSource: To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
+2021-07-15 13:03:23 INFO --- [ main] com.netflix.config.sources.URLConfigurationSource: To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
+2021-07-15 13:03:24 INFO --- [ main] org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor: Initializing ExecutorService 'applicationTaskExecutor'
+2021-07-15 13:03:24 INFO --- [ main] org.apache.coyote.http11.Http11NioProtocol: Starting ProtocolHandler ["http-nio-9123"]
+2021-07-15 13:03:24 INFO --- [ main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer: Tomcat started on port(s): 9123 (http) with context path ''
+2021-07-15 13:03:24 INFO --- [ main] cn.axzo.oss.client.Bootstrap: Started Bootstrap in 3.384 seconds (JVM running for 3.958)
+2021-07-15 13:03:24 INFO --- [ main] cn.axzo.oss.client.Bootstrap: axzo oss start success
+2021-07-15 13:07:19 INFO --- [ main] org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration: Located property source: [BootstrapPropertySource {name='bootstrapProperties-oss-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-oss.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-oss,DEFAULT_GROUP'}]
+2021-07-15 13:07:19 INFO --- [ main] cn.axzo.oss.client.Bootstrap: The following profiles are active: dev
+2021-07-15 13:07:20 INFO --- [ main] org.springframework.cloud.context.scope.GenericScope: BeanFactory id=864de753-4a11-3c04-ba06-75cbf15945db
+2021-07-15 13:07:20 INFO --- [ main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2021-07-15 13:07:20 INFO --- [ main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer: Tomcat initialized with port(s): 8080 (http)
+2021-07-15 13:07:20 INFO --- [ main] org.apache.coyote.http11.Http11NioProtocol: Initializing ProtocolHandler ["http-nio-8080"]
+2021-07-15 13:07:20 INFO --- [ main] org.apache.catalina.core.StandardService: Starting service [Tomcat]
+2021-07-15 13:07:20 INFO --- [ main] org.apache.catalina.core.StandardEngine: Starting Servlet engine: [Apache Tomcat/9.0.30]
+2021-07-15 13:07:20 INFO --- [ main] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]: Initializing Spring embedded WebApplicationContext
+2021-07-15 13:07:20 INFO --- [ main] org.springframework.web.context.ContextLoader: Root WebApplicationContext: initialization completed in 956 ms
+2021-07-15 13:07:20 INFO --- [ main] com.netflix.config.sources.URLConfigurationSource: To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
+2021-07-15 13:07:20 INFO --- [ main] com.netflix.config.sources.URLConfigurationSource: To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
+2021-07-15 13:07:21 INFO --- [ main] org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor: Initializing ExecutorService 'applicationTaskExecutor'
+2021-07-15 13:07:21 INFO --- [ main] org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor: Shutting down ExecutorService 'applicationTaskExecutor'
+2021-07-15 13:07:21 INFO --- [ main] org.apache.catalina.core.StandardService: Stopping service [Tomcat]
+2021-07-15 13:07:21 INFO --- [ main] org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener:
+
+Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
+2021-07-15 13:07:53 INFO --- [ main] com.alibaba.nacos.client.config.utils.JVMUtil: isMultiInstance:false
+2021-07-15 13:07:53 INFO --- [ main] org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration: Located property source: [BootstrapPropertySource {name='bootstrapProperties-oss-local.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-oss.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-oss,DEFAULT_GROUP'}]
+2021-07-15 13:07:53 INFO --- [ main] cn.axzo.oss.client.Bootstrap: The following profiles are active: local
+2021-07-15 13:07:54 INFO --- [ main] org.springframework.cloud.context.scope.GenericScope: BeanFactory id=864de753-4a11-3c04-ba06-75cbf15945db
+2021-07-15 13:07:54 INFO --- [ main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2021-07-15 13:07:54 INFO --- [ main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer: Tomcat initialized with port(s): 9123 (http)
+2021-07-15 13:07:54 INFO --- [ main] org.apache.coyote.http11.Http11NioProtocol: Initializing ProtocolHandler ["http-nio-9123"]
+2021-07-15 13:07:54 INFO --- [ main] org.apache.catalina.core.StandardService: Starting service [Tomcat]
+2021-07-15 13:07:54 INFO --- [ main] org.apache.catalina.core.StandardEngine: Starting Servlet engine: [Apache Tomcat/9.0.30]
+2021-07-15 13:07:54 INFO --- [ main] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]: Initializing Spring embedded WebApplicationContext
+2021-07-15 13:07:54 INFO --- [ main] org.springframework.web.context.ContextLoader: Root WebApplicationContext: initialization completed in 862 ms
+2021-07-15 13:07:54 INFO --- [ main] com.netflix.config.sources.URLConfigurationSource: To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
+2021-07-15 13:07:54 INFO --- [ main] com.netflix.config.sources.URLConfigurationSource: To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
+2021-07-15 13:07:54 INFO --- [ main] org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor: Initializing ExecutorService 'applicationTaskExecutor'
+2021-07-15 13:07:55 INFO --- [ main] org.apache.coyote.http11.Http11NioProtocol: Starting ProtocolHandler ["http-nio-9123"]
+2021-07-15 13:07:55 INFO --- [ main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer: Tomcat started on port(s): 9123 (http) with context path ''
+2021-07-15 13:07:55 INFO --- [ main] cn.axzo.oss.client.Bootstrap: Started Bootstrap in 2.923 seconds (JVM running for 3.52)
+2021-07-15 13:07:55 INFO --- [ main] cn.axzo.oss.client.Bootstrap: axzo oss start success
+2021-07-15 13:08:16 INFO --- [SpringContextShutdownHook] org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor: Shutting down ExecutorService 'applicationTaskExecutor'
+2021-07-15 13:08:27 INFO --- [ main] com.alibaba.nacos.client.config.utils.JVMUtil: isMultiInstance:false
+2021-07-15 13:08:27 INFO --- [ main] org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration: Located property source: [BootstrapPropertySource {name='bootstrapProperties-oss-local.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-oss.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-oss,DEFAULT_GROUP'}]
+2021-07-15 13:08:27 INFO --- [ main] cn.axzo.oss.client.Bootstrap: The following profiles are active: local
+2021-07-15 13:08:27 INFO --- [ main] org.springframework.cloud.context.scope.GenericScope: BeanFactory id=864de753-4a11-3c04-ba06-75cbf15945db
+2021-07-15 13:08:27 INFO --- [ main] org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
+2021-07-15 13:08:27 INFO --- [ main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer: Tomcat initialized with port(s): 9123 (http)
+2021-07-15 13:08:28 INFO --- [ main] org.apache.coyote.http11.Http11NioProtocol: Initializing ProtocolHandler ["http-nio-9123"]
+2021-07-15 13:08:28 INFO --- [ main] org.apache.catalina.core.StandardService: Starting service [Tomcat]
+2021-07-15 13:08:28 INFO --- [ main] org.apache.catalina.core.StandardEngine: Starting Servlet engine: [Apache Tomcat/9.0.30]
+2021-07-15 13:08:28 INFO --- [ main] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]: Initializing Spring embedded WebApplicationContext
+2021-07-15 13:08:28 INFO --- [ main] org.springframework.web.context.ContextLoader: Root WebApplicationContext: initialization completed in 1028 ms
+2021-07-15 13:08:28 INFO --- [ main] com.netflix.config.sources.URLConfigurationSource: To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
+2021-07-15 13:08:28 INFO --- [ main] com.netflix.config.sources.URLConfigurationSource: To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
+2021-07-15 13:08:28 INFO --- [ main] org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor: Initializing ExecutorService 'applicationTaskExecutor'
+2021-07-15 13:08:28 INFO --- [ main] org.apache.coyote.http11.Http11NioProtocol: Starting ProtocolHandler ["http-nio-9123"]
+2021-07-15 13:08:28 INFO --- [ main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer: Tomcat started on port(s): 9123 (http) with context path ''
+2021-07-15 13:08:28 INFO --- [ main] cn.axzo.oss.client.Bootstrap: Started Bootstrap in 3.462 seconds (JVM running for 4.018)
+2021-07-15 13:08:28 INFO --- [ main] cn.axzo.oss.client.Bootstrap: axzo oss start success
diff --git a/logs/oss/carlzone/warn/warn.log b/logs/oss/carlzone/warn/warn.log
new file mode 100644
index 0000000..babc72c
--- /dev/null
+++ b/logs/oss/carlzone/warn/warn.log
@@ -0,0 +1,27 @@
+2021-07-15 12:59:50 WARN --- [ main] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[oss] & group[DEFAULT_GROUP]
+2021-07-15 12:59:51 WARN --- [ main] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[oss.yaml] & group[DEFAULT_GROUP]
+2021-07-15 12:59:51 WARN --- [ main] org.mybatis.spring.mapper.ClassPathMapperScanner: No MyBatis mapper was found in '[cn.axzo.oss.client]' package. Please check your configuration.
+2021-07-15 12:59:52 WARN --- [ main] com.netflix.config.sources.URLConfigurationSource: No URLs will be polled as dynamic configuration sources.
+2021-07-15 12:59:52 WARN --- [ main] com.netflix.config.sources.URLConfigurationSource: No URLs will be polled as dynamic configuration sources.
+2021-07-15 13:03:22 WARN --- [ main] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[oss] & group[DEFAULT_GROUP]
+2021-07-15 13:03:22 WARN --- [ main] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[oss.yaml] & group[DEFAULT_GROUP]
+2021-07-15 13:03:23 WARN --- [ main] org.mybatis.spring.mapper.ClassPathMapperScanner: No MyBatis mapper was found in '[cn.axzo.oss.client]' package. Please check your configuration.
+2021-07-15 13:03:23 WARN --- [ main] com.netflix.config.sources.URLConfigurationSource: No URLs will be polled as dynamic configuration sources.
+2021-07-15 13:03:23 WARN --- [ main] com.netflix.config.sources.URLConfigurationSource: No URLs will be polled as dynamic configuration sources.
+2021-07-15 13:07:19 WARN --- [ main] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[oss] & group[DEFAULT_GROUP]
+2021-07-15 13:07:19 WARN --- [ main] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[oss.yaml] & group[DEFAULT_GROUP]
+2021-07-15 13:07:19 WARN --- [ main] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[oss-dev.yaml] & group[DEFAULT_GROUP]
+2021-07-15 13:07:20 WARN --- [ main] org.mybatis.spring.mapper.ClassPathMapperScanner: No MyBatis mapper was found in '[cn.axzo.oss.client]' package. Please check your configuration.
+2021-07-15 13:07:20 WARN --- [ main] com.netflix.config.sources.URLConfigurationSource: No URLs will be polled as dynamic configuration sources.
+2021-07-15 13:07:20 WARN --- [ main] com.netflix.config.sources.URLConfigurationSource: No URLs will be polled as dynamic configuration sources.
+2021-07-15 13:07:21 WARN --- [ main] org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class
+2021-07-15 13:07:53 WARN --- [ main] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[oss] & group[DEFAULT_GROUP]
+2021-07-15 13:07:53 WARN --- [ main] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[oss.yaml] & group[DEFAULT_GROUP]
+2021-07-15 13:07:54 WARN --- [ main] org.mybatis.spring.mapper.ClassPathMapperScanner: No MyBatis mapper was found in '[cn.axzo.oss.client]' package. Please check your configuration.
+2021-07-15 13:07:54 WARN --- [ main] com.netflix.config.sources.URLConfigurationSource: No URLs will be polled as dynamic configuration sources.
+2021-07-15 13:07:54 WARN --- [ main] com.netflix.config.sources.URLConfigurationSource: No URLs will be polled as dynamic configuration sources.
+2021-07-15 13:08:26 WARN --- [ main] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[oss] & group[DEFAULT_GROUP]
+2021-07-15 13:08:26 WARN --- [ main] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[oss.yaml] & group[DEFAULT_GROUP]
+2021-07-15 13:08:27 WARN --- [ main] org.mybatis.spring.mapper.ClassPathMapperScanner: No MyBatis mapper was found in '[cn.axzo.oss.client]' package. Please check your configuration.
+2021-07-15 13:08:28 WARN --- [ main] com.netflix.config.sources.URLConfigurationSource: No URLs will be polled as dynamic configuration sources.
+2021-07-15 13:08:28 WARN --- [ main] com.netflix.config.sources.URLConfigurationSource: No URLs will be polled as dynamic configuration sources.
diff --git a/oss-client/pom.xml b/oss-client/pom.xml
new file mode 100644
index 0000000..c3e13b5
--- /dev/null
+++ b/oss-client/pom.xml
@@ -0,0 +1,107 @@
+
+
+ 4.0.0
+
+ cn.axzo.oss
+ oss
+ 1.0.0
+
+ oss-client
+
+
+
+ cn.axzo.oss
+ oss-service
+ ${project.version}
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-nacos-config
+
+
+ guava
+ com.google.guava
+
+
+
+
+ org.apache.httpcomponents
+ httpclient
+
+
+ com.xuxueli
+ xxl-job-core
+
+
+
+
+
+
+ local
+
+ local
+
+
+
+
+ dev
+
+ dev
+
+
+ true
+
+
+
+
+ test
+
+ test
+
+
+
+
+ test1
+
+ test1
+
+
+
+
+ pre
+
+ pre
+
+
+
+
+ master
+
+ master
+
+
+
+
+
+ oss-client
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+ maven-compiler-plugin
+
+ 1.8
+ 1.8
+
+
+
+
+
+
diff --git a/oss-client/src/main/java/cn/axzo/oss/client/Bootstrap.java b/oss-client/src/main/java/cn/axzo/oss/client/Bootstrap.java
new file mode 100644
index 0000000..9942b59
--- /dev/null
+++ b/oss-client/src/main/java/cn/axzo/oss/client/Bootstrap.java
@@ -0,0 +1,24 @@
+package cn.axzo.oss.client;
+
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+/**
+ * OSS 启动类
+ *
+ * @author zhaoyong
+ * @see Bootstrap
+ * @since 2021-07-15 11:34
+ */
+@Slf4j
+@SpringBootApplication(scanBasePackages = {"cn.axzo.oss"})
+public class Bootstrap {
+
+ public static void main(String[] args) {
+ log.info("axzo oss begin starting...");
+ SpringApplication.run(Bootstrap.class, args);
+ log.info("axzo oss start success");
+ }
+
+}
diff --git a/oss-client/src/main/resources/bootstrap.yml b/oss-client/src/main/resources/bootstrap.yml
new file mode 100644
index 0000000..5d6f794
--- /dev/null
+++ b/oss-client/src/main/resources/bootstrap.yml
@@ -0,0 +1,18 @@
+spring:
+ application:
+ name: oss
+ cloud:
+ nacos:
+ config:
+ server-addr: ${NACOS_HOST:dev-nacos.axzo.cn}:${NACOS_PORT:80}
+ file-extension: yaml
+ namespace: ${NACOS_NAMESPACE_ID:35eada10-9574-4db8-9fea-bc6a4960b6c7}
+ prefix: ${spring.application.name}
+ profiles:
+ active: ${NACOS_PROFILES_ACTIVE:dev}
+ main:
+ allow-bean-definition-overriding: true
+
+logging:
+ level:
+ com.alibaba.nacos.client.config.impl: WARN
\ No newline at end of file
diff --git a/oss-client/src/main/resources/logback-spring.xml b/oss-client/src/main/resources/logback-spring.xml
new file mode 100644
index 0000000..00e08ee
--- /dev/null
+++ b/oss-client/src/main/resources/logback-spring.xml
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${PROJECT_NAME}
+
+
+ ${LOG_PATH}/error/error.log
+
+ ${LOG_PATH}/error/error-%d{yyyy-MM-dd}.%i.log
+
+ 30MB
+
+ ${MAX_HISTORY}
+
+ 1GB
+
+ true
+
+
+ true
+
+
+ ${FILE_LOG_PATTERN}
+ utf-8
+
+
+
+ error
+ ACCEPT
+ DENY
+
+
+
+
+
+ ${LOG_PATH}/warn/warn.log
+
+ ${LOG_PATH}/warn/warn-%d{yyyy-MM-dd}.%i.log
+
+ 30MB
+
+ ${MAX_HISTORY}
+
+ 1GB
+
+ true
+
+
+ true
+
+
+ ${FILE_LOG_PATTERN}
+ utf-8
+
+
+
+ warn
+ ACCEPT
+ DENY
+
+
+
+
+
+ ${LOG_PATH}/info/info.log
+
+ ${LOG_PATH}/info/info-%d{yyyy-MM-dd}.%i.log
+
+ 30MB
+
+ ${MAX_HISTORY}
+
+ 1GB
+
+ true
+
+
+ true
+
+
+ ${FILE_LOG_PATTERN}
+ utf-8
+
+
+
+
+ info
+ ACCEPT
+ DENY
+
+
+
+
+
+ ${LOG_PATH}/debug/debug.log
+
+ ${LOG_PATH}/debug/debug-%d{yyyy-MM-dd}.%i.log
+
+ 30MB
+
+ ${MAX_HISTORY}
+
+ 1GB
+
+ true
+
+
+ true
+
+
+ ${FILE_LOG_PATTERN}
+ utf-8
+
+
+
+
+ debug
+ ACCEPT
+ DENY
+
+
+
+
+
+
+ ${LOG_PATTERN}
+ utf-8
+
+
+
+ info
+
+
+
+
+
+
+
+
+
+ @timestamp
+ yyyy-MM-dd'T'HH:mm:ss.SSSx
+ GMT+8
+
+
+
+ {
+ "app":"${appName}",
+ "traceId":"%X{ctxLogId}",
+ "level":"%level",
+ "thread":"%thread",
+ "coordinate":"%class{36}#%M:%L",
+ "message":"%message",
+ "m":"#asJson{%message}",
+ "stack_trace":"%exception{20}"
+ }
+
+
+
+
+
+
+
+
+
+
+ ${LOG_PATTERN}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/oss-common/pom.xml b/oss-common/pom.xml
new file mode 100644
index 0000000..07e736d
--- /dev/null
+++ b/oss-common/pom.xml
@@ -0,0 +1,88 @@
+
+
+ 4.0.0
+
+ cn.axzo.oss
+ oss
+ 1.0.0
+
+ oss-common
+
+
+
+ cn.axzo.framework
+ common-common
+
+
+ org.apache.skywalking
+ apm-toolkit-trace
+
+
+ org.apache.skywalking
+ apm-toolkit-logback-1.x
+
+
+ net.logstash.logback
+ logstash-logback-encoder
+
+
+ org.springframework.boot
+ spring-boot-starter-aop
+
+
+ javax.validation
+ validation-api
+
+
+ org.hibernate
+ hibernate-validator
+
+
+ org.redisson
+ redisson
+
+
+ com.alibaba
+ fastjson
+
+
+ joda-time
+ joda-time
+
+
+ org.apache.commons
+ commons-lang3
+
+
+ org.apache.commons
+ commons-collections4
+
+
+ cn.hutool
+ hutool-all
+
+
+ com.google.guava
+ guava
+
+
+ org.projectlombok
+ lombok
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+ 2.8.2
+
+ true
+
+
+
+
+
+
diff --git a/oss-common/src/main/java/cn/axzo/oss/common/constans/CommonConstants.java b/oss-common/src/main/java/cn/axzo/oss/common/constans/CommonConstants.java
new file mode 100644
index 0000000..5563e0a
--- /dev/null
+++ b/oss-common/src/main/java/cn/axzo/oss/common/constans/CommonConstants.java
@@ -0,0 +1,11 @@
+package cn.axzo.oss.common.constans;
+
+/**
+ * 通用常量类
+ *
+ * @author zhaoyong
+ * @see CommonConstants
+ * @since 2021-07-15 11:45
+ */
+public abstract class CommonConstants {
+}
diff --git a/oss-common/src/main/java/cn/axzo/oss/common/enums/EnumBase.java b/oss-common/src/main/java/cn/axzo/oss/common/enums/EnumBase.java
new file mode 100644
index 0000000..29c2553
--- /dev/null
+++ b/oss-common/src/main/java/cn/axzo/oss/common/enums/EnumBase.java
@@ -0,0 +1,24 @@
+package cn.axzo.oss.common.enums;
+
+/**
+ * 枚举接口
+ *
+ * @author zhaoyong
+ * @see EnumBase
+ * @since 2021-04-01 14:34
+ */
+public interface EnumBase {
+
+ /**
+ * 获取映射码
+ * @return
+ */
+ T getCode();
+
+ /**
+ * 获取描述信息
+ * @return
+ */
+ String getMessage();
+
+}
diff --git a/oss-common/src/main/java/cn/axzo/oss/common/enums/IsDeleteEnum.java b/oss-common/src/main/java/cn/axzo/oss/common/enums/IsDeleteEnum.java
new file mode 100644
index 0000000..3a3b653
--- /dev/null
+++ b/oss-common/src/main/java/cn/axzo/oss/common/enums/IsDeleteEnum.java
@@ -0,0 +1,32 @@
+package cn.axzo.oss.common.enums;
+
+import lombok.Getter;
+import lombok.RequiredArgsConstructor;
+
+/**
+ * 逻辑删除枚举
+ *
+ * @author zhaoyong
+ * @see IsDeleteEnum
+ * @since 2021-04-01 15:46
+ */
+@Getter
+@RequiredArgsConstructor
+public enum IsDeleteEnum implements EnumBase {
+
+ /**
+ * 未删除
+ */
+ NO(0, "未删除"),
+
+ /**
+ * 已删除
+ */
+ YES(1, "已删除"),
+ ;
+
+ private final Integer code;
+
+ private final String message;
+
+}
diff --git a/oss-dal/pom.xml b/oss-dal/pom.xml
new file mode 100644
index 0000000..381a02d
--- /dev/null
+++ b/oss-dal/pom.xml
@@ -0,0 +1,58 @@
+
+
+ 4.0.0
+
+ cn.axzo.oss
+ oss
+ 1.0.0
+
+ oss-dal
+
+
+
+
+ cn.axzo.oss
+ oss-common
+ ${project.version}
+
+
+ mysql
+ mysql-connector-java
+
+
+ com.zaxxer
+ HikariCP
+
+
+ org.springframework.boot
+ spring-boot-starter-jdbc
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+
+
+ org.apache.velocity
+ velocity-engine-core
+ compile
+
+
+ com.baomidou
+ mybatis-plus-generator
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+ 2.8.2
+
+ true
+
+
+
+
+
+
diff --git a/oss-dal/src/main/java/cn/axzo/oss/dal/package-info.java b/oss-dal/src/main/java/cn/axzo/oss/dal/package-info.java
new file mode 100644
index 0000000..9afeb44
--- /dev/null
+++ b/oss-dal/src/main/java/cn/axzo/oss/dal/package-info.java
@@ -0,0 +1,8 @@
+/**
+ * 包信息
+ *
+ * @author zhaoyong
+ * @see package-info
+ * @since 2021-07-15 12:54
+ */
+package cn.axzo.oss.dal;
\ No newline at end of file
diff --git a/oss-http-api/pom.xml b/oss-http-api/pom.xml
new file mode 100644
index 0000000..6865fd6
--- /dev/null
+++ b/oss-http-api/pom.xml
@@ -0,0 +1,67 @@
+
+
+
+ 4.0.0
+
+
+ cn.axzo.oss
+ oss
+ ${revision}
+
+
+ oss-http-api
+
+
+
+ cn.axzo.framework
+ common-common
+ provided
+
+
+ org.springframework.cloud
+ spring-cloud-openfeign-core
+ provided
+
+
+ org.projectlombok
+ lombok
+ provided
+
+
+ javax.validation
+ validation-api
+ provided
+
+
+ org.hibernate
+ hibernate-validator
+ provided
+
+
+ org.springframework
+ spring-web
+ provided
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+
+
+ attach-sources
+
+ jar
+
+
+
+
+
+
+
+
+
diff --git a/oss-http-api/src/main/java/org/apache/myfaces/blank/HelloWorldController.java b/oss-http-api/src/main/java/org/apache/myfaces/blank/HelloWorldController.java
new file mode 100644
index 0000000..c62289b
--- /dev/null
+++ b/oss-http-api/src/main/java/org/apache/myfaces/blank/HelloWorldController.java
@@ -0,0 +1,52 @@
+/*
+ * 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 org.apache.myfaces.blank;
+
+/**
+ * A typical simple backing bean, that is backed to helloworld.jsp
+ *
+ */
+public class HelloWorldController {
+
+
+ //properties
+ private String name;
+
+ /**
+ * default empty constructor
+ */
+ public HelloWorldController(){
+ }
+
+ //-------------------getter & setter
+ public String getName() {
+ return name;
+ }
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * Method that is backed to a submit button of a form.
+ */
+ public String send(){
+ //do real logic, return a string which will be used for the navigation system of JSF
+ return "success";
+ }
+}
\ No newline at end of file
diff --git a/oss-http-api/src/main/webapp/WEB-INF/faces-config.xml b/oss-http-api/src/main/webapp/WEB-INF/faces-config.xml
new file mode 100644
index 0000000..d698d66
--- /dev/null
+++ b/oss-http-api/src/main/webapp/WEB-INF/faces-config.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+ helloWorld
+ org.apache.myfaces.blank.HelloWorldController
+ request
+
+
+
+
+ /helloWorld.jsp
+
+ success
+ /page2.jsp
+
+
+
+
+
+ /page2.jsp
+
+ back
+ /helloWorld.jsp
+
+
+
\ No newline at end of file
diff --git a/oss-http-api/src/main/webapp/WEB-INF/web.xml b/oss-http-api/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..e3ad41b
--- /dev/null
+++ b/oss-http-api/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,218 @@
+
+
+
+
+
+ MyProject web.xml
+
+
+
+ State saving method: "client" or "server" (= default)
+ See JSF Specification 2.5.3
+ javax.faces.STATE_SAVING_METHOD
+ client
+
+
+ Only applicable if state saving method is "server" (= default).
+ Defines the amount (default = 20) of the latest views are stored in session.
+ org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
+ 20
+
+
+ Only applicable if state saving method is "server" (= default).
+ If true (default) the state will be serialized to a byte stream before it
+ is written to the session.
+ If false the state will not be serialized to a byte stream.
+ org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
+ true
+
+
+ Only applicable if state saving method is "server" (= default) and if
+ org.apache.myfaces.SERIALIZE_STATE_IN_SESSION is true (= default)
+ If true (default) the serialized state will be compressed before it
+ is written to the session. If false the state will not be compressed.
+ org.apache.myfaces.COMPRESS_STATE_IN_SESSION
+ true
+
+
+ This parameter tells MyFaces if javascript code should be allowed in the
+ rendered HTML output.
+ If javascript is allowed, command_link anchors will have javascript code
+ that submits the corresponding form.
+ If javascript is not allowed, the state saving info and nested parameters
+ will be added as url parameters.
+ Default: "true"
+ org.apache.myfaces.ALLOW_JAVASCRIPT
+ true
+
+
+ org.apache.myfaces.DETECT_JAVASCRIPT
+ false
+
+
+ If true, rendered HTML code will be formatted, so that it is "human readable".
+ i.e. additional line separators and whitespace will be written, that do not
+ influence the HTML code.
+ Default: "true"
+ org.apache.myfaces.PRETTY_HTML
+ true
+
+
+ If true, a javascript function will be rendered that is able to restore the
+ former vertical scroll on every request. Convenient feature if you have pages
+ with long lists and you do not want the browser page to always jump to the top
+ if you trigger a link or button action that stays on the same page.
+ Default: "false"
+ org.apache.myfaces.AUTO_SCROLL
+ true
+
+
+
+ Used for encrypting view state. Only relevant for client side
+ state saving. See MyFaces wiki/web site documentation for instructions
+ on how to configure an application for diffenent encryption strengths.
+
+ org.apache.myfaces.SECRET
+ NzY1NDMyMTA=
+
+
+
+
+ Validate managed beans, navigation rules and ensure that forms are not nested.
+
+ org.apache.myfaces.VALIDATE
+ true
+
+
+
+
+ Treat readonly same as if disabled attribute was set for select elements.
+
+ org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS
+ true
+
+
+
+
+ Use the defined class as the class which will be called when a resource is added to the
+ ExtensionFilter handling. Using StreamingAddResource here helps with performance. If you want to add
+ custom components and want to use the ExtensionFilter, you need to provide your custom implementation here.
+
+ org.apache.myfaces.ADD_RESOURCE_CLASS
+ org.apache.myfaces.renderkit.html.util.DefaultAddResource
+
+
+
+
+ Virtual path in the URL which triggers loading of resources for the MyFaces extended components
+ in the ExtensionFilter.
+
+ org.apache.myfaces.RESOURCE_VIRTUAL_PATH
+ /faces/myFacesExtensionResource
+
+
+
+
+ Check if the extensions-filter has been properly configured.
+
+ org.apache.myfaces.CHECK_EXTENSIONS_FILTER
+ true
+
+
+
+
+ Define partial state saving as true/false.
+
+ javax.faces.PARTIAL_STATE_SAVING_METHOD
+ false
+
+
+
+
+ extensionsFilter
+ org.apache.myfaces.webapp.filter.ExtensionsFilter
+
+ Set the size limit for uploaded files.
+ Format: 10 - 10 bytes
+ 10k - 10 KB
+ 10m - 10 MB
+ 1g - 1 GB
+ uploadMaxFileSize
+ 100m
+
+
+ Set the threshold size - files
+ below this limit are stored in memory, files above
+ this limit are stored on disk.
+
+ Format: 10 - 10 bytes
+ 10k - 10 KB
+ 10m - 10 MB
+ 1g - 1 GB
+ uploadThresholdSize
+ 100k
+
+
+
+
+ extensionsFilter
+ *.jsf
+
+
+ extensionsFilter
+ /faces/*
+
+
+
+
+ org.apache.myfaces.webapp.StartupServletContextListener
+
+
+
+
+ Faces Servlet
+ javax.faces.webapp.FacesServlet
+ 1
+
+
+
+
+ Faces Servlet
+ *.jsf
+
+
+
+
+ index.jsp
+ index.html
+
+
+
diff --git a/oss-http-api/src/main/webapp/helloWorld.jsp b/oss-http-api/src/main/webapp/helloWorld.jsp
new file mode 100644
index 0000000..1334d73
--- /dev/null
+++ b/oss-http-api/src/main/webapp/helloWorld.jsp
@@ -0,0 +1,19 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+
+
+ Hello World
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/oss-http-api/src/main/webapp/index.jsp b/oss-http-api/src/main/webapp/index.jsp
new file mode 100644
index 0000000..a29c228
--- /dev/null
+++ b/oss-http-api/src/main/webapp/index.jsp
@@ -0,0 +1,4 @@
+<%@ page session="false"%>
+<%
+response.sendRedirect("helloWorld.jsf");
+%>
\ No newline at end of file
diff --git a/oss-http-api/src/main/webapp/page2.jsp b/oss-http-api/src/main/webapp/page2.jsp
new file mode 100644
index 0000000..6d12c41
--- /dev/null
+++ b/oss-http-api/src/main/webapp/page2.jsp
@@ -0,0 +1,17 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+
+
+ Hello World
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/oss-integration/pom.xml b/oss-integration/pom.xml
new file mode 100644
index 0000000..da862d7
--- /dev/null
+++ b/oss-integration/pom.xml
@@ -0,0 +1,37 @@
+
+
+ 4.0.0
+
+ cn.axzo.oss
+ oss
+ 1.0.0
+
+ oss-integration
+
+
+
+ cn.axzo.oss
+ oss-common
+ ${project.version}
+
+
+ org.springframework.cloud
+ spring-cloud-starter-openfeign
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+ 2.8.2
+
+ true
+
+
+
+
+
+
diff --git a/oss-integration/src/main/java/cn/axzo/oss/integration/package-info.java b/oss-integration/src/main/java/cn/axzo/oss/integration/package-info.java
new file mode 100644
index 0000000..c77c89f
--- /dev/null
+++ b/oss-integration/src/main/java/cn/axzo/oss/integration/package-info.java
@@ -0,0 +1,8 @@
+/**
+ * 包信息
+ *
+ * @author zhaoyong
+ * @see package-info
+ * @since 2021-07-15 12:54
+ */
+package cn.axzo.oss.integration;
\ No newline at end of file
diff --git a/oss-manager-api/pom.xml b/oss-manager-api/pom.xml
new file mode 100644
index 0000000..5189102
--- /dev/null
+++ b/oss-manager-api/pom.xml
@@ -0,0 +1,37 @@
+
+
+ 4.0.0
+
+ cn.axzo.oss
+ oss
+ 1.0.0
+
+ oss-manager-api
+
+
+
+ cn.axzo.oss
+ oss-common
+ ${project.version}
+
+
+ cn.axzo.oss
+ oss-dal
+ ${project.version}
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+ 2.8.2
+
+ true
+
+
+
+
+
+
diff --git a/oss-manager-api/src/main/java/cn/axzo/oss/manager/api/package-info.java b/oss-manager-api/src/main/java/cn/axzo/oss/manager/api/package-info.java
new file mode 100644
index 0000000..89c61c3
--- /dev/null
+++ b/oss-manager-api/src/main/java/cn/axzo/oss/manager/api/package-info.java
@@ -0,0 +1,8 @@
+/**
+ * 包信息
+ *
+ * @author zhaoyong
+ * @see package-info
+ * @since 2021-07-15 12:54
+ */
+package cn.axzo.oss.manager.api;
\ No newline at end of file
diff --git a/oss-manager/pom.xml b/oss-manager/pom.xml
new file mode 100644
index 0000000..2179db9
--- /dev/null
+++ b/oss-manager/pom.xml
@@ -0,0 +1,42 @@
+
+
+ 4.0.0
+
+ cn.axzo.oss
+ oss
+ 1.0.0
+
+ oss-manager
+
+
+
+ cn.axzo.oss
+ oss-dal
+ ${project.version}
+
+
+ cn.axzo.oss
+ oss-manager-api
+ ${project.version}
+
+
+ cn.axzo.oss
+ oss-integration
+ ${project.version}
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+ 2.8.2
+
+ true
+
+
+
+
+
+
diff --git a/oss-manager/src/main/java/cn/axzo/oss/manager/impl/package-info.java b/oss-manager/src/main/java/cn/axzo/oss/manager/impl/package-info.java
new file mode 100644
index 0000000..2d00924
--- /dev/null
+++ b/oss-manager/src/main/java/cn/axzo/oss/manager/impl/package-info.java
@@ -0,0 +1,8 @@
+/**
+ * 包信息
+ *
+ * @author zhaoyong
+ * @see package-info
+ * @since 2021-07-15 12:54
+ */
+package cn.axzo.oss.manager.impl;
\ No newline at end of file
diff --git a/oss-service-api/pom.xml b/oss-service-api/pom.xml
new file mode 100644
index 0000000..c9fd90f
--- /dev/null
+++ b/oss-service-api/pom.xml
@@ -0,0 +1,37 @@
+
+
+ 4.0.0
+
+ cn.axzo.oss
+ oss
+ 1.0.0
+
+ oss-service-api
+
+
+
+ cn.axzo.oss
+ oss-common
+ ${project.version}
+
+
+ cn.axzo.oss
+ oss-manager-api
+ ${project.version}
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+ 2.8.2
+
+ true
+
+
+
+
+
+
diff --git a/oss-service-api/src/main/java/cn/axzo/oss/service/api/package-info.java b/oss-service-api/src/main/java/cn/axzo/oss/service/api/package-info.java
new file mode 100644
index 0000000..09f906a
--- /dev/null
+++ b/oss-service-api/src/main/java/cn/axzo/oss/service/api/package-info.java
@@ -0,0 +1,8 @@
+/**
+ * 包信息
+ *
+ * @author zhaoyong
+ * @see package-info
+ * @since 2021-07-15 12:55
+ */
+package cn.axzo.oss.service.api;
\ No newline at end of file
diff --git a/oss-service/pom.xml b/oss-service/pom.xml
new file mode 100644
index 0000000..0aa1290
--- /dev/null
+++ b/oss-service/pom.xml
@@ -0,0 +1,37 @@
+
+
+ 4.0.0
+
+ cn.axzo.oss
+ oss
+ 1.0.0
+
+ oss-service
+
+
+
+ cn.axzo.oss
+ oss-service-api
+ ${project.version}
+
+
+ cn.axzo.oss
+ oss-manager
+ ${project.version}
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+ 2.8.2
+
+ true
+
+
+
+
+
+
diff --git a/oss-service/src/main/java/cn/axzo/oss/service/impl/package-info.java b/oss-service/src/main/java/cn/axzo/oss/service/impl/package-info.java
new file mode 100644
index 0000000..def93fb
--- /dev/null
+++ b/oss-service/src/main/java/cn/axzo/oss/service/impl/package-info.java
@@ -0,0 +1,8 @@
+/**
+ * 包信息
+ *
+ * @author zhaoyong
+ * @see package-info
+ * @since 2021-07-15 12:55
+ */
+package cn.axzo.oss.service.impl;
\ No newline at end of file
diff --git a/oss-test/pom.xml b/oss-test/pom.xml
new file mode 100644
index 0000000..7fba23c
--- /dev/null
+++ b/oss-test/pom.xml
@@ -0,0 +1,36 @@
+
+
+ 4.0.0
+
+ cn.axzo.oss
+ oss
+ 1.0.0
+
+ oss-test
+
+
+
+ cn.axzo.oss
+ oss-client
+ ${project.version}
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+ 2.8.2
+
+ true
+
+
+
+
+
+
diff --git a/oss-test/src/test/java/cn/axzo/oss/test/package-info.java b/oss-test/src/test/java/cn/axzo/oss/test/package-info.java
new file mode 100644
index 0000000..5399c43
--- /dev/null
+++ b/oss-test/src/test/java/cn/axzo/oss/test/package-info.java
@@ -0,0 +1,8 @@
+/**
+ * 包信息
+ *
+ * @author zhaoyong
+ * @see package-info
+ * @since 2021-07-15 12:55
+ */
+package cn.axzo.oss.test;
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..ce75f16
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,162 @@
+
+
+ 4.0.0
+
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.2.4.RELEASE
+
+
+
+ cn.axzo.oss
+ oss
+ 1.0.0
+ pom
+
+
+
+ 1.0.6
+ 8.5.0
+
+ 1.0.0
+
+ 4.4
+ 3.5
+ 5.5.7
+ 6.1
+ 2.2.0
+ 3.13.2
+ 1.2.47
+ 2.10.6
+ 2.0.0.Final
+ 6.0.16.Final
+ 4.5.6
+ 3.3.2
+ 2.0
+ 2.2.1.RELEASE
+ Hoxton.SR6
+
+
+
+ oss-client
+ oss-common
+ oss-dal
+ oss-integration
+ oss-manager
+ oss-manager-api
+ oss-service
+ oss-service-api
+ oss-test
+ oss-http-api
+
+
+
+
+
+ cn.axzo.framework
+ common-common
+ ${common-common.version}
+
+
+ org.apache.skywalking
+ apm-toolkit-trace
+ ${apm-toolkit.version}
+
+
+ org.apache.skywalking
+ apm-toolkit-logback-1.x
+ ${apm-toolkit.version}
+
+
+
+ org.springframework.cloud
+ spring-cloud-dependencies
+ ${spring-cloud.version}
+ pom
+ import
+
+
+ com.alibaba.cloud
+ spring-cloud-alibaba-dependencies
+ ${spring-cloud-alibaba.version}
+ pom
+ import
+
+
+
+ com.baomidou
+ mybatis-plus-generator
+ ${mybatis-plus.version}
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+ ${mybatis-plus.version}
+
+
+
+ joda-time
+ joda-time
+ ${joda-time.version}
+
+
+ net.logstash.logback
+ logstash-logback-encoder
+ ${logstash-logback-encoder.version}
+
+
+ javax.validation
+ validation-api
+ ${javax.validation.version}
+
+
+ org.hibernate
+ hibernate-validator
+ ${hibernate.validator.version}
+
+
+ org.apache.httpcomponents
+ httpclient
+ ${http.client.version}
+
+
+ cn.hutool
+ hutool-all
+ ${hutool-all.version}
+
+
+ org.apache.velocity
+ velocity-engine-core
+ ${velocity-engine-core.version}
+
+
+ com.alibaba
+ fastjson
+ ${fastjson.version}
+
+
+ org.apache.commons
+ commons-lang3
+ ${commons-lang3.version}
+
+
+ org.apache.commons
+ commons-collections4
+ ${commons-collections4.version}
+
+
+
+ org.redisson
+ redisson
+ ${redisson.version}
+
+
+ com.xuxueli
+ xxl-job-core
+ ${xxl.job.version}
+
+
+
+