From 466072caf959014797268aa05ca89c5932807094 Mon Sep 17 00:00:00 2001 From: lbw Date: Sun, 29 May 2022 13:50:31 +0800 Subject: [PATCH] =?UTF-8?q?:fire:=20Removing=20code=20or=20files.=20?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.yml | 51 ------------------- .../src/main/resources/application-prod.yml | 51 ------------------- .../src/main/resources/application-test.yml | 51 ------------------- 3 files changed, 153 deletions(-) delete mode 100644 pigx-register/src/main/resources/application-dev.yml delete mode 100644 pigx-register/src/main/resources/application-prod.yml delete mode 100644 pigx-register/src/main/resources/application-test.yml diff --git a/pigx-register/src/main/resources/application-dev.yml b/pigx-register/src/main/resources/application-dev.yml deleted file mode 100644 index 75fa88493..000000000 --- a/pigx-register/src/main/resources/application-dev.yml +++ /dev/null @@ -1,51 +0,0 @@ -server: - port: 8848 - tomcat: - basedir: logs - -db: - num: 1 - user: ${MYSQL_USER:root} - password: ${MYSQL_PWD:root} - url: - 0: jdbc:mysql://${MYSQL_HOST:pigx-mysql}:${MYSQL_PORT:3306}/${MYSQL_DB:pigxx_config}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true - - -nacos: - core: - auth: - system.type: nacos - default.token.secret.key: SecretKey012345678901234567890123456789012345678901234567890123456789 - security: - ignore: - urls: /,/error,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-fe/public/**,/v1/auth/**,/v1/console/health/**,/actuator/**,/v1/console/server/** - -spring: - datasource: - platform: mysql #这个过期属性不能修改,nacos 代码对此有硬编码 - security: - enabled: true - boot: # 接入 spring boot admin - admin: - client: - url: http://pigx-monitor:5001 - username: pig - password: pig - instance: - prefer-ip: true - application: - name: @project.artifactId@ - -useAddressServer: true - -management: - endpoints: - web: - exposure: - include: '*' - metrics: - export: - influx: - enabled: false - elastic: - enabled: false diff --git a/pigx-register/src/main/resources/application-prod.yml b/pigx-register/src/main/resources/application-prod.yml deleted file mode 100644 index 75fa88493..000000000 --- a/pigx-register/src/main/resources/application-prod.yml +++ /dev/null @@ -1,51 +0,0 @@ -server: - port: 8848 - tomcat: - basedir: logs - -db: - num: 1 - user: ${MYSQL_USER:root} - password: ${MYSQL_PWD:root} - url: - 0: jdbc:mysql://${MYSQL_HOST:pigx-mysql}:${MYSQL_PORT:3306}/${MYSQL_DB:pigxx_config}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true - - -nacos: - core: - auth: - system.type: nacos - default.token.secret.key: SecretKey012345678901234567890123456789012345678901234567890123456789 - security: - ignore: - urls: /,/error,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-fe/public/**,/v1/auth/**,/v1/console/health/**,/actuator/**,/v1/console/server/** - -spring: - datasource: - platform: mysql #这个过期属性不能修改,nacos 代码对此有硬编码 - security: - enabled: true - boot: # 接入 spring boot admin - admin: - client: - url: http://pigx-monitor:5001 - username: pig - password: pig - instance: - prefer-ip: true - application: - name: @project.artifactId@ - -useAddressServer: true - -management: - endpoints: - web: - exposure: - include: '*' - metrics: - export: - influx: - enabled: false - elastic: - enabled: false diff --git a/pigx-register/src/main/resources/application-test.yml b/pigx-register/src/main/resources/application-test.yml deleted file mode 100644 index 75fa88493..000000000 --- a/pigx-register/src/main/resources/application-test.yml +++ /dev/null @@ -1,51 +0,0 @@ -server: - port: 8848 - tomcat: - basedir: logs - -db: - num: 1 - user: ${MYSQL_USER:root} - password: ${MYSQL_PWD:root} - url: - 0: jdbc:mysql://${MYSQL_HOST:pigx-mysql}:${MYSQL_PORT:3306}/${MYSQL_DB:pigxx_config}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true - - -nacos: - core: - auth: - system.type: nacos - default.token.secret.key: SecretKey012345678901234567890123456789012345678901234567890123456789 - security: - ignore: - urls: /,/error,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-fe/public/**,/v1/auth/**,/v1/console/health/**,/actuator/**,/v1/console/server/** - -spring: - datasource: - platform: mysql #这个过期属性不能修改,nacos 代码对此有硬编码 - security: - enabled: true - boot: # 接入 spring boot admin - admin: - client: - url: http://pigx-monitor:5001 - username: pig - password: pig - instance: - prefer-ip: true - application: - name: @project.artifactId@ - -useAddressServer: true - -management: - endpoints: - web: - exposure: - include: '*' - metrics: - export: - influx: - enabled: false - elastic: - enabled: false