-
Notifications
You must be signed in to change notification settings - Fork 155
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
198 changed files
with
64,097 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
*.bak | ||
build_info.properties | ||
.classpath | ||
dependency-reduced-pom.xml | ||
*.diff | ||
.DS_Store | ||
.java-version | ||
*.db | ||
|
||
# IDEA | ||
.idea/ | ||
*.iml | ||
logs/ | ||
log/ | ||
|
||
# eclipse (Scala IDE) | ||
.project | ||
.settings/ | ||
.tags* | ||
target/ | ||
test-output/ | ||
nohup* | ||
*.log | ||
*.swp | ||
*.pyc | ||
.sbtserver* |
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,2 @@ | ||
# Tianye | ||
jvm参数:--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.math=ALL-UNNAMED --add-opens=java.base/sun.reflect=ALL-UNNAMED --add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED --add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED --enable-preview |
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,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
|
||
<parent> | ||
<artifactId>Tianye</artifactId> | ||
<groupId>run.mone.local.docean</groupId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>Tianye-api</artifactId> | ||
|
||
<dependencies> | ||
|
||
<dependency> | ||
<groupId>com.google.protobuf</groupId> | ||
<artifactId>protobuf-java</artifactId> | ||
<version>3.21.8</version> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<configuration> | ||
<source>8</source> | ||
<target>8</target> | ||
<fork>true</fork> | ||
<verbose>true</verbose> | ||
<encoding>UTF-8</encoding> | ||
</configuration> | ||
</plugin> | ||
|
||
</plugins> | ||
</build> | ||
</project> |
6 changes: 6 additions & 0 deletions
6
...l/Tianye/Tianye-api/src/main/java/run/mone/local/docean/api/service/DubboTestService.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,6 @@ | ||
package run.mone.local.docean.api.service; | ||
|
||
|
||
public interface DubboTestService { | ||
String test(); | ||
} |
9 changes: 9 additions & 0 deletions
9
m78-all/Tianye/Tianye-api/src/main/java/run/mone/local/docean/api/service/TYFlowService.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,9 @@ | ||
package run.mone.local.docean.api.service; | ||
|
||
/** | ||
* @author wmin | ||
* @date 2024/3/4 | ||
*/ | ||
public interface TYFlowService { | ||
Integer execFlow(String botReqStr); | ||
} |
27 changes: 27 additions & 0 deletions
27
m78-all/Tianye/Tianye-api/src/main/java/run/mone/local/docean/dto/ExecCommandResult.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,27 @@ | ||
package run.mone.local.docean.dto; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
public class ExecCommandResult implements Serializable { | ||
|
||
|
||
private Integer resultCode; | ||
private List<String> resultData; | ||
public Integer getResultCode() { | ||
return resultCode; | ||
} | ||
|
||
public void setResultCode(Integer resultCode) { | ||
this.resultCode = resultCode; | ||
} | ||
|
||
public void setResultData(List<String> resultData) { | ||
this.resultData = resultData; | ||
} | ||
|
||
public List<String> getResultData() { | ||
return resultData; | ||
} | ||
|
||
} |
Oops, something went wrong.