Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
stater-tdtopo
Project
Project
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
zhengfunan
stater-tdtopo
Commits
da6e5c16
Commit
da6e5c16
authored
Sep 02, 2023
by
zhengfunan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改路径
parent
3a606bdc
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
30 additions
and
34 deletions
+30
-34
workspace.xml
.idea/workspace.xml
+17
-6
Neo4jAutoConfiguration.java
...n/java/com/tongda/tdtopo/auto/Neo4jAutoConfiguration.java
+4
-4
Neo4jProperties.java
src/main/java/com/tongda/tdtopo/config/Neo4jProperties.java
+1
-1
Neo4jServer.java
src/main/java/com/tongda/tdtopo/neo4j/Neo4jServer.java
+1
-1
TDGraphService.java
src/main/java/com/tongda/tdtopo/service/TDGraphService.java
+3
-4
SynchronizeMetadata.java
...ain/java/com/tongda/tdtopo/tasks/SynchronizeMetadata.java
+1
-15
GraphUtil.java
src/main/java/com/tongda/tdtopo/util/GraphUtil.java
+1
-1
spring.factories
src/main/resources/META-INF/spring.factories
+2
-2
No files found.
.idea/workspace.xml
View file @
da6e5c16
...
...
@@ -6,10 +6,13 @@
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"67e936c8-2d55-4655-871e-e6e153e4d8e1"
name=
"更改"
comment=
"stater版首次提交"
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/pom.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/pom.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/com/tongda/tddopo/auto/Neo4jAutoConfiguration.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/com/tongda/tddopo/auto/Neo4jAutoConfiguration.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/com/tongda/tddopo/neo4j/Neo4jServer.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/com/tongda/tddopo/neo4j/Neo4jServer.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/com/tongda/tddopo/service/TDGraphService.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/com/tongda/tddopo/service/TDGraphService.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/com/tongda/tddopo/auto/Neo4jAutoConfiguration.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/com/tongda/tdtopo/auto/Neo4jAutoConfiguration.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/com/tongda/tddopo/config/Neo4jProperties.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/com/tongda/tdtopo/config/Neo4jProperties.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/com/tongda/tddopo/neo4j/Neo4jServer.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/com/tongda/tdtopo/neo4j/Neo4jServer.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/com/tongda/tddopo/service/TDGraphService.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/com/tongda/tdtopo/service/TDGraphService.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/com/tongda/tddopo/tasks/SynchronizeMetadata.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/com/tongda/tdtopo/tasks/SynchronizeMetadata.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/com/tongda/tddopo/util/GraphUtil.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/com/tongda/tdtopo/util/GraphUtil.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/META-INF/spring.factories"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/resources/META-INF/spring.factories"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -99,7 +102,8 @@
<workItem
from=
"1693363826067"
duration=
"10263000"
/>
<workItem
from=
"1693386223381"
duration=
"3004000"
/>
<workItem
from=
"1693447950473"
duration=
"11267000"
/>
<workItem
from=
"1693536669710"
duration=
"3343000"
/>
<workItem
from=
"1693536669710"
duration=
"10048000"
/>
<workItem
from=
"1693622693690"
duration=
"1530000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"stater版首次提交"
>
<created>
1693387558801
</created>
...
...
@@ -108,7 +112,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1693387558801
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"2"
/>
<task
id=
"LOCAL-00002"
summary=
"stater版首次提交"
>
<created>
1693545997120
</created>
<option
name=
"number"
value=
"00002"
/>
<option
name=
"presentableId"
value=
"LOCAL-00002"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1693545997120
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"3"
/>
<servers
/>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
...
src/main/java/com/tongda/td
d
opo/auto/Neo4jAutoConfiguration.java
→
src/main/java/com/tongda/td
t
opo/auto/Neo4jAutoConfiguration.java
View file @
da6e5c16
package
com
.
tongda
.
td
d
opo
.
auto
;
package
com
.
tongda
.
td
t
opo
.
auto
;
import
com.tongda.td
d
opo.config.Neo4jProperties
;
import
com.tongda.td
d
opo.neo4j.Neo4jServer
;
import
com.tongda.td
d
opo.service.TDGraphService
;
import
com.tongda.td
t
opo.config.Neo4jProperties
;
import
com.tongda.td
t
opo.neo4j.Neo4jServer
;
import
com.tongda.td
t
opo.service.TDGraphService
;
import
org.neo4j.graphdb.GraphDatabaseService
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
;
import
org.springframework.boot.context.properties.EnableConfigurationProperties
;
...
...
src/main/java/com/tongda/td
d
opo/config/Neo4jProperties.java
→
src/main/java/com/tongda/td
t
opo/config/Neo4jProperties.java
View file @
da6e5c16
package
com
.
tongda
.
td
d
opo
.
config
;
package
com
.
tongda
.
td
t
opo
.
config
;
import
lombok.Data
;
...
...
src/main/java/com/tongda/td
d
opo/neo4j/Neo4jServer.java
→
src/main/java/com/tongda/td
t
opo/neo4j/Neo4jServer.java
View file @
da6e5c16
package
com
.
tongda
.
td
d
opo
.
neo4j
;
package
com
.
tongda
.
td
t
opo
.
neo4j
;
import
org.neo4j.graphdb.ConstraintViolationException
;
...
...
src/main/java/com/tongda/td
d
opo/service/TDGraphService.java
→
src/main/java/com/tongda/td
t
opo/service/TDGraphService.java
View file @
da6e5c16
package
com
.
tongda
.
td
d
opo
.
service
;
package
com
.
tongda
.
td
t
opo
.
service
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.tongda.td
d
opo.neo4j.Neo4jServer
;
import
com.tongda.td
d
opo.util.GraphUtil
;
import
com.tongda.td
t
opo.neo4j.Neo4jServer
;
import
com.tongda.td
t
opo.util.GraphUtil
;
import
org.dom4j.Attribute
;
import
org.dom4j.Document
;
import
org.dom4j.DocumentException
;
...
...
@@ -235,7 +235,6 @@ public class TDGraphService {
return
true
;
}
/**
* 只更新节点node
* @param xml
...
...
src/main/java/com/tongda/td
d
opo/tasks/SynchronizeMetadata.java
→
src/main/java/com/tongda/td
t
opo/tasks/SynchronizeMetadata.java
View file @
da6e5c16
package
com
.
tongda
.
td
d
opo
.
tasks
;
package
com
.
tongda
.
td
t
opo
.
tasks
;
import
com.alibaba.fastjson.JSONObject
;
import
com.tongda.tddopo.service.TDGraphService
;
import
org.dom4j.Document
;
import
org.dom4j.DocumentException
;
import
org.dom4j.Element
;
import
org.dom4j.io.SAXReader
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.context.annotation.PropertySource
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.stereotype.Component
;
import
java.io.ByteArrayInputStream
;
import
java.nio.charset.StandardCharsets
;
import
java.util.ArrayList
;
import
java.util.List
;
@Component
@PropertySource
(
value
=
"classpath:application.properties"
)
...
...
src/main/java/com/tongda/td
d
opo/util/GraphUtil.java
→
src/main/java/com/tongda/td
t
opo/util/GraphUtil.java
View file @
da6e5c16
package
com
.
tongda
.
td
d
opo
.
util
;
package
com
.
tongda
.
td
t
opo
.
util
;
import
com.alibaba.fastjson.JSONObject
;
import
org.neo4j.graphdb.Label
;
...
...
src/main/resources/META-INF/spring.factories
View file @
da6e5c16
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
com.tongda.tddopo.auto.Neo4jAutoConfiguration
\ No newline at end of file
com.tongda.tdtopo.auto.Neo4jAutoConfiguration
\ 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