forked from apache/eventmesh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
624 additions
and
211 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
17 changes: 17 additions & 0 deletions
17
eventmesh-admin-kotlin/gradle/wrapper/gradle-wrapper.properties
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,18 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
rootProject.name = "eventmesh-admin-kotlin" |
13 changes: 0 additions & 13 deletions
13
...dmin-kotlin/src/main/java/com/apache/eventmesh/adminkotlin/EventmeshAdminApplication.java
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
eventmesh-admin-kotlin/src/main/java/com/apache/eventmesh/adminkotlin/config/Constants.java
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
...tmesh-admin-kotlin/src/main/java/com/apache/eventmesh/adminkotlin/dto/CommonResponse.java
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...esh-admin-kotlin/src/main/java/com/apache/eventmesh/adminkotlin/model/ConnectionInfo.java
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...h-admin-kotlin/src/main/java/com/apache/eventmesh/adminkotlin/model/SubscriptionInfo.java
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...dmin-kotlin/src/main/java/com/apache/eventmesh/adminkotlin/service/ConnectionService.java
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...in-kotlin/src/main/java/com/apache/eventmesh/adminkotlin/service/SubscriptionService.java
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...in/src/main/java/com/apache/eventmesh/adminkotlin/service/impl/EtcdConnectionService.java
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
.../src/main/java/com/apache/eventmesh/adminkotlin/service/impl/EtcdSubscriptionService.java
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
...n/src/main/java/com/apache/eventmesh/adminkotlin/service/impl/NacosConnectionService.java
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
...dmin-kotlin/src/main/java/org/apache/eventmesh/adminkotlin/EventmeshAdminApplication.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,30 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.apache.eventmesh.adminkotlin; | ||
|
||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
|
||
@SpringBootApplication | ||
public class EventmeshAdminApplication { | ||
|
||
public static void main(String[] args) { | ||
SpringApplication.run(EventmeshAdminApplication.class, args); | ||
} | ||
|
||
} |
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
35 changes: 35 additions & 0 deletions
35
eventmesh-admin-kotlin/src/main/java/org/apache/eventmesh/adminkotlin/config/Constants.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,35 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.apache.eventmesh.adminkotlin.config; | ||
|
||
public class Constants { | ||
|
||
// config | ||
public static final String ADMIN_PROPS_PREFIX = "eventmesh"; | ||
public static final String META_TYPE_NACOS = "nacos"; | ||
public static final String META_TYPE_ETCD = "etcd"; | ||
|
||
// Open-API | ||
public static final String HTTP_PREFIX = "http://"; | ||
public static final String HTTPS_PREFIX = "https://"; | ||
public static final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss"; | ||
|
||
// Nacos | ||
public static final String NACOS_LOGIN_API = "/nacos/v1/auth/login"; | ||
public static final String NACOS_CONFIGS_API = "/nacos/v1/cs/configs"; | ||
} |
37 changes: 27 additions & 10 deletions
37
...sh/adminkotlin/config/MetaTypeConfig.java → ...sh/adminkotlin/config/MetaTypeConfig.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
23 changes: 20 additions & 3 deletions
23
...tlin/controller/ConnectionController.java → ...tlin/controller/ConnectionController.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
Oops, something went wrong.