Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-community-aliyun
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
hqzhdj
cloud-community-aliyun
Commits
c7b3815d
Commit
c7b3815d
authored
Oct 18, 2024
by
阳浪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置信息
parent
df573d4b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
63 deletions
+34
-63
cloud-community-aliyun-api/pom.xml
+4
-9
cloud-community-aliyun-service/pom.xml
+16
-32
cloud-community-aliyun-service/src/main/java/com/yizhi/application/AliyunApplication.java
+6
-14
cloud-community-aliyun-service/src/main/resources/bootstrap.properties
+1
-1
cloud-community-aliyun-service/src/main/resources/generatorConfig.xml
+2
-2
pom.xml
+5
-5
No files found.
cloud-community-aliyun-api/pom.xml
View file @
c7b3815d
...
@@ -3,25 +3,20 @@
...
@@ -3,25 +3,20 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<groupId>
com.yizhi.aliyun
</groupId>
<artifactId>
cloud-community-aliyun
</artifactId>
<artifactId>
cloud-community-aliyun
</artifactId>
<groupId>
com.yizhi.community
</groupId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.yizhi.aliyun
</groupId>
<artifactId>
cloud-community-aliyun-api
</artifactId>
<artifactId>
cloud-community-aliyun-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
com.yizhi.community
</groupId>
<groupId>
com.yizhi
</groupId>
<artifactId>
febs-common-orm
</artifactId>
<artifactId>
cloud-core
</artifactId>
<version>
${project.version}
</version>
<optional>
true
</optional>
</dependency>
<dependency>
<groupId>
com.yizhi.community
</groupId>
<artifactId>
cloud-code
</artifactId>
<version>
${project.version}
</version>
<version>
${project.version}
</version>
<optional>
true
</optional>
<optional>
true
</optional>
</dependency>
</dependency>
...
...
cloud-community-aliyun-service/pom.xml
View file @
c7b3815d
...
@@ -3,23 +3,27 @@
...
@@ -3,23 +3,27 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<groupId>
com.yizhi.aliyun
</groupId>
<artifactId>
cloud-community-aliyun
</artifactId>
<artifactId>
cloud-community-aliyun
</artifactId>
<groupId>
com.yizhi.community
</groupId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.yizhi.aliyun
</groupId>
<artifactId>
cloud-community-aliyun-service
</artifactId>
<artifactId>
cloud-community-aliyun-service
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
com.yizhi.aliyun
</groupId>
<artifactId>
cloud-community-aliyun-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
com.aliyun.oss
</groupId>
<groupId>
com.aliyun.oss
</groupId>
<artifactId>
aliyun-sdk-oss
</artifactId>
<artifactId>
aliyun-sdk-oss
</artifactId>
<version>
2.8.0
</version>
<version>
2.8.0
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
aliyun.java-vod.upload
</groupId>
<groupId>
aliyun.java-vod.upload
</groupId>
<artifactId>
aliyun-java-vod-upload
</artifactId>
<artifactId>
aliyun-java-vod-upload
</artifactId>
...
@@ -36,56 +40,36 @@
...
@@ -36,56 +40,36 @@
<artifactId>
aliyun-sdk-mns
</artifactId>
<artifactId>
aliyun-sdk-mns
</artifactId>
<version>
1.1.7
</version>
<version>
1.1.7
</version>
</dependency>
</dependency>
<dependency>
<groupId>
com.yizhi.community
</groupId>
<artifactId>
cloud-community-aliyun-api
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
com.yizhi.community
</groupId>
<artifactId>
febs-common-core
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
com.yizhi.community
</groupId>
<artifactId>
cloud-code
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<dependency>
<groupId>
com.aliyun
</groupId>
<groupId>
com.aliyun
</groupId>
<artifactId>
aliyun-java-sdk-core
</artifactId>
<artifactId>
aliyun-java-sdk-core
</artifactId>
<version>
4.5.1
</version>
<version>
3.2.2
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.aliyun
</groupId>
<groupId>
com.aliyun
</groupId>
<artifactId>
aliyun-java-sdk-vod
</artifactId>
<artifactId>
aliyun-java-sdk-vod
</artifactId>
<version>
2.
15.11
</version>
<version>
2.
8.0
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.google.code.gson
</groupId>
<groupId>
com.google.code.gson
</groupId>
<artifactId>
gson
</artifactId>
<artifactId>
gson
</artifactId>
<version>
2.8.
2
</version>
<version>
2.8.
5
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.yizhi
.community
</groupId>
<groupId>
com.yizhi
</groupId>
<artifactId>
cloud-
community-
live-api
</artifactId>
<artifactId>
cloud-live-api
</artifactId>
<version>
${project.version}
</version>
<version>
1.0-SNAPSHOT
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.yizhi
.community
</groupId>
<groupId>
com.yizhi
</groupId>
<artifactId>
cloud-
community-video
-api
</artifactId>
<artifactId>
cloud-
assignment
-api
</artifactId>
<version>
${project.version}
</version>
<version>
1.0-SNAPSHOT
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
<plugins>
<plugins>
<plugin>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-deploy-plugin
</artifactId>
<artifactId>
maven-deploy-plugin
</artifactId>
<configuration>
<configuration>
...
...
cloud-community-aliyun-service/src/main/java/com/yizhi/application/AliyunApplication.java
View file @
c7b3815d
package
com
.
yizhi
.
application
;
package
com
.
yizhi
.
application
;
import
org.mybatis.spring.annotation.MapperScan
;
import
org.springframework.amqp.core.Queue
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration
;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
import
org.springframework.cloud.openfeign.EnableFeignClients
;
import
org.springframework.cloud.openfeign.EnableFeignClients
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.ComponentScan
;
import
org.springframework.context.annotation.ComponentScan
;
import
com.yizhi.core.application.mq.EventQueue
;
import
cc.mrbird.febs.common.security.starter.annotation.EnableFebsCloudResourceServer
;
/**
/**
* @author scotthu
* @author scotthu
* @date 2018年2月28日
* @date 2018年2月28日
*/
*/
@SpringBootApplication
@SpringBootApplication
(
exclude
=
{
RabbitAutoConfiguration
.
class
})
@EnableDiscoveryClient
@EnableDiscoveryClient
@EnableFeignClients
(
"com.yizhi"
)
@EnableFeignClients
(
"com.yizhi"
)
@ComponentScan
(
"com.yizhi"
)
@ComponentScan
(
"com.yizhi"
)
@MapperScan
(
"com.yizhi.application.mapper"
)
@EnableFebsCloudResourceServer
public
class
AliyunApplication
{
public
class
AliyunApplication
{
public
static
void
main
(
java
.
lang
.
String
[]
args
)
{
public
static
void
main
(
java
.
lang
.
String
[]
args
)
{
SpringApplication
.
run
(
AliyunApplication
.
class
,
args
);
SpringApplication
.
run
(
AliyunApplication
.
class
,
args
);
}
}
@Bean
/*
@Bean
public Queue createBizMessageQueue() {
public Queue createBizMessageQueue() {
return
new
Queue
(
EventQueue
.
BIZ_MESSAGE
,
true
,
false
,
false
);
return new Queue(EventQueue.
POINT
, true, false, false);
}
}
*/
}
}
cloud-community-aliyun-service/src/main/resources/bootstrap.properties
View file @
c7b3815d
server.port
=
31234
server.port
=
31234
spring.application.name
=
cloud-community-aliyun
spring.application.name
=
cloud-community-aliyun
spring.profiles.active
=
dev
spring.profiles.active
=
prod
nacos.namespace
=
community
nacos.namespace
=
community
nacos.url
=
192.168.1.22:3333,192.168.1.22:4444,192.168.1.22:5555
nacos.url
=
192.168.1.22:3333,192.168.1.22:4444,192.168.1.22:5555
## nacos
## nacos
...
...
cloud-community-aliyun-service/src/main/resources/generatorConfig.xml
View file @
c7b3815d
...
@@ -15,11 +15,11 @@
...
@@ -15,11 +15,11 @@
<commentGenerator>
<commentGenerator>
<property
name=
"suppressAllComments"
value=
"true"
/>
<property
name=
"suppressAllComments"
value=
"true"
/>
</commentGenerator>
</commentGenerator>
<jdbcConnection
driverClass=
"com.mysql.jdbc.Driver"
<jdbcConnection
driverClass=
"com.mysql.
cj.
jdbc.Driver"
connectionURL=
"jdbc:mysql://220.248.15.46:26532/cloud_aliyun"
connectionURL=
"jdbc:mysql://220.248.15.46:26532/cloud_aliyun"
userId=
"devDB"
password=
"devDB@123"
/>
userId=
"devDB"
password=
"devDB@123"
/>
<!-- <jdbcConnection driverClass="com.mysql.jdbc.Driver"-->
<!-- <jdbcConnection driverClass="com.mysql.
cj.
jdbc.Driver"-->
<!-- connectionURL="jdbc:mysql://180.169.149.5:11306/cloud_aliyun"-->
<!-- connectionURL="jdbc:mysql://180.169.149.5:11306/cloud_aliyun"-->
<!-- userId="root" password="fulan123"/>-->
<!-- userId="root" password="fulan123"/>-->
...
...
pom.xml
View file @
c7b3815d
...
@@ -5,12 +5,13 @@
...
@@ -5,12 +5,13 @@
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<parent>
<groupId>
com.yizhi
.community
</groupId>
<groupId>
com.yizhi
</groupId>
<artifactId>
cloud
-community-parent
</artifactId>
<artifactId>
cloud
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
<relativePath/>
<relativePath/>
</parent>
</parent>
<groupId>
com.yizhi.aliyun
</groupId>
<artifactId>
cloud-community-aliyun
</artifactId>
<artifactId>
cloud-community-aliyun
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
1.0-SNAPSHOT
</version>
<modules>
<modules>
...
@@ -21,14 +22,13 @@
...
@@ -21,14 +22,13 @@
<repositories>
<repositories>
<repository>
<repository>
<id>
wmy4.0
</id>
<id>
hqzhdj-data-group
</id>
<url>
http://
mvn.km365.pw/nexus/content/groups/wmy4.0
-group/
</url>
<url>
http://
192.168.0.15:8081/repository/hqzhdj-data
-group/
</url>
<releases>
<releases>
<enabled>
true
</enabled>
<enabled>
true
</enabled>
</releases>
</releases>
<snapshots>
<snapshots>
<enabled>
true
</enabled>
<enabled>
true
</enabled>
<updatePolicy>
always
</updatePolicy>
</snapshots>
</snapshots>
</repository>
</repository>
</repositories>
</repositories>
...
...
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