Skip to content

Commit

Permalink
release:🎉1.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearXs committed Feb 23, 2024
1 parent 7a227c1 commit 0b72ac1
Show file tree
Hide file tree
Showing 48 changed files with 131 additions and 61 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>cc.allio</groupId>
<artifactId>uno</artifactId>
<packaging>pom</packaging>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
<description>构建大型应用需要的基本能力 --- all in one</description>
<url>https://github.com/b6688c/uno</url>

Expand Down
2 changes: 1 addition & 1 deletion uno-auto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>uno</artifactId>
<groupId>cc.allio</groupId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
4 changes: 2 additions & 2 deletions uno-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
<modelVersion>4.0.0</modelVersion>
<groupId>cc.allio</groupId>
<artifactId>uno-bom</artifactId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
<packaging>pom</packaging>

<properties>
<!-- 统一版本管理 -->
<uno.version>1.1.6-beta.1</uno.version>
<uno.version>1.1.6</uno.version>
<!-- 序列化框架 -->
<protostuff.version>1.5.9</protostuff.version>
<!-- google SPI -->
Expand Down
2 changes: 1 addition & 1 deletion uno-components/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>uno</artifactId>
<groupId>cc.allio</groupId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion uno-components/uno-component-http/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>uno-components</artifactId>
<groupId>cc.allio</groupId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion uno-components/uno-component-kafka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>uno-components</artifactId>
<groupId>cc.allio</groupId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion uno-components/uno-component-netty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>uno-components</artifactId>
<groupId>cc.allio</groupId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
</parent>

<artifactId>uno-component-netty</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion uno-components/uno-component-sequential/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>uno-components</artifactId>
<groupId>cc.allio</groupId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion uno-components/uno-component-websocket/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>uno-components</artifactId>
<groupId>cc.allio</groupId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion uno-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>uno</artifactId>
<groupId>cc.allio</groupId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
4 changes: 2 additions & 2 deletions uno-data/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<parent>
<artifactId>uno</artifactId>
<groupId>cc.allio</groupId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
</parent>
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion>

<artifactId>uno-data</artifactId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
<description>
summary: uno数据层操作,包含于数据源、mybatis-plus、reactive-jpa、elasticsearch、influxdb等
features: 提供数据聚合等操作
Expand Down
2 changes: 1 addition & 1 deletion uno-data/uno-data-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>cc.allio</groupId>
<artifactId>uno-data</artifactId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ public boolean equalsTo(Class<?> otherJavaType) {
public boolean equals(Object o) {
return Objects.equals(this, o);
}

}
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package cc.allio.uno.data.orm.dsl.type;

import cc.allio.uno.core.api.EqualsTo;

import java.io.Serializable;

/**
Expand All @@ -10,7 +12,7 @@
* @see TypeRegistry
* @since 1.1.4
*/
public interface JavaType<T> extends Serializable {
public interface JavaType<T> extends Serializable, EqualsTo<Class<?>> {

/**
* 获取Java类型对应 class 实例
Expand All @@ -19,14 +21,6 @@ public interface JavaType<T> extends Serializable {
*/
Class<T> getJavaType();

/**
* 比较类型是否属于当前Java类型
*
* @param otherJavaType otherJavaType
* @return ture ye or nor
*/
boolean equalsTo(Class<?> otherJavaType);

/**
* 获取当前Java类型对应的SQL字段的默认长度
*
Expand Down
2 changes: 1 addition & 1 deletion uno-data/uno-data-db/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>cc.allio</groupId>
<artifactId>uno-data</artifactId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion uno-data/uno-data-elasticsearch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>cc.allio</groupId>
<artifactId>uno-data</artifactId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion uno-data/uno-data-influxdb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>cc.allio</groupId>
<artifactId>uno-data</artifactId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion uno-data/uno-data-mongodb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>cc.allio</groupId>
<artifactId>uno-data</artifactId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion uno-data/uno-data-neo4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>cc.allio</groupId>
<artifactId>uno-data</artifactId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion uno-data/uno-data-redis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>cc.allio</groupId>
<artifactId>uno-data</artifactId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion uno-data/uno-data-sql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>cc.allio</groupId>
<artifactId>uno-data</artifactId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion uno-data/uno-data-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>cc.allio</groupId>
<artifactId>uno-data</artifactId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion uno-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>uno</artifactId>
<groupId>cc.allio</groupId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion uno-demo/uno-websocket-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>uno-demo</artifactId>
<groupId>cc.allio</groupId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
5 changes: 2 additions & 3 deletions uno-gis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>uno</artifactId>
<groupId>cc.allio</groupId>
<version>1.1.6-beta.1</version>
<version>1.1.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -18,8 +18,7 @@
</dependency>
<dependency>
<groupId>cc.allio</groupId>
<artifactId>uno-data</artifactId>
<scope>provided</scope>
<artifactId>uno-data-api</artifactId>
</dependency>
<dependency>
<groupId>cc.allio</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cc.allio.uno.gis.config;

import cc.allio.uno.data.orm.type.JdbcType;
import cc.allio.uno.data.orm.type.JdbcTypeImpl;
import cc.allio.uno.data.orm.type.TypeRegistry;
import cc.allio.uno.data.orm.dsl.type.JdbcType;
import cc.allio.uno.data.orm.dsl.type.JdbcTypeImpl;
import cc.allio.uno.data.orm.dsl.type.TypeRegistry;
import cc.allio.uno.gis.GeometryTypes;
import cc.allio.uno.gis.local.type.*;
import org.springframework.beans.factory.InitializingBean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cc.allio.uno.gis.local.type;

import cc.allio.uno.data.orm.type.JavaTypeImpl;
import cc.allio.uno.data.orm.dsl.type.JavaTypeImpl;
import cc.allio.uno.gis.GeometryTypes;
import org.locationtech.jts.geom.GeometryCollection;

Expand All @@ -16,4 +16,9 @@ public class GeometryCollectionJavaType extends JavaTypeImpl<GeometryCollection>
public Class<GeometryCollection> getJavaType() {
return GeometryTypes.GEOMETRY_COLLECTION;
}

@Override
public boolean equalsTo(Class<?> other) {
return GeometryTypes.GEOMETRY_COLLECTION.isAssignableFrom(other);
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cc.allio.uno.gis.local.type;

import cc.allio.uno.data.orm.type.JavaTypeImpl;
import cc.allio.uno.data.orm.dsl.type.JavaTypeImpl;
import cc.allio.uno.gis.GeometryTypes;
import org.locationtech.jts.geom.Geometry;

Expand All @@ -16,4 +16,9 @@ public class GeometryJavaType extends JavaTypeImpl<Geometry> {
public Class<Geometry> getJavaType() {
return GeometryTypes.GEOMETRY;
}

@Override
public boolean equalsTo(Class<?> other) {
return GeometryTypes.isGeometry(other);
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cc.allio.uno.gis.local.type;

import cc.allio.uno.data.orm.type.JavaTypeImpl;
import cc.allio.uno.data.orm.dsl.type.JavaTypeImpl;
import cc.allio.uno.gis.GeometryTypes;
import org.locationtech.jts.geom.LineString;

Expand All @@ -16,4 +16,9 @@ public class LineStringJavaType extends JavaTypeImpl<LineString> {
public Class<LineString> getJavaType() {
return GeometryTypes.LINE_STRING;
}

@Override
public boolean equalsTo(Class<?> other) {
return GeometryTypes.LINE_STRING.isAssignableFrom(other);
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cc.allio.uno.gis.local.type;

import cc.allio.uno.data.orm.type.JavaTypeImpl;
import cc.allio.uno.data.orm.dsl.type.JavaTypeImpl;
import cc.allio.uno.gis.GeometryTypes;
import org.locationtech.jts.geom.LinearRing;

Expand All @@ -16,4 +16,9 @@ public class LinearRingJavaType extends JavaTypeImpl<LinearRing> {
public Class<LinearRing> getJavaType() {
return GeometryTypes.LINEAR_RING;
}

@Override
public boolean equalsTo(Class<?> other) {
return GeometryTypes.LINEAR_RING.isAssignableFrom(other);
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cc.allio.uno.gis.local.type;

import cc.allio.uno.data.orm.type.JavaTypeImpl;
import cc.allio.uno.data.orm.dsl.type.JavaTypeImpl;
import cc.allio.uno.gis.GeometryTypes;
import org.locationtech.jts.geom.MultiLineString;

Expand All @@ -12,8 +12,14 @@
* @since 1.1.4
*/
public class MultiLineStringJavaType extends JavaTypeImpl<MultiLineString> {

@Override
public Class<MultiLineString> getJavaType() {
return GeometryTypes.MULTI_LINE_STRING;
}

@Override
public boolean equalsTo(Class<?> otherJavaType) {
return GeometryTypes.MULTI_LINE_STRING.isAssignableFrom(otherJavaType);
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cc.allio.uno.gis.local.type;

import cc.allio.uno.data.orm.type.JavaTypeImpl;
import cc.allio.uno.data.orm.dsl.type.JavaTypeImpl;
import cc.allio.uno.gis.GeometryTypes;
import org.locationtech.jts.geom.MultiPoint;

Expand All @@ -16,4 +16,9 @@ public class MultiPointJavaType extends JavaTypeImpl<MultiPoint> {
public Class<MultiPoint> getJavaType() {
return GeometryTypes.MULTI_POINT;
}

@Override
public boolean equalsTo(Class<?> other) {
return GeometryTypes.MULTI_POINT.isAssignableFrom(other);
}
}
Loading

0 comments on commit 0b72ac1

Please sign in to comment.