Skip to content

Commit

Permalink
add schema annotation for default business facade
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocky Yu committed Dec 5, 2022
1 parent a329f54 commit 8223a60
Show file tree
Hide file tree
Showing 15 changed files with 37 additions and 15 deletions.
2 changes: 1 addition & 1 deletion lattice-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>lattice</artifactId>
<groupId>org.hiforce.lattice</groupId>
<version>1.0.13.2</version>
<version>1.0.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>lattice-model</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package org.hiforce.lattice.annotation;

import java.lang.annotation.*;

/**
* @author Rocky Yu
* @since 2022/9/15
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface Schema {

/**
* the schema's name.
*/
String name();

/**
* whether the schema is root
*/
boolean root() default false;
}
2 changes: 1 addition & 1 deletion lattice-remote/lattice-remote-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>lattice-remote</artifactId>
<groupId>org.hiforce.lattice</groupId>
<version>1.0.13.2</version>
<version>1.0.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion lattice-remote/lattice-remote-container/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>lattice-remote</artifactId>
<groupId>org.hiforce.lattice</groupId>
<version>1.0.13.2</version>
<version>1.0.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>lattice-remote-runner</artifactId>
<groupId>org.hiforce.lattice</groupId>
<version>1.0.13.2</version>
<version>1.0.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion lattice-remote/lattice-remote-runner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>lattice-remote</artifactId>
<groupId>org.hiforce.lattice</groupId>
<version>1.0.13.2</version>
<version>1.0.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion lattice-remote/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>lattice</artifactId>
<groupId>org.hiforce.lattice</groupId>
<version>1.0.13.2</version>
<version>1.0.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion lattice-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>lattice</artifactId>
<groupId>org.hiforce.lattice</groupId>
<version>1.0.13.2</version>
<version>1.0.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion lattice-tools/lattice-dynamic-loading/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>lattice-tools</artifactId>
<groupId>org.hiforce.lattice</groupId>
<version>1.0.13.2</version>
<version>1.0.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion lattice-tools/lattice-load-config-res/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>lattice-tools</artifactId>
<groupId>org.hiforce.lattice</groupId>
<version>1.0.13.2</version>
<version>1.0.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>lattice-maven-build</artifactId>
<groupId>org.hiforce.lattice</groupId>
<version>1.0.13.2</version>
<version>1.0.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>lattice-maven-build</artifactId>
<groupId>org.hiforce.lattice</groupId>
<version>1.0.13.2</version>
<version>1.0.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>maven-plugin</packaging>
Expand Down
2 changes: 1 addition & 1 deletion lattice-tools/lattice-maven-build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>lattice-tools</artifactId>
<groupId>org.hiforce.lattice</groupId>
<version>1.0.13.2</version>
<version>1.0.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion lattice-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>lattice</artifactId>
<groupId>org.hiforce.lattice</groupId>
<version>1.0.13.2</version>
<version>1.0.14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<url>https://github.com/hiforce/lattice</url>
<inceptionYear>2022</inceptionYear>

<version>1.0.13.2</version>
<version>1.0.14</version>
<properties>
<version.lattice>1.0.13.2</version.lattice>
<version.lattice>1.0.14</version.lattice>
<version.spring>5.3.23</version.spring>
<version.spring.boot>2.7.4</version.spring.boot>
<springext-plugin-version>1.2</springext-plugin-version>
Expand Down

0 comments on commit 8223a60

Please sign in to comment.