-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inner-2383: skip test other connection on some case
- Loading branch information
Showing
7 changed files
with
115 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/main/java/com/actiontech/dble/services/manager/response/ReloadContext.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Copyright (C) 2016-2023 ActionTech. | ||
* based on code by MyCATCopyrightHolder Copyright (c) 2013, OpenCloudDB/MyCAT. | ||
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher. | ||
*/ | ||
|
||
package com.actiontech.dble.services.manager.response; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public class ReloadContext { | ||
List<UniqueDbInstance> affectDbInstanceList = new ArrayList<>(); | ||
|
||
public List<UniqueDbInstance> getAffectDbInstanceList() { | ||
Check notice Code scanning / CodeQL Exposing internal representation Note
getAffectDbInstanceList exposes the internal representation stored in field affectDbInstanceList. The value may be modified
after this call to getAffectDbInstanceList Error loading related location Loading getAffectDbInstanceList exposes the internal representation stored in field affectDbInstanceList. The value may be modified after this call to getAffectDbInstanceList Error loading related location Loading |
||
return affectDbInstanceList; | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
src/main/java/com/actiontech/dble/services/manager/response/UniqueDbInstance.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright (C) 2016-2023 ActionTech. | ||
* based on code by MyCATCopyrightHolder Copyright (c) 2013, OpenCloudDB/MyCAT. | ||
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher. | ||
*/ | ||
|
||
package com.actiontech.dble.services.manager.response; | ||
|
||
public class UniqueDbInstance { | ||
String groupName; | ||
String instanceName; | ||
|
||
public UniqueDbInstance(String groupName, String instanceName) { | ||
this.groupName = groupName; | ||
this.instanceName = instanceName; | ||
} | ||
|
||
public String getGroupName() { | ||
return groupName; | ||
} | ||
|
||
public void setGroupName(String groupName) { | ||
this.groupName = groupName; | ||
} | ||
|
||
public String getInstanceName() { | ||
return instanceName; | ||
} | ||
|
||
public void setInstanceName(String instanceName) { | ||
this.instanceName = instanceName; | ||
} | ||
} |