Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jenkins
order-group
Commits
be3e1b60
Commit
be3e1b60
authored
Mar 31, 2020
by
姜海波
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'remotes/origin/feature-2020/3/30-1.9.17-prometheus二期-海波'
parents
deafb006
6cf81dde
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
26 additions
and
58 deletions
+26
-58
call-back-service/pom.xml
+6
-9
call-back-service/src/main/java/cn/freemud/ApiApplication.java
+0
-4
call-back-service/src/main/resources/application-pre-release.properties
+2
-2
order-application-service/pom.xml
+7
-10
order-application-service/src/main/java/cn/freemud/OrderApplication.java
+0
-4
order-application-service/src/main/resources/application-pre-release.properties
+2
-4
order-management/order-management.iml
+3
-1
shopping-cart-application-service/pom.xml
+4
-18
shopping-cart-application-service/src/main/java/cn/freemud/ShoppingCartApplication.java
+0
-4
shopping-cart-application-service/src/main/resources/application-pre-release.properties
+2
-2
No files found.
call-back-service/pom.xml
View file @
be3e1b60
...
...
@@ -100,21 +100,18 @@
</dependency>
<!-- promtheus -->
<dependency>
<groupId>
io.prometheus
</groupId>
<artifactId>
simpleclient_spring_boot
</artifactId>
<version>
0.8.0
</version>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
<dependency>
<groupId>
io.micrometer
</groupId>
<artifactId>
micrometer-
registry-prometheus
</artifactId>
<version>
0.12.0.RELEASE
</version>
<artifactId>
micrometer-
spring-legacy
</artifactId>
<version>
1.1.2
</version>
</dependency>
<dependency>
<groupId>
io.micrometer
</groupId>
<artifactId>
micrometer-
spring-legacy
</artifactId>
<version>
0.8.0.RELEASE
</version>
<artifactId>
micrometer-
registry-prometheus
</artifactId>
<version>
1.1.2
</version>
</dependency>
</dependencies>
<build>
...
...
call-back-service/src/main/java/cn/freemud/ApiApplication.java
View file @
be3e1b60
...
...
@@ -14,8 +14,6 @@ package cn.freemud;
import
cn.freemud.utils.LogTreadLocal
;
import
feign.RequestInterceptor
;
import
io.prometheus.client.spring.boot.EnablePrometheusEndpoint
;
import
io.prometheus.client.spring.boot.EnableSpringBootMetricsCollector
;
import
org.jasypt.encryption.StringEncryptor
;
import
org.jasypt.encryption.pbe.PooledPBEStringEncryptor
;
import
org.jasypt.encryption.pbe.config.SimpleStringPBEConfig
;
...
...
@@ -45,8 +43,6 @@ import org.springframework.context.annotation.EnableAspectJAutoProxy;
@EnableAspectJAutoProxy
@ComponentScan
({
"cn.freemud"
,
"com.freemud"
})
@EnableFeignClients
@EnablePrometheusEndpoint
@EnableSpringBootMetricsCollector
@EnableAutoConfiguration
public
class
ApiApplication
{
public
static
void
main
(
String
[]
args
)
{
...
...
call-back-service/src/main/resources/application-pre-release.properties
View file @
be3e1b60
...
...
@@ -8,4 +8,4 @@ apollo.meta=http://open-store-apollo-configservice-pro.open-store.svc:8080
env
=
pro
apollo.bootstrap.enabled
=
true
apollo.cluster
=
pre-release
apollo.bootstrap.namespaces
=
micro_progeram_commons,i_callback_service
\ No newline at end of file
apollo.bootstrap.namespaces
=
i_callback_service,micro_progeram_commons
\ No newline at end of file
order-application-service/pom.xml
View file @
be3e1b60
...
...
@@ -338,25 +338,22 @@
</dependency>
<!-- promtheus -->
<dependency>
<groupId>
io.prometheus
</groupId>
<artifactId>
simpleclient_spring_boot
</artifactId>
<version>
0.8.0
</version>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
<dependency>
<groupId>
io.micrometer
</groupId>
<artifactId>
micrometer-
registry-prometheus
</artifactId>
<version>
0.12.0.RELEASE
</version>
<artifactId>
micrometer-
spring-legacy
</artifactId>
<version>
1.1.2
</version>
</dependency>
<dependency>
<groupId>
io.micrometer
</groupId>
<artifactId>
micrometer-
spring-legacy
</artifactId>
<version>
0.8.0.RELEASE
</version>
<artifactId>
micrometer-
registry-prometheus
</artifactId>
<version>
1.1.2
</version>
</dependency>
</dependencies>
<build>
<plugins>
...
...
order-application-service/src/main/java/cn/freemud/OrderApplication.java
View file @
be3e1b60
...
...
@@ -15,8 +15,6 @@ package cn.freemud;
import
cn.freemud.core.db.DataSourcesConfig
;
import
com.freemud.application.sdk.api.log.LogThreadLocal
;
import
feign.RequestInterceptor
;
import
io.prometheus.client.spring.boot.EnablePrometheusEndpoint
;
import
io.prometheus.client.spring.boot.EnableSpringBootMetricsCollector
;
import
org.jasypt.encryption.StringEncryptor
;
import
org.jasypt.encryption.pbe.PooledPBEStringEncryptor
;
import
org.jasypt.encryption.pbe.config.SimpleStringPBEConfig
;
...
...
@@ -45,8 +43,6 @@ import tk.mybatis.spring.annotation.MapperScan;
@MapperScan
({
"cn.freemud.*.dao"
,
"com.freemud.sdk.api.assortment.orderdistributor.mapper"
,
"com.freemud.api.assortment.datamanager.manager"
,
"com.freemud.api.assortment.datamanager.queue.dao"
,
"com.freemud.api.assortment.datamanager.rbac.dao"
,
"com.freemud.api.assortment.datamanager.queue.entity"
})
@EnableFeignClients
({
"cn.freemud.service.thirdparty"
,
"com.freemud.sdk.api.assortment.message"
})
@EnablePrometheusEndpoint
@EnableSpringBootMetricsCollector
@EnableAutoConfiguration
public
class
OrderApplication
{
public
static
void
main
(
String
[]
args
)
{
...
...
order-application-service/src/main/resources/application-pre-release.properties
View file @
be3e1b60
...
...
@@ -8,6 +8,4 @@ apollo.meta=http://open-store-apollo-configservice-pro.open-store.svc:8080
env
=
pro
apollo.bootstrap.enabled
=
true
apollo.cluster
=
pre-release
apollo.bootstrap.namespaces
=
micro_progeram_commons,order_service
eureka.client.enabled
=
true
\ No newline at end of file
apollo.bootstrap.namespaces
=
order_service,micro_progeram_commons
\ No newline at end of file
order-management/order-management.iml
View file @
be3e1b60
...
...
@@ -20,6 +20,8 @@
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: cn.freemud:assortment-ordercenter-sdk:1.1.5.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.cloud:spring-cloud-netflix-core:1.4.4.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: com.freemud.application.service.sdk:deliverycenter-sdk:1.1.3-SNAPSHOT"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.springframework.boot:spring-boot-starter-test:1.5.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: org.springframework.boot:spring-boot-test:1.5.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.boot:spring-boot:1.5.3.RELEASE"
level=
"project"
/>
...
...
@@ -42,7 +44,7 @@
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: org.projectlombok:lombok:1.16.16"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"TEST"
name=
"Maven: junit:junit:4.11"
level=
"project"
/>
<orderEntry
type=
"library"
scope=
"PROVIDED"
name=
"Maven: cn.freemud:assortment-ordercenter-sdk:1.2.3.RELEASE"
level=
"project"
/>
<orderEntry
type=
"
module"
module-name=
"ordercenter-sdk"
scope=
"PROVIDED
"
/>
<orderEntry
type=
"
library"
scope=
"PROVIDED"
name=
"Maven: cn.freemud:ordercenter-sdk:1.1.8.RELEASE"
level=
"project
"
/>
<orderEntry
type=
"library"
scope=
"RUNTIME"
name=
"Maven: com.google.code.gson:gson:2.8.0"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: cn.freemud.commons:commons-amqp:2.1.0-release"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"Maven: org.springframework.boot:spring-boot-starter-amqp:1.5.3.RELEASE"
level=
"project"
/>
...
...
shopping-cart-application-service/pom.xml
View file @
be3e1b60
...
...
@@ -293,32 +293,18 @@
<!-- promtheus -->
<dependency>
<groupId>
io.micrometer
</groupId>
<artifactId>
micrometer-registry-prometheus
</artifactId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
<dependency>
<groupId>
io.micrometer
</groupId>
<artifactId>
micrometer-spring-legacy
</artifactId>
<version>
1.1.2
</version>
</dependency>
<!-- promtheus -->
<dependency>
<groupId>
io.prometheus
</groupId>
<artifactId>
simpleclient_spring_boot
</artifactId>
<version>
0.8.0
</version>
</dependency>
<dependency>
<groupId>
io.micrometer
</groupId>
<artifactId>
micrometer-registry-prometheus
</artifactId>
<version>
0.12.0.RELEASE
</version>
</dependency>
<dependency>
<groupId>
io.micrometer
</groupId>
<artifactId>
micrometer-spring-legacy
</artifactId>
<version>
0.8.0.RELEASE
</version>
<version>
1.1.2
</version>
</dependency>
</dependencies>
<build>
...
...
shopping-cart-application-service/src/main/java/cn/freemud/ShoppingCartApplication.java
View file @
be3e1b60
...
...
@@ -15,8 +15,6 @@ package cn.freemud;
import
cn.freemud.core.db.DataSourcesConfig
;
import
com.freemud.application.sdk.api.log.LogThreadLocal
;
import
feign.RequestInterceptor
;
import
io.prometheus.client.spring.boot.EnablePrometheusEndpoint
;
import
io.prometheus.client.spring.boot.EnableSpringBootMetricsCollector
;
import
org.jasypt.encryption.StringEncryptor
;
import
org.jasypt.encryption.pbe.PooledPBEStringEncryptor
;
import
org.jasypt.encryption.pbe.config.SimpleStringPBEConfig
;
...
...
@@ -48,8 +46,6 @@ import tk.mybatis.spring.annotation.MapperScan;
"com.freemud.api.assortment.datamanager.manager"
})
@EnableFeignClients
@EnableAsync
@EnablePrometheusEndpoint
@EnableSpringBootMetricsCollector
public
class
ShoppingCartApplication
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
ShoppingCartApplication
.
class
,
args
);
...
...
shopping-cart-application-service/src/main/resources/application-pre-release.properties
View file @
be3e1b60
...
...
@@ -8,4 +8,4 @@ apollo.meta=http://open-store-apollo-configservice-pro.open-store.svc:8080
env
=
pro
apollo.bootstrap.enabled
=
true
apollo.cluster
=
pre-release
apollo.bootstrap.namespaces
=
micro_progeram_commons,shopping_cart
\ No newline at end of file
apollo.bootstrap.namespaces
=
shopping_cart,micro_progeram_commons
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment