Skip to content

Commit 7630ead

Browse files
Artem LabazinArtem Labazin
Artem Labazin
authored and
Artem Labazin
committed
Add serialization for ATOM and SMALL_ATOM
1 parent 098de58 commit 7630ead

File tree

26 files changed

+40
-32
lines changed

26 files changed

+40
-32
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2222
- Turn on checkstyle JavaDocs module.
2323
- Add updates to the protocol, like new `ControlMessage`.
2424

25+
## [1.6.5](https://github.com/appulse-projects/encon-java/releases/tag/1.6.5) - 2018-09-28
26+
27+
### Changed
28+
29+
- Quick fix for [GitHub issue](https://github.com/appulse-projects/encon-java/issues/10), added `ATOM` and `SMALL_ATOM` serialization.
30+
2531
## [1.6.4](https://github.com/appulse-projects/encon-java/releases/tag/1.6.4) - 2018-09-14
2632

2733
### Added

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $> mvn clean compile
4646
[INFO] ------------------------------------------------------------------------
4747
[INFO] Reactor Summary:
4848
[INFO]
49-
[INFO] encon 1.6.4 ........................................ SUCCESS [ 1.210 s]
49+
[INFO] encon 1.6.5 ........................................ SUCCESS [ 1.210 s]
5050
[INFO] encon-common ....................................... SUCCESS [ 25.693 s]
5151
[INFO] encon-terms ........................................ SUCCESS [ 27.517 s]
5252
[INFO] encon-config ....................................... SUCCESS [ 18.707 s]
@@ -64,7 +64,7 @@ $> mvn clean compile
6464
[INFO] handler-advanced ................................... SUCCESS [ 11.289 s]
6565
[INFO] load-config ........................................ SUCCESS [ 3.725 s]
6666
[INFO] load-config-spring ................................. SUCCESS [ 6.420 s]
67-
[INFO] benchmark 1.6.4 .................................... SUCCESS [ 5.594 s]
67+
[INFO] benchmark 1.6.5 .................................... SUCCESS [ 5.594 s]
6868
[INFO] ------------------------------------------------------------------------
6969
[INFO] BUILD SUCCESS
7070
[INFO] ------------------------------------------------------------------------

benchmark/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>encon-parent</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<artifactId>benchmark</artifactId>

encon-common/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>encon-parent</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<artifactId>encon-common</artifactId>

encon-config/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ First of all, add config's dependency:
1414
<dependency>
1515
<groupId>io.appulse.encon</groupId>
1616
<artifactId>encon-config</artifactId>
17-
<version>1.6.4</version>
17+
<version>1.6.5</version>
1818
</dependency>
1919
...
2020
</dependencies>
@@ -23,7 +23,7 @@ First of all, add config's dependency:
2323
**Gradle**:
2424

2525
```groovy
26-
compile 'io.appulse.encon:encon-config:1.6.4'
26+
compile 'io.appulse.encon:encon-config:1.6.5'
2727
```
2828

2929
### File based configuration

encon-config/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>encon-parent</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<artifactId>encon-config</artifactId>

encon-databind/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ First of all, add databind's dependency:
1414
<dependency>
1515
<groupId>io.appulse.encon</groupId>
1616
<artifactId>encon</artifactId>
17-
<version>1.6.4</version>
17+
<version>1.6.5</version>
1818
</dependency>
1919
<dependency>
2020
<groupId>io.appulse.encon</groupId>
2121
<artifactId>encon-databind</artifactId>
22-
<version>1.6.4</version>
22+
<version>1.6.5</version>
2323
</dependency>
2424
...
2525
</dependencies>
@@ -28,8 +28,8 @@ First of all, add databind's dependency:
2828
**Gradle**:
2929

3030
```groovy
31-
compile 'io.appulse.encon:encon:1.6.4'
32-
compile 'io.appulse.encon:encon-databind:1.6.4'
31+
compile 'io.appulse.encon:encon:1.6.5'
32+
compile 'io.appulse.encon:encon-databind:1.6.5'
3333
```
3434

3535
Let's imagine, you have POJO like this:

encon-databind/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>encon-parent</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<artifactId>encon-databind</artifactId>

encon-handler/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ First of all, add dependency:
1414
<dependency>
1515
<groupId>io.appulse.encon</groupId>
1616
<artifactId>encon-handler</artifactId>
17-
<version>1.6.4</version>
17+
<version>1.6.5</version>
1818
</dependency>
1919
...
2020
</dependencies>
@@ -23,7 +23,7 @@ First of all, add dependency:
2323
**Gradle**:
2424

2525
```groovy
26-
compile 'io.appulse.encon:encon-handler:1.6.4'
26+
compile 'io.appulse.encon:encon-handler:1.6.5'
2727
```
2828

2929
### Basics

encon-handler/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>encon-parent</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<artifactId>encon-handler</artifactId>

encon-spring/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>encon-parent</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<artifactId>encon-spring</artifactId>

encon-terms/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>encon-parent</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<artifactId>encon-terms</artifactId>

encon-terms/src/main/java/io/appulse/encon/terms/type/ErlangAtom.java

+2
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,11 @@ public boolean isTextual () {
220220
protected void serialize (ByteBuf buffer) {
221221
switch (getType()) {
222222
case SMALL_ATOM_UTF8:
223+
case SMALL_ATOM:
223224
buffer.writeByte(bytes.length);
224225
break;
225226
case ATOM_UTF8:
227+
case ATOM:
226228
buffer.writeShort(bytes.length);
227229
break;
228230
default:

encon/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Adding encon's dependency to your `JVM` app:
2121
<dependency>
2222
<groupId>io.appulse.encon</groupId>
2323
<artifactId>encon</artifactId>
24-
<version>1.6.4</version>
24+
<version>1.6.5</version>
2525
</dependency>
2626
...
2727
</dependencies>
@@ -30,7 +30,7 @@ Adding encon's dependency to your `JVM` app:
3030
**Gradle**:
3131

3232
```groovy
33-
compile 'io.appulse.encon:encon:1.6.4'
33+
compile 'io.appulse.encon:encon:1.6.5'
3434
```
3535

3636
## Start the Node

encon/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>encon-parent</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<artifactId>encon</artifactId>

examples/custom-queue/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>examples</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<groupId>io.appulse.encon.examples</groupId>

examples/databind/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>examples</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<groupId>io.appulse.encon.examples</groupId>

examples/echo-server-spring/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>examples</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<dependencyManagement>

examples/echo-server/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>examples</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<groupId>io.appulse.encon.examples</groupId>

examples/handler-advanced/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>examples</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<groupId>io.appulse.encon.examples</groupId>

examples/handler-basic/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>examples</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<groupId>io.appulse.encon.examples</groupId>

examples/load-config-spring/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>examples</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<dependencyManagement>

examples/load-config/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>examples</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<groupId>io.appulse.encon.examples</groupId>

examples/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>encon-parent</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<artifactId>examples</artifactId>

examples/simple/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
<parent>
2626
<groupId>io.appulse.encon</groupId>
2727
<artifactId>examples</artifactId>
28-
<version>1.6.4</version>
28+
<version>1.6.5</version>
2929
</parent>
3030

3131
<groupId>io.appulse.encon.examples</groupId>

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ limitations under the License.
2424

2525
<groupId>io.appulse.encon</groupId>
2626
<artifactId>encon-parent</artifactId>
27-
<version>1.6.4</version>
27+
<version>1.6.5</version>
2828
<packaging>pom</packaging>
2929

3030
<properties>
@@ -74,7 +74,7 @@ limitations under the License.
7474
<url>https://github.com/appulse-projects/encon-java</url>
7575
<connection>scm:git:https://github.com/appulse-projects/encon-java.git</connection>
7676
<developerConnection>scm:git:https://github.com/appulse-projects/encon-java.git</developerConnection>
77-
<tag>1.6.4</tag>
77+
<tag>1.6.5</tag>
7878
</scm>
7979

8080
<distributionManagement>

0 commit comments

Comments
 (0)