Skip to content

Commit b95acc9

Browse files
committed
[#184] Remove legacy CloudEvents support
The existing classes for supporting the creation, mapping and validation of CloudEvents are not needed anymore because all uProtocol APIs use UMessage and UAttributes as parameter types. Application developers do not need to bother with CloudEvents anymore. Also bumped version to 3.0.0-SNAPSHOT Fixes #184
1 parent 5513b46 commit b95acc9

19 files changed

+1
-4467
lines changed

README.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ To pull the Library from maven central, setting ${uprotocol.version} to the late
5353
| uProtocol unique identifier builders, validators, and serializers.
5454
| Basics
5555

56-
| link:src/main/java/org/eclipse/uprotocol/cloudevent/README.adoc[`*cloudevent*`]
57-
| A representation of uProtocol messages used in older versions of the specifications kept for backwards compatibility.
58-
| Legacy
59-
6056
|===
6157

6258
=== Building from Source

pom.xml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<artifactId>up-java</artifactId>
1818
<name>Java Library for uProtocol</name>
1919
<description>Language specific uProtocol library for building and using UUri, UUID, UAttributes, UTransport, and more</description>
20-
<version>2.0.1-SNAPSHOT</version>
20+
<version>3.0.0-SNAPSHOT</version>
2121
<packaging>jar</packaging>
2222
<url>https://github.com/eclipse-uprotocol/up-java/</url>
2323

@@ -76,37 +76,11 @@
7676
<type>pom</type>
7777
<scope>import</scope>
7878
</dependency>
79-
<dependency>
80-
<groupId>io.cloudevents</groupId>
81-
<artifactId>cloudevents-bom</artifactId>
82-
<version>4.0.1</version>
83-
<type>pom</type>
84-
<scope>import</scope>
85-
</dependency>
8679
</dependencies>
8780
</dependencyManagement>
8881

8982
<dependencies>
9083

91-
<!-- CloudEvents support https://cloudevents.github.io/sdk-java/
92-
https://github.com/cloudevents/sdk-java-->
93-
<dependency>
94-
<groupId>io.cloudevents</groupId>
95-
<artifactId>cloudevents-core</artifactId>
96-
</dependency>
97-
<dependency>
98-
<groupId>io.cloudevents</groupId>
99-
<artifactId>cloudevents-api</artifactId>
100-
</dependency>
101-
<dependency>
102-
<groupId>io.cloudevents</groupId>
103-
<artifactId>cloudevents-json-jackson</artifactId>
104-
</dependency>
105-
<dependency>
106-
<groupId>io.cloudevents</groupId>
107-
<artifactId>cloudevents-protobuf</artifactId>
108-
</dependency>
109-
11084
<dependency>
11185
<groupId>com.google.protobuf</groupId>
11286
<artifactId>protobuf-java</artifactId>

src/main/java/org/eclipse/uprotocol/cloudevent/datamodel/UCloudEventAttributes.java

Lines changed: 0 additions & 258 deletions
This file was deleted.

0 commit comments

Comments
 (0)