Skip to content

Commit

Permalink
fix(*)1. 完成项目设计 2. 完成项目与模块搭建 (#14)
Browse files Browse the repository at this point in the history
Co-authored-by: jie@apache.org <2732554140@qq.com>
  • Loading branch information
githublaohu and jie@apache.org authored Jan 8, 2024
1 parent b5970c4 commit b7106e4
Show file tree
Hide file tree
Showing 106 changed files with 393 additions and 13,260 deletions.
2 changes: 0 additions & 2 deletions .dockerignore

This file was deleted.

120 changes: 103 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,36 +1,122 @@
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### STS ###
.apt_generated
.settings/
.project
.classpath
.target
./**/.settings/
./**/.project
./**/.classpath
./**/target/


#gitignore文件的内容
.factorypath
.DS_Store
.project
.settings
.springBeans
.sts4-cache
*.prefs
.classpath
.setting/h
.settings/
.idea/
*.iml
*.ipr
*.iws
logs/

#忽略eclipse相关
org.eclipse.core.resources.prefs
org.eclipse.jdt.core.prefs
org.eclipse.m2e.core.prefs
org.eclipse.wst.common.component
org.eclipse.wst.common.project.facet.core.xml

#忽略java相关的文件
*.class
*.trc
# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.ear

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

#忽略maven相关的文件
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties

# Built application files
*.apk
*.ap_


#忽略andriod相关的文件
# Files for the Dalvik VM
*.dex
# Generated files
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
gen/
# Gradle files
.gradle/
build/
*/build/

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/
# Log Files
*.log
# Android Studio Navigation editor temp files
.navigation/
# Android Studio captures folder
captures/

target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/

### IntelliJ IDEA ###
.idea
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# Getting Started

## Build on source code

```
cd eventmesh-dashboard
./gradlew clean bootJar
```
## 介绍

```
java -jar build/libs/eventmesh-dashboard-0.0.1-SNAPSHOT.jar
```

## Build and Run with Docker
## 业务架构

```
cd eventmesh-dashboard
./gradlew clean bootJar
docker build -t yourname/eventmesh-dashboard -f docker/Dockerfile .
```

```
docker run -d --name eventmesh-dashboard -p 8080:8080 yourname/eventmesh-dashboard
```
## 技术架构


### 模块依赖图

### 模块介绍

1. eventmesh-dashboard-console 业务模块的代码
2. eventmesh-dashboard-observe 监控模块的代码
3. eventmesh-dashboard-core 对eventmesh以及相关组件的代码
4. eventmesh-dashboard-service 公用接口
5. eventmesh-dashboard-common 公共模块的代码
6. eventmesh-dashboard-view 前端代码


### eventmesh-dashboard-core 介绍
76 changes: 0 additions & 76 deletions build.gradle

This file was deleted.

22 changes: 0 additions & 22 deletions docker/Dockerfile

This file was deleted.

1 change: 0 additions & 1 deletion docs/UserGuide_CN.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/UserGuide_EN.md

This file was deleted.

21 changes: 21 additions & 0 deletions eventmesh-dashboard-common/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.eventmesh.dashboard</groupId>
<artifactId>eventmesh-dashboard</artifactId>
<version>0.0.1</version>
</parent>

<groupId>org.apache.eventmesh.dashboard.common</groupId>
<artifactId>eventmesh-dashboard-common</artifactId>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package org.apache.eventmesh.dashboard.common;

public class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
}
}
21 changes: 21 additions & 0 deletions eventmesh-dashboard-console/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.eventmesh.dashboard</groupId>
<artifactId>eventmesh-dashboard</artifactId>
<version>0.0.1</version>
</parent>

<groupId>org.apache.eventmesh.dashboard.console</groupId>
<artifactId>eventmesh-dashboard-console</artifactId>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package org.apache.eventmesh.dashboard.console;

public class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
}
}
21 changes: 21 additions & 0 deletions eventmesh-dashboard-core/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.eventmesh.dashboard</groupId>
<artifactId>eventmesh-dashboard</artifactId>
<version>0.0.1</version>
</parent>

<groupId>org.apache.eventmesh.dashboard.core</groupId>
<artifactId>eventmesh-dashboard-core</artifactId>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package org.apache.eventmesh.dashboard.core;

public class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
}
}
Loading

0 comments on commit b7106e4

Please sign in to comment.