Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cneeds-server
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
zhangzr
cneeds-server
Commits
cb977d7d
Commit
cb977d7d
authored
Mar 06, 2020
by
zzrdark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.服务发现的Ip
2.配置文件
parent
f1fdc4b3
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
228 additions
and
153 deletions
+228
-153
workspace.xml
.idea/workspace.xml
+115
-75
pom.xml
cneeds-common-data/pom.xml
+1
-0
pom.xml
cneeds-common-pojo/pom.xml
+1
-1
pom.xml
cneeds-common-utils/pom.xml
+1
-1
Dockerfile
cneeds-server-authorization/Dockerfile
+2
-2
cneeds-server-authorization.iml
cneeds-server-authorization/cneeds-server-authorization.iml
+0
-3
pom.xml
cneeds-server-authorization/pom.xml
+1
-1
application-dev.yml
...rver-authorization/src/main/resources/application-dev.yml
+8
-0
application.properties
...r-authorization/src/main/resources/application.properties
+0
-9
application.yml
...s-server-authorization/src/main/resources/application.yml
+12
-0
Dockerfile
cneeds-server-datashow/Dockerfile
+2
-1
pom.xml
cneeds-server-datashow/pom.xml
+1
-0
FeignInterceptor.java
...om/mx/cneeds/server/datashow/config/FeignInterceptor.java
+0
-1
OAuth2ResourceServer.java
...x/cneeds/server/datashow/config/OAuth2ResourceServer.java
+1
-0
WebConfig.java
.../java/com/mx/cneeds/server/datashow/config/WebConfig.java
+1
-1
UserController.java
...om/mx/cneeds/server/datashow/web/user/UserController.java
+2
-3
application-dev.yml
...ds-server-datashow/src/main/resources/application-dev.yml
+2
-0
Dockerfile
cneeds-server-eureka/Dockerfile
+2
-2
pom.xml
cneeds-server-eureka/pom.xml
+1
-1
application-dev.yml
cneeds-server-eureka/src/main/resources/application-dev.yml
+14
-0
application.yml
cneeds-server-eureka/src/main/resources/application.yml
+2
-0
Dockerfile
cneeds-server-user/Dockerfile
+3
-2
applicaiton-dev.yml
cneeds-server-user/src/main/resources/applicaiton-dev.yml
+54
-0
application.yml
cneeds-server-user/src/main/resources/application.yml
+2
-50
No files found.
.idea/workspace.xml
View file @
cb977d7d
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"58efcb75-622d-40c1-b8e0-10cd2fb456b4"
name=
"Default Changelist"
comment=
""
>
<change
afterPath=
"$PROJECT_DIR$/cneeds-common-pojo/src/main/java/com/mx/cneeds/common/vo/DeviceChannelVo.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/cneeds-common-pojo/src/main/java/com/mx/cneeds/common/vo/UserInfoVo.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/config/WebConfig.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/filter/CrossFilter.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/web/device/DeviceController.java"
afterDir=
"false"
/>
<list
default=
"true"
id=
"58efcb75-622d-40c1-b8e0-10cd2fb456b4"
name=
"Default Changelist"
comment=
"1.修改项目结构 2.登陆 3.等等"
>
<change
afterPath=
"$PROJECT_DIR$/cneeds-server-authorization/src/main/resources/application-dev.yml"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/cneeds-server-authorization/src/main/resources/application.yml"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/cneeds-server-eureka/src/main/resources/application-dev.yml"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/cneeds-server-user/src/main/resources/applicaiton-dev.yml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-common-pojo/src/main/java/com/mx/cneeds/common/dto/JwtToken.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-common-pojo/src/main/java/com/mx/cneeds/common/dto/JwtToken.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-common-data/pom.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-common-data/pom.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-common-pojo/pom.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-common-pojo/pom.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-common-utils/pom.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-common-utils/pom.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-common-utils/src/main/java/com/mx/cneeds/common/result/R.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-common-pojo/src/main/java/com/mx/cneeds/common/result/R.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/config/FeignConfig.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/config/FeignInterceptor.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-authorization/Dockerfile"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-server-authorization/Dockerfile"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-authorization/cneeds-server-authorization.iml"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-authorization/pom.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-server-authorization/pom.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-authorization/src/main/resources/application.properties"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-datashow/Dockerfile"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-server-datashow/Dockerfile"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-datashow/pom.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-server-datashow/pom.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/config/FeignInterceptor.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/config/FeignInterceptor.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/config/OAuth2ResourceServer.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/config/OAuth2ResourceServer.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/config/WebConfig.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/config/WebConfig.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/web/user/UserController.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/web/user/UserController.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-datashow/src/main/resources/application-dev.yml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-server-datashow/src/main/resources/application-dev.yml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-eureka/Dockerfile"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-server-eureka/Dockerfile"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-eureka/pom.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-server-eureka/pom.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-eureka/src/main/resources/application.yml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-server-eureka/src/main/resources/application.yml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-user/Dockerfile"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-server-user/Dockerfile"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/cneeds-server-user/src/main/resources/application.yml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/cneeds-server-user/src/main/resources/application.yml"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -61,8 +73,8 @@
<component
name=
"MavenImportPreferences"
>
<option
name=
"generalSettings"
>
<MavenGeneralSettings>
<option
name=
"mavenHome"
value=
"
D:/ENV/apache-maven-3.6.1
"
/>
<option
name=
"userSettingsFile"
value=
"
D:\ENV\apache-maven-3.6.1\conf\
settings.xml"
/>
<option
name=
"mavenHome"
value=
"
$USER_HOME$/environment/apache-maven-3.6.0
"
/>
<option
name=
"userSettingsFile"
value=
"
$USER_HOME$/environment/apache-maven-3.6.0/conf/
settings.xml"
/>
</MavenGeneralSettings>
</option>
</component>
...
...
@@ -83,6 +95,7 @@
<property
name=
"RequestMappingsPanelOrder1"
value=
"1"
/>
<property
name=
"RequestMappingsPanelWidth0"
value=
"75"
/>
<property
name=
"RequestMappingsPanelWidth1"
value=
"75"
/>
<property
name=
"RunOnceActivity.ShowReadmeOnStart"
value=
"true"
/>
<property
name=
"SHARE_PROJECT_CONFIGURATION_FILES"
value=
"true"
/>
<property
name=
"WebServerToolWindowFactoryState"
value=
"false"
/>
<property
name=
"aspect.path.notification.shown"
value=
"true"
/>
...
...
@@ -92,15 +105,16 @@
<property
name=
"project.structure.last.edited"
value=
"Modules"
/>
<property
name=
"project.structure.proportion"
value=
"0.15"
/>
<property
name=
"project.structure.side.proportion"
value=
"0.2916053"
/>
<property
name=
"settings.editor.selected.configurable"
value=
"
preferences.pluginManager
"
/>
<property
name=
"settings.editor.selected.configurable"
value=
"
MavenSettings
"
/>
<property
name=
"settings.editor.splitter.proportion"
value=
"0.20898877"
/>
</component>
<component
name=
"RecentsManager"
>
<key
name=
"MoveFile.RECENT_KEYS"
>
<recent
name=
"E:\mx_project\cneeds-server\cneeds-server-datashow\src\main\java\com\mx\cneeds"
/>
<recent
name=
"E:\mx_project\cneeds-server\cneeds-server-datashow\src\main\resources"
/>
<recent
name=
"E:\mx_project\cneeds-server"
/>
<recent
name=
"E:\mx_project\cneeds-server\src"
/>
<key
name=
"CopyFile.RECENT_KEYS"
>
<recent
name=
"E:\mx_project\cneeds-server\cneeds-server-datashow\src\main\java\com\mx\cneeds\server\datashow"
/>
<recent
name=
"E:\mx_project\cneeds-server\cneeds-server-user\src\main\java\com\mx\cneeds\server\user\service"
/>
<recent
name=
"E:\mx_project\cneeds-server\cneeds-server-device\src\main\java\com\mx\cneeds\server\device\service"
/>
<recent
name=
"E:\mx_project\cneeds-server\cneeds-common-pojo\src\main\java"
/>
<recent
name=
"E:\mx_project\cneeds-server\cneeds-server-datashow"
/>
</key>
<key
name=
"CopyClassDialog.RECENTS_KEY"
>
<recent
name=
"com.mx.cneeds.server.datashow.filter"
/>
...
...
@@ -109,15 +123,34 @@
<recent
name=
"com.mx.cneeds.common"
/>
<recent
name=
"com.mx.cneeds.common.result"
/>
</key>
<key
name=
"CopyFile.RECENT_KEYS"
>
<recent
name=
"E:\mx_project\cneeds-server\cneeds-server-datashow\src\main\java\com\mx\cneeds\server\datashow"
/>
<recent
name=
"E:\mx_project\cneeds-server\cneeds-server-user\src\main\java\com\mx\cneeds\server\user\service"
/>
<recent
name=
"E:\mx_project\cneeds-server\cneeds-server-device\src\main\java\com\mx\cneeds\server\device\service"
/>
<recent
name=
"E:\mx_project\cneeds-server\cneeds-common-pojo\src\main\java"
/>
<recent
name=
"E:\mx_project\cneeds-server\cneeds-server-datashow"
/>
<key
name=
"MoveFile.RECENT_KEYS"
>
<recent
name=
"E:\mx_project\cneeds-server\cneeds-server-datashow\src\main\java\com\mx\cneeds"
/>
<recent
name=
"E:\mx_project\cneeds-server\cneeds-server-datashow\src\main\resources"
/>
<recent
name=
"E:\mx_project\cneeds-server"
/>
<recent
name=
"E:\mx_project\cneeds-server\src"
/>
</key>
</component>
<component
name=
"RunManager"
selected=
"Spring Boot.DatashowApplication"
>
<configuration
name=
"EurekaServerApplication"
type=
"Application"
factoryName=
"Application"
temporary=
"true"
nameIsGenerated=
"true"
>
<option
name=
"MAIN_CLASS_NAME"
value=
"com.mx.cneeds.server.eureka.EurekaServerApplication"
/>
<module
name=
"cneeds-server-eureka"
/>
<method
v=
"2"
>
<option
name=
"Make"
enabled=
"true"
/>
</method>
</configuration>
<configuration
name=
"RequestParamterConverter"
type=
"Application"
factoryName=
"Application"
temporary=
"true"
nameIsGenerated=
"true"
>
<option
name=
"MAIN_CLASS_NAME"
value=
"com.mx.cneeds.common.converter.RequestParamterConverter"
/>
<module
name=
"cneeds-common-utils"
/>
<extension
name=
"coverage"
>
<pattern>
<option
name=
"PATTERN"
value=
"com.mx.cneeds.common.converter.*"
/>
<option
name=
"ENABLED"
value=
"true"
/>
</pattern>
</extension>
<method
v=
"2"
>
<option
name=
"Make"
enabled=
"true"
/>
</method>
</configuration>
<configuration
default=
"true"
type=
"JetRunConfigurationType"
factoryName=
"Kotlin"
>
<module
name=
"cneeds-server-advice-control"
/>
<option
name=
"VM_PARAMETERS"
/>
...
...
@@ -165,26 +198,6 @@
<option
name=
"Make"
enabled=
"true"
/>
</method>
</configuration>
<configuration
name=
"EurekaServerApplication"
type=
"Application"
factoryName=
"Application"
temporary=
"true"
nameIsGenerated=
"true"
>
<option
name=
"MAIN_CLASS_NAME"
value=
"com.mx.cneeds.server.eureka.EurekaServerApplication"
/>
<module
name=
"cneeds-server-eureka"
/>
<method
v=
"2"
>
<option
name=
"Make"
enabled=
"true"
/>
</method>
</configuration>
<configuration
name=
"RequestParamterConverter"
type=
"Application"
factoryName=
"Application"
temporary=
"true"
nameIsGenerated=
"true"
>
<option
name=
"MAIN_CLASS_NAME"
value=
"com.mx.cneeds.common.converter.RequestParamterConverter"
/>
<module
name=
"cneeds-common-utils"
/>
<extension
name=
"coverage"
>
<pattern>
<option
name=
"PATTERN"
value=
"com.mx.cneeds.common.converter.*"
/>
<option
name=
"ENABLED"
value=
"true"
/>
</pattern>
</extension>
<method
v=
"2"
>
<option
name=
"Make"
enabled=
"true"
/>
</method>
</configuration>
<configuration
name=
"AuthorizaitonApplication"
type=
"SpringBootApplicationConfigurationType"
factoryName=
"Spring Boot"
>
<module
name=
"cneeds-server-authorization"
/>
<option
name=
"SPRING_BOOT_MAIN_CLASS"
value=
"com.mx.cneeds.server.anthorization.AuthorizaitonApplication"
/>
...
...
@@ -265,6 +278,9 @@
<workItem
from=
"1583320312435"
duration=
"9970000"
/>
<workItem
from=
"1583395022330"
duration=
"616000"
/>
<workItem
from=
"1583395719361"
duration=
"15264000"
/>
<workItem
from=
"1583477272057"
duration=
"183000"
/>
<workItem
from=
"1583477731081"
duration=
"6700000"
/>
<workItem
from=
"1583485000764"
duration=
"3436000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"1.修改不需要web服务 2.增加一个logupload"
>
<created>
1578451117064
</created>
...
...
@@ -338,10 +354,11 @@
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"1.修改项目结构 2.登陆 3.等等"
/>
</component>
<component
name=
"WindowStateProjectService"
>
<state
x=
"
552"
y=
"178"
key=
"#Project_Structure"
timestamp=
"1583316360973
"
>
<screen
x=
"0"
y=
"
0"
width=
"1920"
height=
"1040
"
/>
<state
x=
"
483"
y=
"199"
key=
"#Project_Structure"
timestamp=
"1583483296021
"
>
<screen
x=
"0"
y=
"
23"
width=
"1680"
height=
"1027
"
/>
</state>
<state
x=
"552"
y=
"178"
key=
"#Project_Structure/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583316360973"
/>
<state
x=
"483"
y=
"199"
key=
"#Project_Structure/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583483296021"
/>
<state
x=
"765"
y=
"229"
key=
"#com.intellij.ide.util.MemberChooser"
timestamp=
"1583390885636"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
</state>
...
...
@@ -358,58 +375,75 @@
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
</state>
<state
x=
"690"
y=
"266"
key=
"#com.intellij.refactoring.safeDelete.UnsafeUsagesDialog/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583224455231"
/>
<state
x=
"4
63"
y=
"112"
key=
"CommitChangelistDialog2"
timestamp=
"1583325330372
"
>
<screen
x=
"0"
y=
"
0"
width=
"1920"
height=
"1040
"
/>
<state
x=
"4
05"
y=
"134"
key=
"CommitChangelistDialog2"
timestamp=
"1583483819735
"
>
<screen
x=
"0"
y=
"
23"
width=
"1680"
height=
"1027
"
/>
</state>
<state
x=
"463"
y=
"112"
key=
"CommitChangelistDialog2/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583325330372"
/>
<state
width=
"1877"
height=
"386"
key=
"GridCell.Tab.0.bottom"
timestamp=
"1583416459517"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
<state
x=
"405"
y=
"134"
key=
"CommitChangelistDialog2/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583483819735"
/>
<state
x=
"294"
y=
"139"
key=
"DiffContextDialog"
timestamp=
"1583483818288"
>
<screen
x=
"0"
y=
"23"
width=
"1680"
height=
"1027"
/>
</state>
<state
x=
"294"
y=
"139"
key=
"DiffContextDialog/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583483818288"
/>
<state
width=
"1638"
height=
"139"
key=
"GridCell.Tab.0.bottom"
timestamp=
"1583488675893"
>
<screen
x=
"0"
y=
"23"
width=
"1680"
height=
"1027"
/>
</state>
<state
width=
"1877"
height=
"386"
key=
"GridCell.Tab.0.bottom/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583416459517"
/>
<state
width=
"1877"
height=
"386"
key=
"GridCell.Tab.0.center"
timestamp=
"1583416459517"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
<state
width=
"1638"
height=
"139"
key=
"GridCell.Tab.0.bottom/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583488675893"
/>
<state
width=
"1638"
height=
"139"
key=
"GridCell.Tab.0.center"
timestamp=
"1583488675893"
>
<screen
x=
"0"
y=
"23"
width=
"1680"
height=
"1027"
/>
</state>
<state
width=
"1877"
height=
"386"
key=
"GridCell.Tab.0.center/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583416459517"
/>
<state
width=
"1877"
height=
"386"
key=
"GridCell.Tab.0.left"
timestamp=
"1583416459517"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
<state
width=
"1638"
height=
"139"
key=
"GridCell.Tab.0.center/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583488675893"
/>
<state
width=
"1638"
height=
"139"
key=
"GridCell.Tab.0.left"
timestamp=
"1583488675892"
>
<screen
x=
"0"
y=
"23"
width=
"1680"
height=
"1027"
/>
</state>
<state
width=
"1877"
height=
"386"
key=
"GridCell.Tab.0.left/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583416459517"
/>
<state
width=
"1877"
height=
"386"
key=
"GridCell.Tab.0.right"
timestamp=
"1583416459517"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
<state
width=
"1638"
height=
"139"
key=
"GridCell.Tab.0.left/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583488675892"
/>
<state
width=
"1638"
height=
"139"
key=
"GridCell.Tab.0.right"
timestamp=
"1583488675893"
>
<screen
x=
"0"
y=
"23"
width=
"1680"
height=
"1027"
/>
</state>
<state
width=
"1877"
height=
"386"
key=
"GridCell.Tab.0.right/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583416459517"
/>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.1.bottom"
timestamp=
"1583407423488"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
<state
width=
"1638"
height=
"139"
key=
"GridCell.Tab.0.right/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583488675893"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.1.bottom"
timestamp=
"1583488634806"
>
<screen
x=
"0"
y=
"23"
width=
"1680"
height=
"1027"
/>
</state>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.1.bottom/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583407423488"
/>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.1.center"
timestamp=
"1583407423488"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.1.bottom/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583488634806"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.1.center"
timestamp=
"1583488634806"
>
<screen
x=
"0"
y=
"23"
width=
"1680"
height=
"1027"
/>
</state>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.1.center/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583407423488"
/>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.1.left"
timestamp=
"1583407423488"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.1.center/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583488634806"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.1.left"
timestamp=
"1583488634806"
>
<screen
x=
"0"
y=
"23"
width=
"1680"
height=
"1027"
/>
</state>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.1.left/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583407423488"
/>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.1.right"
timestamp=
"1583407423488"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.1.left/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583488634806"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.1.right"
timestamp=
"1583488634806"
>
<screen
x=
"0"
y=
"23"
width=
"1680"
height=
"1027"
/>
</state>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.1.right/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583407423488"
/>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.2.bottom"
timestamp=
"1583407423488"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.1.right/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583488634806"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.2.bottom"
timestamp=
"1583488634807"
>
<screen
x=
"0"
y=
"23"
width=
"1680"
height=
"1027"
/>
</state>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.2.bottom/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583407423488"
/>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.2.center"
timestamp=
"1583407423488"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.2.bottom/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583488634807"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.2.center"
timestamp=
"1583488634806"
>
<screen
x=
"0"
y=
"23"
width=
"1680"
height=
"1027"
/>
</state>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.2.center/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583407423488"
/>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.2.left"
timestamp=
"1583407423488"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.2.center/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583488634806"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.2.left"
timestamp=
"1583488634806"
>
<screen
x=
"0"
y=
"23"
width=
"1680"
height=
"1027"
/>
</state>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.2.left/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583407423488"
/>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.2.right"
timestamp=
"1583407423488"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.2.left/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583488634806"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.2.right"
timestamp=
"1583488634807"
>
<screen
x=
"0"
y=
"23"
width=
"1680"
height=
"1027"
/>
</state>
<state
width=
"1877"
height=
"338"
key=
"GridCell.Tab.2.right/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583407423488"
/>
<state
width=
"1638"
height=
"345"
key=
"GridCell.Tab.2.right/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583488634807"
/>
<state
x=
"490"
y=
"175"
key=
"Maven.ArtifactSearchDialog"
timestamp=
"1583320014926"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
</state>
...
...
@@ -418,22 +452,28 @@
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
</state>
<state
x=
"600"
y=
"217"
key=
"NewModule_or_Project.wizard/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1582699806601"
/>
<state
x=
"
438"
y=
"166"
width=
"1352"
height=
"708"
key=
"SettingsEditor"
timestamp=
"1583395654566
"
>
<screen
x=
"0"
y=
"
0"
width=
"1920"
height=
"1040
"
/>
<state
x=
"
383"
y=
"187"
width=
"1183"
height=
"722"
key=
"SettingsEditor"
timestamp=
"1583479490341
"
>
<screen
x=
"0"
y=
"
23"
width=
"1680"
height=
"1027
"
/>
</state>
<state
x=
"438"
y=
"166"
width=
"1352"
height=
"708"
key=
"SettingsEditor/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583395654566"
/>
<state
x=
"383"
y=
"187"
width=
"1183"
height=
"722"
key=
"SettingsEditor/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583479490341"
/>
<state
x=
"552"
y=
"253"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"1583325340355"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
</state>
<state
x=
"552"
y=
"253"
key=
"Vcs.Push.Dialog.v2/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583325340355"
/>
<state
x=
"449"
y=
"262"
width=
"962"
height=
"472"
key=
"find.popup"
timestamp=
"1583485196950"
>
<screen
x=
"0"
y=
"23"
width=
"1680"
height=
"1027"
/>
</state>
<state
x=
"449"
y=
"262"
width=
"962"
height=
"472"
key=
"find.popup/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583485196950"
/>
<state
x=
"511"
y=
"210"
key=
"new project wizard"
timestamp=
"1583318693876"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
</state>
<state
x=
"511"
y=
"210"
key=
"new project wizard/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583318693876"
/>
<state
x=
"
616"
y=
"173"
width=
"672"
height=
"676"
key=
"search.everywhere.popup"
timestamp=
"1583314608796
"
>
<screen
x=
"0"
y=
"
0"
width=
"1920"
height=
"1040
"
/>
<state
x=
"
539"
y=
"194"
width=
"670"
height=
"668"
key=
"search.everywhere.popup"
timestamp=
"1583485574280
"
>
<screen
x=
"0"
y=
"
23"
width=
"1680"
height=
"1027
"
/>
</state>
<state
x=
"616"
y=
"173"
width=
"672"
height=
"676"
key=
"search.everywhere.popup/0.0.1920.1040@0.0.1920.1040"
timestamp=
"1583314608796"
/>
<state
x=
"539"
y=
"194"
width=
"670"
height=
"668"
key=
"search.everywhere.popup/0.23.1680.1027@0.23.1680.1027"
timestamp=
"1583485574280"
/>
</component>
<component
name=
"XDebuggerManager"
>
<watches-manager>
...
...
cneeds-common-data/pom.xml
View file @
cb977d7d
...
...
@@ -9,6 +9,7 @@
</parent>
<modelVersion>
4.0.0
</modelVersion>
<version>
1.0-SNAPSHOT
</version>
<artifactId>
cneeds-common-data
</artifactId>
<packaging>
jar
</packaging>
<properties>
...
...
cneeds-common-pojo/pom.xml
View file @
cb977d7d
...
...
@@ -11,7 +11,7 @@
<packaging>
jar
</packaging>
<version>
1.0-SNAPSHOT
</version>
<artifactId>
cneeds-common-pojo
</artifactId>
...
...
cneeds-common-utils/pom.xml
View file @
cb977d7d
...
...
@@ -8,7 +8,7 @@
<version>
1.0-SNAPSHOT
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<version>
1.0-SNAPSHOT
</version>
<packaging>
jar
</packaging>
<artifactId>
cneeds-common-utils
</artifactId>
...
...
cneeds-server-authorization/Dockerfile
View file @
cb977d7d
FROM
hub.c.163.com/library/java:8-alpine
#
FROM hub.c.163.com/library/java:8-alpine
FROM
openjdk:8
MAINTAINER
XXX XXX@imooc.com
ADD
target/*.jar app.jar
...
...
cneeds-server-authorization/cneeds-server-authorization.iml
deleted
100644 → 0
View file @
f1fdc4b3
<?xml version="1.0" encoding="UTF-8"?>
<module
type=
"JAVA_MODULE"
version=
"4"
/>
\ No newline at end of file
cneeds-server-authorization/pom.xml
View file @
cb977d7d
...
...
@@ -10,7 +10,7 @@
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
cneeds-server-authorization
</artifactId>
<packaging>
jar
</packaging>
<version>
1.0-SNAPSHOT
</version>
<dependencies>
<!-- eureka-client -->
...
...
cneeds-server-authorization/src/main/resources/application-dev.yml
0 → 100644
View file @
cb977d7d
eureka
:
client
:
service-url
:
defaultZone
:
http://192.168.2.244:8761/eureka/
instance
:
prefer-ip-address
:
true
ip-address
:
192.168.2.244
\ No newline at end of file
cneeds-server-authorization/src/main/resources/application.properties
deleted
100644 → 0
View file @
f1fdc4b3
server.port
=
8861
server.servlet.context-path
=
/
spring.application.name
=
cneeds-server-authorization
eureka.client.service-url.defaultZone
=
http://192.168.2.244:8761/eureka/
eureka.instance.prefer-ip-address
=
true
\ No newline at end of file
cneeds-server-authorization/src/main/resources/application.yml
0 → 100644
View file @
cb977d7d
spring
:
profiles
:
active
:
dev
application
:
name
:
cneeds-server-authorization
server
:
port
:
8861
servlet
:
context-path
:
/
cneeds-server-datashow/Dockerfile
View file @
cb977d7d
FROM
hub.c.163.com/library/java:8-alpine
#FROM hub.c.163.com/library/java:8-alpine
FROM
openjdk:8
MAINTAINER
XXX XXX@imooc.com
...
...
cneeds-server-datashow/pom.xml
View file @
cb977d7d
...
...
@@ -11,6 +11,7 @@
<artifactId>
cneeds-server-datashow
</artifactId>
<packaging>
jar
</packaging>
<version>
1.0-SNAPSHOT
</version>
<dependencies>
...
...
cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/config/FeignInterceptor.java
View file @
cb977d7d
...
...
@@ -34,7 +34,6 @@ public class FeignInterceptor implements RequestInterceptor {
if
(
request
.
getRequestURL
().
toString
().
contains
(
"/user/login"
)){
String
authString
=
RequestParamterConverter
.
authorizationConverter
(
"clientapp"
,
"112233"
);
requestTemplate
.
header
(
"Authorization"
,
authString
);
System
.
out
.
println
(
authString
);
}
}
}
cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/config/OAuth2ResourceServer.java
View file @
cb977d7d
...
...
@@ -20,6 +20,7 @@ public class OAuth2ResourceServer extends ResourceServerConfigurerAdapter {
http
.
authorizeRequests
()
.
antMatchers
(
"/user/login"
,
"/device/getChannel_nums"
,
// "/user/info",
"/statics/**"
)
.
permitAll
()
// 开启认证
...
...
cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/config/WebConfig.java
View file @
cb977d7d
...
...
@@ -30,7 +30,7 @@ public class WebConfig implements WebMvcConfigurer {
public
void
addCorsMappings
(
CorsRegistry
registry
)
{
registry
.
addMapping
(
"/**"
)
.
allowedOrigins
(
"*"
)
.
allowedMethods
(
"GET"
,
"HEAD"
,
"POST"
,
"PUT"
,
"DELETE"
,
"OPTIONS"
)
.
allowedMethods
(
"GET"
,
"HEAD"
,
"POST"
,
"PUT"
,
"DELETE"
,
"OPTIONS"
,
"AUTHORIZATION"
)
.
allowCredentials
(
true
)
.
maxAge
(
3600
)
.
allowedHeaders
(
"*"
);
...
...
cneeds-server-datashow/src/main/java/com/mx/cneeds/server/datashow/web/user/UserController.java
View file @
cb977d7d
...
...
@@ -42,15 +42,14 @@ public class UserController {
}
@RequestMapping
(
"/info"
)
public
UserInfoVo
getInfo
(){
public
R
getInfo
(){
UserInfoVo
userInfoVo
=
new
UserInfoVo
();
log
.
info
(
"getInfo"
);
userInfoVo
.
setName
(
"admin"
);
userInfoVo
.
setIntroduction
(
"manager"
);
userInfoVo
.
setRoles
(
"admin"
);
userInfoVo
.
setAvatar
(
"avatar"
);
return
userInfoVo
;
return
new
R
().
put
(
"data"
,
userInfoVo
)
;
}
}
cneeds-server-datashow/src/main/resources/application-dev.yml
View file @
cb977d7d
...
...
@@ -4,3 +4,5 @@ eureka:
defaultZone
:
http://192.168.2.244:8761/eureka/
instance
:
prefer-ip-address
:
true
# ip-address: 192.168.2.244
cneeds-server-eureka/Dockerfile
View file @
cb977d7d
FROM
hub.c.163.com/library/java:8-alpine
#
FROM hub.c.163.com/library/java:8-alpine
FROM
openjdk:8
MAINTAINER
XXX XXX@imooc.com
ADD
target/*.jar app.jar
...
...
cneeds-server-eureka/pom.xml
View file @
cb977d7d
...
...
@@ -11,7 +11,7 @@
<artifactId>
cneeds-server-eureka
</artifactId>
<packaging>
jar
</packaging>
<version>
1.0-SNAPSHOT
</version>
<dependencies>
...
...
cneeds-server-eureka/src/main/resources/application-dev.yml
0 → 100644
View file @
cb977d7d
eureka
:
client
:
service-url
:
#defaultZone: http://eureka2:8762/eureka/
defaultZone
:
http://localhost:8761/eureka/
## 单机的时候开启
register-with-eureka
:
false
fetch-registry
:
'
false'
# server:
# enable-self-preservation: false
instance
:
prefer-ip-address
:
true
ip-address
:
192.168.2.244
\ No newline at end of file
cneeds-server-eureka/src/main/resources/application.yml
View file @
cb977d7d
...
...
@@ -12,6 +12,8 @@ eureka:
prefer-ip-address
:
true
spring
:
profiles
:
active
:
dev
application
:
name
:
cneeds-server-eureka
server
:
...
...
cneeds-server-user/Dockerfile
View file @
cb977d7d
FROM
hub.c.163.com/library/java:8-alpine
#FROM hub.c.163.com/library/java:8-alpine
#FROM hub.c.163.com/library/java:8-jre
FROM
openjdk:8
MAINTAINER
XXX XXX@imooc.com
ADD
target/*.jar app.jar
...
...
cneeds-server-user/src/main/resources/applicaiton-dev.yml
0 → 100644
View file @
cb977d7d
spring
:
datasource
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://192.168.2.244:3306/cneeds_server?useUnicode=true&characterEncoding=UTF-8&useSSL=false
password
:
cneeds!QAZ1qaz
username
:
root
# hikari:
# driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://192.168.2.244:3306/cneeds_server?useUnicode=true&characterEncoding=UTF-8&useSSL=false
# username: root
# password: cneeds!QAZ1qaz
# datasource:
# type: com.alibaba.druid.pool.DruidDataSource
# druid:
# driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://192.168.2.244:3306/cneeds_server?useUnicode=true&characterEncoding=UTF-8&useSSL=false
# username: root
# password: cneeds!QAZ1qaz
# initial-size: 10
# max-active: 100
# min-idle: 10
# max-wait: 60000
# pool-prepared-statements: true
# max-pool-prepared-statement-per-connection-size: 20
# time-between-eviction-runs-millis: 60000
# min-evictable-idle-time-millis: 300000
# #Oracle需要打开注释
# #validation-query: SELECT 1 FROM DUAL
# test-while-idle: true
# test-on-borrow: false
# test-on-return: false
# stat-view-servlet:
# enabled: true
# url-pattern: /druid/*
# #login-username: admin
# #login-password: admin
# filter:
# stat:
# log-slow-sql: true
# slow-sql-millis: 1000
# merge-sql: false
# wall:
# config:
# multi-statement-allow: true
eureka
:
client
:
service-url
:
defaultZone
:
http://192.168.2.244:8761/eureka/
instance
:
prefer-ip-address
:
true
ip-address
:
192.168.2.244
\ No newline at end of file
cneeds-server-user/src/main/resources/application.yml
View file @
cb977d7d
spring
:
profiles
:
active
:
dev
application
:
name
:
cneeds-server-user
datasource
:
driver-class-name
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://192.168.2.244:3306/cneeds_server?useUnicode=true&characterEncoding=UTF-8&useSSL=false
password
:
cneeds!QAZ1qaz
username
:
root
# hikari:
# driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://192.168.2.244:3306/cneeds_server?useUnicode=true&characterEncoding=UTF-8&useSSL=false
# username: root
# password: cneeds!QAZ1qaz
# datasource:
# type: com.alibaba.druid.pool.DruidDataSource
# druid:
# driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://192.168.2.244:3306/cneeds_server?useUnicode=true&characterEncoding=UTF-8&useSSL=false
# username: root
# password: cneeds!QAZ1qaz
# initial-size: 10
# max-active: 100
# min-idle: 10
# max-wait: 60000
# pool-prepared-statements: true
# max-pool-prepared-statement-per-connection-size: 20
# time-between-eviction-runs-millis: 60000
# min-evictable-idle-time-millis: 300000
# #Oracle需要打开注释
# #validation-query: SELECT 1 FROM DUAL
# test-while-idle: true
# test-on-borrow: false
# test-on-return: false
# stat-view-servlet:
# enabled: true
# url-pattern: /druid/*
# #login-username: admin
# #login-password: admin
# filter:
# stat:
# log-slow-sql: true
# slow-sql-millis: 1000
# merge-sql: false
# wall:
# config:
# multi-statement-allow: true
eureka
:
client
:
service-url
:
defaultZone
:
http://192.168.2.244:8761/eureka/
instance
:
prefer-ip-address
:
true
server
:
port
:
9001
servlet
:
...
...
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