Skip to content

Commit 2057f01

Browse files
committed
[#210] Update to up-spec v1.6.0-alpha.7
* Updated up-spec submodule to v1.6.0-alpha.7 tag * Updated links to specification documents * Removed obsolete Gherking feature files * Enabled protobuf related UUID Gherkin features
1 parent f0a3659 commit 2057f01

17 files changed

Lines changed: 25 additions & 195 deletions

File tree

README.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[.specitem,oft-sid="uman~up-java-readme~1",oft-covers="req~up-language-documentation~1",tags="LanguageLibrary"]
55
== Overview
66

7-
This is the https://github.com/eclipse-uprotocol/uprotocol-spec/blob/v1.6.0-alpha.6/languages.adoc[uProtocol v1.6.0-alpha.6 Language Library] for the Java programming language. The library is organized into packages that are described in <<sdk-packages>> below and organized by the layers of the protocol.
7+
This is the https://github.com/eclipse-uprotocol/uprotocol-spec/blob/v1.6.0-alpha.7/languages.adoc[uProtocol v1.6.0-alpha.7 Language Library] for the Java programming language. The library is organized into packages that are described in <<sdk-packages>> below and organized by the layers of the protocol.
88

99
Each package folder contains a `README.adoc` file that describes the purpose of the package and how to use it.
1010

@@ -38,15 +38,15 @@ The following dependency needs to be added to your Maven POM file, setting `${up
3838

3939
| xref:src/main/java/org/eclipse/uprotocol/client/README.adoc[`*client*`]
4040
| Top level client-facing interfaces to communication with USubscription, UDiscovery, and UTwin services.
41-
| https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l3/README.adoc[Application Layer (uP-L3)]
41+
| https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.7/up-l3/README.adoc[Application Layer (uP-L3)]
4242

4343
| xref:src/main/java/org/eclipse/uprotocol/communication/README.adoc[`*communication*`]
4444
| Common implementation of communication messaging patterns (publisher, subscriber, RpcClient, RpcServer, etc..) that are built on top of the L1 transport interface (see below).
45-
| https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l2/api.adoc[Communication Layer (uP-L2)]
45+
| https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.7/up-l2/api.adoc[Communication Layer (uP-L2)]
4646

4747
| xref:src/main/java/org/eclipse/uprotocol/transport/README.adoc[`*transport*`]
4848
| Interface and data model for how to send() and receive() messages in a common way across various transport technologies (ex. zenoh, mqtt, http, etc...). the interface is implemented by transports (ex. up-transport-android-java), and the interface is then used to build the uProtocol layer 2 communication layer implementation.
49-
| https://github.com/eclipse-uprotocol/uprotocol-spec/blob/v1.6.0-alpha.6/up-l1/README.adoc[Transport Layer (uP-L1)]
49+
| https://github.com/eclipse-uprotocol/uprotocol-spec/blob/v1.6.0-alpha.7/up-l1/README.adoc[Transport Layer (uP-L1)]
5050

5151
| xref:src/main/java/org/eclipse/uprotocol/uri/README.adoc[`*uuri*`]
5252
| uProtocol addressing scheme (UUri) builders, validators, and serializers.

src/main/java/org/eclipse/uprotocol/client/usubscription/v3/USubscriptionClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/**
3333
* The client-side interface for interacting with a USubscription service instance.
3434
*
35-
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/tree/v1.6.0-alpha.6/up-l3/usubscription/v3">
35+
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/tree/v1.6.0-alpha.7/up-l3/usubscription/v3">
3636
* USubscription service specification</a>
3737
*/
3838
public interface USubscriptionClient {

src/main/java/org/eclipse/uprotocol/communication/Notifier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* A client for sending Notification messages to a uEntity.
2323
*
24-
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l2/api.adoc">
24+
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.7/up-l2/api.adoc">
2525
* Communication Layer API Specifications</a>
2626
*/
2727
// [impl->dsn~communication-layer-api-declaration~1]

src/main/java/org/eclipse/uprotocol/communication/Publisher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* A client for publishing messages to a topic.
1919
*
20-
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l2/api.adoc">
20+
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.7/up-l2/api.adoc">
2121
* Communication Layer API Specifications</a>
2222
*/
2323
// [impl->dsn~communication-layer-api-declaration~1]

src/main/java/org/eclipse/uprotocol/communication/RpcClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* A client for performing Remote Procedure Calls (RPC) on (other) uEntities.
2121
*
22-
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l2/api.adoc">
22+
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.7/up-l2/api.adoc">
2323
* Communication Layer API specification</a>
2424
*/
2525
// [impl->dsn~communication-layer-api-declaration~1]

src/main/java/org/eclipse/uprotocol/communication/RpcServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* A server for exposing Remote Procedure Call (RPC) endpoints.
2323
*
24-
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l2/api.adoc">
24+
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.7/up-l2/api.adoc">
2525
* Communication Layer API specification</a>
2626
*/
2727
// [impl->dsn~communication-layer-api-declaration~1]

src/main/java/org/eclipse/uprotocol/communication/Subscriber.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
/**
2626
* A client for subscribing to topics.
2727
*
28-
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l2/api.adoc">
28+
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.7/up-l2/api.adoc">
2929
* Communication Layer API Specifications</a>
3030
*/
3131
// [impl->dsn~communication-layer-api-declaration~1]

src/main/java/org/eclipse/uprotocol/transport/UListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* Implementations contain the details for what should occur when a message is received.
2121
*
22-
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l1/README.adoc">
22+
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.7/up-l1/README.adoc">
2323
* uProtocol Transport Layer specification</a>
2424
*/
2525
// [impl->dsn~ulistener-declaration~1]

src/main/java/org/eclipse/uprotocol/transport/UTransport.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* UTransport implementations contain the details for connecting to the underlying transport technology and
2828
* sending UMessage using the configured technology.
2929
*
30-
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l1/README.adoc">
30+
* @see <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.7/up-l1/README.adoc">
3131
* uProtocol Transport Layer specification</a>
3232
*/
3333
// [impl->dsn~utransport-declaration~1]
@@ -48,7 +48,7 @@ public interface UTransport {
4848
* <p>
4949
* The listener will be invoked for each message that matches the given source filter pattern
5050
* according to the rules defined by the
51-
* <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/basics/uri.adoc">UUri
51+
* <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.7/basics/uri.adoc">UUri
5252
* specification</a>.
5353
* <p>
5454
* This default implementation invokes {@link #registerListener(UUri, Optional<UUri>, UListener)} with the
@@ -71,7 +71,7 @@ default CompletionStage<Void> registerListener(UUri sourceFilter, UListener list
7171
* <p>
7272
* The listener will be invoked for each message that matches the given source and sink filter patterns
7373
* according to the rules defined by the
74-
* <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/basics/uri.adoc">UUri
74+
* <a href="https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.7/basics/uri.adoc">UUri
7575
* specification</a>.
7676
*
7777
* @param sourceFilter The <em>source</em> address pattern that messages need to match.

src/main/java/org/eclipse/uprotocol/uri/serializer/UriSerializer.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Provides functionality for serializing and deserializing {@link UUri}s to/from their
2424
* corresponding URI representation as defined by the uProtocol specification.
2525
*
26-
* @see <a href="https://github.com/eclipse-uprotocol/uprotocol-spec/blob/v1.6.0-alpha.6/basics/uri.adoc">
26+
* @see <a href="https://github.com/eclipse-uprotocol/uprotocol-spec/blob/v1.6.0-alpha.7/basics/uri.adoc">
2727
* uProtocol URI Specification</a>
2828
*/
2929
public final class UriSerializer {
@@ -50,7 +50,7 @@ private UriSerializer() {
5050
* @throws IllegalArgumentException if the UUri does not comply with the UUri specification.
5151
*/
5252
// [impl->dsn~uri-authority-mapping~1]
53-
// [impl->dsn~uri-path-mapping~1]
53+
// [impl->dsn~uri-path-mapping~2]
5454
// [impl->req~uri-serialization~1]
5555
public static String serialize(UUri uuri) {
5656
return serialize(uuri, false);
@@ -69,7 +69,7 @@ public static String serialize(UUri uuri) {
6969
* @throws IllegalArgumentException if the UUri does not comply with the UUri specification.
7070
*/
7171
// [impl->dsn~uri-authority-mapping~1]
72-
// [impl->dsn~uri-path-mapping~1]
72+
// [impl->dsn~uri-path-mapping~2]
7373
// [impl->req~uri-serialization~1]
7474
public static String serialize(UUri uuri, boolean includeScheme) {
7575
Objects.requireNonNull(uuri);
@@ -102,7 +102,7 @@ public static String serialize(UUri uuri, boolean includeScheme) {
102102
* @throws IllegalArgumentException if the URI is invalid.
103103
*/
104104
// [impl->dsn~uri-scheme~1]
105-
// [impl->dsn~uri-path-mapping~1]
105+
// [impl->dsn~uri-path-mapping~2]
106106
// [impl->req~uri-serialization~1]
107107
// [impl->dsn~uri-authority-mapping~1]
108108
public static UUri deserialize(String uProtocolUri) {
@@ -120,7 +120,7 @@ public static UUri deserialize(String uProtocolUri) {
120120
* @throws IllegalArgumentException if the URI is invalid.
121121
*/
122122
// [impl->dsn~uri-scheme~1]
123-
// [impl->dsn~uri-path-mapping~1]
123+
// [impl->dsn~uri-path-mapping~2]
124124
// [impl->req~uri-serialization~1]
125125
// [impl->dsn~uri-authority-mapping~1]
126126
public static UUri deserialize(URI uProtocolUri) {

0 commit comments

Comments
 (0)