You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by ti...@apache.org on 2021/09/09 12:15:31 UTC

[aries-typedevent] branch main updated (3c58a7f -> c05d6e1)

This is an automated email from the ASF dual-hosted git repository.

timothyjward pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/aries-typedevent.git.


    from 3c58a7f  Switch to the RC1 API jar from OSGi
     new 1b7cc37  Fix JavaDoc ahead of creating a first release
     new c05d6e1  Add missing license headers before release

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../org.apache.aries.typedevent.remote.api/pom.xml | 11 ++++++++
 .../typedevent/remote/api/RemoteEventMonitor.java  | 30 +++++++++++-----------
 .../pom.xml                                        | 11 ++++++++
 .../remote/remoteservices/impl/Config.java         | 16 ++++++++++++
 .../remote/remoteservices/spi/RemoteEventBus.java  |  4 ++-
 .../org.apache.aries.typedevent.remote.spi/pom.xml | 11 ++++++++
 org.apache.aries.typedevent.remote/pom.xml         | 11 ++++++++
 7 files changed, 78 insertions(+), 16 deletions(-)

[aries-typedevent] 01/02: Fix JavaDoc ahead of creating a first release

Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

timothyjward pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/aries-typedevent.git

commit 1b7cc37d52ef03d11699a67342765967e9fa5957
Author: Tim Ward <ti...@apache.org>
AuthorDate: Thu Sep 9 12:50:01 2021 +0100

    Fix JavaDoc ahead of creating a first release
---
 .../typedevent/remote/api/RemoteEventMonitor.java  | 30 +++++++++++-----------
 .../remote/remoteservices/spi/RemoteEventBus.java  |  4 ++-
 2 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.api/src/main/java/org/apache/aries/typedevent/remote/api/RemoteEventMonitor.java b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.api/src/main/java/org/apache/aries/typedevent/remote/api/RemoteEventMonitor.java
index 0bbcf9c..1f0a791 100644
--- a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.api/src/main/java/org/apache/aries/typedevent/remote/api/RemoteEventMonitor.java
+++ b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.api/src/main/java/org/apache/aries/typedevent/remote/api/RemoteEventMonitor.java
@@ -36,13 +36,13 @@ public interface RemoteEventMonitor {
      * In some cases this may be more optimal than adding your own filter to the returned
      * PushStream.
      *
-     * @param filters containing filter expression definitions. The {@link RemoteMonitorEvent#eventType}
-     *                field is available with the key <code>-eventType</code> and the
-     *                {@link RemoteMonitorEvent#publishType} field is available with the key
-     *                <code>-publishType</code>, in addition to fields defined in the event.
+     * @param filters containing filter expression definitions. The {@link RemoteMonitorEvent#publishType} 
+     *                field is available with the key <code>-publishType</code>, in addition to fields 
+     *                defined in the event.
+     *                <p>
      *                If the event contains nested data structures then those are accessible using
      *                nested key names separated by a '.' character (e.g. <code>"foo.bar"</code>
-     *                would correspond to the <code>bar<code> field of the <code>foo</code> value
+     *                would correspond to the <code>bar</code> field of the <code>foo</code> value
      *                from the event.
      *                <p>
      *                If a {@link FilterDTO} contains both LDAP and regular expressions, then both must match.
@@ -61,13 +61,13 @@ public interface RemoteEventMonitor {
      * may be returned if history is unavailable, or if
      * insufficient events have been sent.
      *
-     * @param filters containing filter expression definitions. The {@link RemoteMonitorEvent#eventType}
-     *                field is available with the key <code>-eventType</code> and the
-     *                {@link RemoteMonitorEvent#publishType} field is available with the key
-     *                <code>-publishType</code>, in addition to fields defined in the event.
+     * @param filters containing filter expression definitions. The {@link RemoteMonitorEvent#publishType} 
+     *                field is available with the key <code>-publishType</code>, in addition to fields 
+     *                defined in the event.
+     *                <p>
      *                If the event contains nested data structures then those are accessible using
      *                nested key names separated by a '.' character (e.g. <code>"foo.bar"</code>
-     *                would correspond to the <code>bar<code> field of the <code>foo</code> value
+     *                would correspond to the <code>bar</code> field of the <code>foo</code> value
      *                from the event.
      *                <p>
      *                If a {@link FilterDTO} contains both LDAP and regular expressions, then both must match.
@@ -87,13 +87,13 @@ public interface RemoteEventMonitor {
      * that events may have been discarded, or history
      * unavailable.
      *
-     * @param filters containing filter expression definitions. The {@link RemoteMonitorEvent#eventType}
-     *                field is available with the key <code>-eventType</code> and the
-     *                {@link RemoteMonitorEvent#publishType} field is available with the key
-     *                <code>-publishType</code>, in addition to fields defined in the event.
+     * @param filters containing filter expression definitions. The {@link RemoteMonitorEvent#publishType} 
+     *                field is available with the key <code>-publishType</code>, in addition to fields 
+     *                defined in the event.
+     *                <p>
      *                If the event contains nested data structures then those are accessible using
      *                nested key names separated by a '.' character (e.g. <code>"foo.bar"</code>
-     *                would correspond to the <code>bar<code> field of the <code>foo</code> value
+     *                would correspond to the <code>bar</code> field of the <code>foo</code> value
      *                from the event.
      *                <p>
      *                If a {@link FilterDTO} contains both LDAP and regular expressions, then both must match.
diff --git a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/src/main/java/org/apache/aries/typedevent/remote/remoteservices/spi/RemoteEventBus.java b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/src/main/java/org/apache/aries/typedevent/remote/remoteservices/spi/RemoteEventBus.java
index 2c0336e..085ffa1 100644
--- a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/src/main/java/org/apache/aries/typedevent/remote/remoteservices/spi/RemoteEventBus.java
+++ b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/src/main/java/org/apache/aries/typedevent/remote/remoteservices/spi/RemoteEventBus.java
@@ -30,13 +30,15 @@ import org.osgi.annotation.versioning.ProviderType;
 public interface RemoteEventBus {
     
     /**
-     * This service property provides a String+ containing <topic>=<filter> 
+     * This service property provides a String+ containing &lt;topic&gt;=&lt;filter&gt; 
      * entries indicating the events that the remote nodes are interested in.
      */
     public static final String REMOTE_EVENT_FILTERS = "remote.event.filters";
     
     /**   
      * Called to notify this instance of an event from a remote framework
+     * @param topic The topic
+     * @param eventData The untyped event data
      */
     public void notify(String topic, Map<String, Object> eventData);
 }

[aries-typedevent] 02/02: Add missing license headers before release

Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

timothyjward pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/aries-typedevent.git

commit c05d6e18198bbed3e52c7b69550a1e6d0b4694e4
Author: Tim Ward <ti...@apache.org>
AuthorDate: Thu Sep 9 13:12:58 2021 +0100

    Add missing license headers before release
---
 .../org.apache.aries.typedevent.remote.api/pom.xml       | 11 +++++++++++
 .../pom.xml                                              | 11 +++++++++++
 .../typedevent/remote/remoteservices/impl/Config.java    | 16 ++++++++++++++++
 .../org.apache.aries.typedevent.remote.spi/pom.xml       | 11 +++++++++++
 org.apache.aries.typedevent.remote/pom.xml               | 11 +++++++++++
 5 files changed, 60 insertions(+)

diff --git a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.api/pom.xml b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.api/pom.xml
index b85fff2..e3abcbc 100644
--- a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.api/pom.xml
+++ b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.api/pom.xml
@@ -1,3 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
+    license agreements. See the NOTICE file distributed with this work for additional 
+    information regarding copyright ownership. The ASF licenses this file to 
+    you under the Apache License, Version 2.0 (the "License"); you may not use 
+    this file except in compliance with the License. You may obtain a copy of 
+    the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
+    by applicable law or agreed to in writing, software distributed under the 
+    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
+    OF ANY KIND, either express or implied. See the License for the specific 
+    language governing permissions and limitations under the License. -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
diff --git a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/pom.xml b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/pom.xml
index 3f90a1b..6d35d16 100644
--- a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/pom.xml
+++ b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/pom.xml
@@ -1,3 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
+    license agreements. See the NOTICE file distributed with this work for additional 
+    information regarding copyright ownership. The ASF licenses this file to 
+    you under the Apache License, Version 2.0 (the "License"); you may not use 
+    this file except in compliance with the License. You may obtain a copy of 
+    the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
+    by applicable law or agreed to in writing, software distributed under the 
+    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
+    OF ANY KIND, either express or implied. See the License for the specific 
+    language governing permissions and limitations under the License. -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
diff --git a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/src/main/java/org/apache/aries/typedevent/remote/remoteservices/impl/Config.java b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/src/main/java/org/apache/aries/typedevent/remote/remoteservices/impl/Config.java
index b1b5342..945de6d 100644
--- a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/src/main/java/org/apache/aries/typedevent/remote/remoteservices/impl/Config.java
+++ b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.remoteservices/src/main/java/org/apache/aries/typedevent/remote/remoteservices/impl/Config.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.aries.typedevent.remote.remoteservices.impl;
 
 public @interface Config {
diff --git a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.spi/pom.xml b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.spi/pom.xml
index daffc8f..05481e0 100644
--- a/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.spi/pom.xml
+++ b/org.apache.aries.typedevent.remote/org.apache.aries.typedevent.remote.spi/pom.xml
@@ -1,3 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
+    license agreements. See the NOTICE file distributed with this work for additional 
+    information regarding copyright ownership. The ASF licenses this file to 
+    you under the Apache License, Version 2.0 (the "License"); you may not use 
+    this file except in compliance with the License. You may obtain a copy of 
+    the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
+    by applicable law or agreed to in writing, software distributed under the 
+    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
+    OF ANY KIND, either express or implied. See the License for the specific 
+    language governing permissions and limitations under the License. -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
diff --git a/org.apache.aries.typedevent.remote/pom.xml b/org.apache.aries.typedevent.remote/pom.xml
index 79ff373..8136576 100644
--- a/org.apache.aries.typedevent.remote/pom.xml
+++ b/org.apache.aries.typedevent.remote/pom.xml
@@ -1,3 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
+    license agreements. See the NOTICE file distributed with this work for additional 
+    information regarding copyright ownership. The ASF licenses this file to 
+    you under the Apache License, Version 2.0 (the "License"); you may not use 
+    this file except in compliance with the License. You may obtain a copy of 
+    the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
+    by applicable law or agreed to in writing, software distributed under the 
+    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
+    OF ANY KIND, either express or implied. See the License for the specific 
+    language governing permissions and limitations under the License. -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">