Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-platform-enterprise
Commits
cecb88e1
Commit
cecb88e1
authored
Aug 15, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
67708f8d
a91ad091
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
7 deletions
+43
-7
pom.xml
gic-platform-operation-web/pom.xml
+29
-2
Main.java
...eration-web/src/main/java/com/gic/operation/web/Main.java
+8
-5
application.yml
...platform-operation-web/src/main/resources/application.yml
+2
-0
dubbo-gic-platform-operation-web.xml
...b/src/main/resources/dubbo-gic-platform-operation-web.xml
+4
-0
No files found.
gic-platform-operation-web/pom.xml
View file @
cecb88e1
...
...
@@ -89,7 +89,7 @@
<artifactId>
gic-platform-enterprise-api
</artifactId>
<version>
${gic-enterprise-base-api}
</version>
</dependency>
<dependency>
<
!--<
dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.1.5.RELEASE</version>
...
...
@@ -104,7 +104,7 @@
</exclusion>
</exclusions>
</dependency>
-->
<dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-databind
</artifactId>
...
...
@@ -128,12 +128,39 @@
<version>
3.11
</version>
</dependency>
<dependency>
<groupId>
com.gic.authcenter
</groupId>
<artifactId>
gic-authcenter-security-core
</artifactId>
<version>
${gic-authcenter-security-core}
</version>
<exclusions>
<exclusion>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-logging
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
com.gic
</groupId>
<artifactId>
gic-redis-data
</artifactId>
<version>
${gic-redis-data}
</version>
</dependency>
<dependency>
<groupId>
com.gic.authcenter
</groupId>
<artifactId>
gic-authcenter-api
</artifactId>
<version>
${gic-authcenter-api}
</version>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>
com.gic.authcenter
</groupId>
<artifactId>
gic-authcenter
</artifactId>
<version>
4.0.0-SNAPSHOT
</version>
<type>
pom
</type>
<scope>
import
</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<finalName>
${project.artifactId}
</finalName>
<plugins>
...
...
gic-platform-operation-web/src/main/java/com/gic/operation/web/Main.java
View file @
cecb88e1
package
com
.
gic
.
operation
.
web
;
import
com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig
;
import
com.gic.authcenter.security.core.anno.EnableGicOAuth2Sso
;
import
com.gic.authcenter.security.core.boot.GicSsoSecurityConfigAdapter
;
import
com.gic.dubbo.util.DubboContextUtil
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
...
...
@@ -15,10 +18,8 @@ import org.springframework.context.annotation.ImportResource;
* @author zhurz
*/
@SpringBootApplication
(
scanBasePackages
=
"com.gic"
,
scanBasePackages
=
"com.gic
.operation.*
"
,
exclude
=
{
RedisAutoConfiguration
.
class
,
RedisRepositoriesAutoConfiguration
.
class
,
QuartzAutoConfiguration
.
class
}
)
...
...
@@ -29,9 +30,11 @@ import org.springframework.context.annotation.ImportResource;
"classpath*:spring-interceptor.xml"
,
"classpath*:redis-init.xml"
})
public
class
Main
{
@EnableApolloConfig
({
"application"
,
" BUZ.oauth.4.0 "
})
@EnableGicOAuth2Sso
public
class
Main
extends
GicSsoSecurityConfigAdapter
{
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
){
ConfigurableApplicationContext
context
=
SpringApplication
.
run
(
Main
.
class
,
args
);
DubboContextUtil
.
setApplicationContext
(
context
);
}
...
...
gic-platform-operation-web/src/main/resources/application.yml
View file @
cecb88e1
...
...
@@ -15,3 +15,5 @@ spring:
charset
:
UTF-8
enabled
:
true
force
:
true
app
:
id
:
gic-platform-operation-web
gic-platform-operation-web/src/main/resources/dubbo-gic-platform-operation-web.xml
View file @
cecb88e1
...
...
@@ -45,4 +45,7 @@
<dubbo:reference
interface=
"com.gic.enterprise.service.PlatformBrandApiService"
id=
"platformBrandApiService"
timeout=
"60000"
/>
<!--字典 -->
<dubbo:reference
interface=
"com.gic.enterprise.service.DictApiService"
id=
"dictApiService"
timeout=
"60000"
/>
<dubbo:reference
id=
"gicLogService"
interface=
"com.gic.authcenter.api.service.GicLogService"
/>
<dubbo:reference
id=
"gicAppService"
interface=
"com.gic.authcenter.api.service.GicAppService"
/>
<dubbo:reference
id=
"gicUserService"
interface=
"com.gic.authcenter.api.service.GicUserService"
/>
</beans>
\ 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