Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Distributed Computing and Network Fusion System
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WirelessInformationCollaborate
Distributed Computing and Network Fusion System
Commits
e5d689bf
Commit
e5d689bf
authored
Jun 21, 2020
by
joliu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete useless code
parent
5fc70d0b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
9 deletions
+6
-9
cnf-cloud-center/src/main/resources/application.yml
cnf-cloud-center/src/main/resources/application.yml
+2
-2
cnf-edge-center/pom.xml
cnf-edge-center/pom.xml
+2
-2
cnf-edge-center/src/main/java/top/ninwoo/edgecenter/config/ZookeeperConfiguration.java
.../top/ninwoo/edgecenter/config/ZookeeperConfiguration.java
+0
-3
cnf-edge-center/src/main/resources/application.yaml
cnf-edge-center/src/main/resources/application.yaml
+2
-2
No files found.
cnf-cloud-center/src/main/resources/application.yml
View file @
e5d689bf
...
@@ -2,10 +2,10 @@ server:
...
@@ -2,10 +2,10 @@ server:
port
:
9091
port
:
9091
zookeeper
:
zookeeper
:
url
:
1
92.168.31.156
:2181
url
:
1
27.0.0.1
:2181
bs
:
bs
:
cloudcenter
:
cloudcenter
:
name
:
my-bs-cloud-center
name
:
my-bs-cloud-center
ipservice
:
ipservice
:
url
:
192.168.31.156:23333
url
:
127.0.0.1:23333
\ No newline at end of file
\ No newline at end of file
cnf-edge-center/pom.xml
View file @
e5d689bf
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<artifactId>
spring-boot-starter-log4j2
</artifactId>
<artifactId>
spring-boot-starter-log4j2
</artifactId>
</dependency>
</dependency>
<dependency>
<
!--<
dependency>
<groupId>org.springframework.boot</groupId>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
</dependency>
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<dependency>
<dependency>
<groupId>mysql</groupId>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
</dependency>
-->
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
...
...
cnf-edge-center/src/main/java/top/ninwoo/edgecenter/config/ZookeeperConfiguration.java
View file @
e5d689bf
package
top.ninwoo.edgecenter.config
;
package
top.ninwoo.edgecenter.config
;
import
javafx.scene.control.cell.TextFieldListCell
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.curator.framework.CuratorFramework
;
import
org.apache.curator.framework.CuratorFramework
;
import
org.apache.curator.framework.CuratorFrameworkFactory
;
import
org.apache.curator.framework.CuratorFrameworkFactory
;
...
@@ -14,11 +13,9 @@ import org.springframework.context.ApplicationContext;
...
@@ -14,11 +13,9 @@ import org.springframework.context.ApplicationContext;
import
org.springframework.context.ApplicationContextAware
;
import
org.springframework.context.ApplicationContextAware
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.web.context.support.WebApplicationContextUtils
;
import
top.ninwoo.edgecenter.check.ClusterServiceCheck
;
import
top.ninwoo.edgecenter.check.ClusterServiceCheck
;
import
top.ninwoo.edgecenter.register.EdgeNodeRegister
;
import
top.ninwoo.edgecenter.register.EdgeNodeRegister
;
import
javax.annotation.Resource
;
@Slf4j
@Slf4j
@Configuration
@Configuration
public
class
ZookeeperConfiguration
implements
ApplicationContextAware
{
public
class
ZookeeperConfiguration
implements
ApplicationContextAware
{
...
...
cnf-edge-center/src/main/resources/application.yaml
View file @
e5d689bf
...
@@ -26,9 +26,9 @@ bs:
...
@@ -26,9 +26,9 @@ bs:
name
:
random
name
:
random
ip-prefix
:
192.168.31
ip-prefix
:
192.168.31
ipservice
:
ipservice
:
ip
:
1
92.168.31.238
:23333
ip
:
1
27.0.0.1
:23333
sdn-controller
:
sdn-controller
:
host
:
127.0.0.1
host
:
127.0.0.1
port
:
6653
port
:
6653
zookeeper
:
zookeeper
:
url
:
1
92.168.31.238
:2181
url
:
1
27.0.0.1
:2181
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