You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sdap.apache.org by ea...@apache.org on 2020/08/04 23:49:10 UTC

[incubator-sdap-ingester] branch collection-manager-events updated (7d5ad0f -> 13e7b9b)

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

eamonford pushed a change to branch collection-manager-events
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-ingester.git.


 discard 7d5ad0f  log all fs events
     add c599caf  SDAP-271 Cassandra authentication support (#11)
     new 13e7b9b  log all fs events

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (7d5ad0f)
            \
             N -- N -- N   refs/heads/collection-manager-events (13e7b9b)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 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:
 granule_ingester/docker/entrypoint.sh              |  2 ++
 .../granule_ingester/exceptions/Exceptions.py      | 41 ++++++++++++++++++++++
 .../granule_ingester/exceptions/__init__.py        | 11 ++++++
 granule_ingester/granule_ingester/main.py          | 30 ++++++++++++----
 .../granule_ingester/writers/CassandraStore.py     | 39 ++++++++++++++------
 5 files changed, 106 insertions(+), 17 deletions(-)
 create mode 100644 granule_ingester/granule_ingester/exceptions/Exceptions.py
 create mode 100644 granule_ingester/granule_ingester/exceptions/__init__.py


[incubator-sdap-ingester] 01/01: log all fs events

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

eamonford pushed a commit to branch collection-manager-events
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-ingester.git

commit 13e7b9b1dc2b22bb340425ff2db645eda9ad26d5
Author: Eamon Ford <ea...@gmail.com>
AuthorDate: Tue Aug 4 15:26:17 2020 -0700

    log all fs events
---
 collection_manager/collection_manager/services/CollectionWatcher.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/collection_manager/collection_manager/services/CollectionWatcher.py b/collection_manager/collection_manager/services/CollectionWatcher.py
index 8911806..63dd30c 100644
--- a/collection_manager/collection_manager/services/CollectionWatcher.py
+++ b/collection_manager/collection_manager/services/CollectionWatcher.py
@@ -161,6 +161,11 @@ class _GranuleEventHandler(FileSystemEventHandler):
         self._callback = callback
         self._collections_for_dir = collections_for_dir
 
+    def on_any_event(self, event):
+        super().on_created(event)
+
+        logger.info(f"Collection Watcher received event: {event}")
+
     def on_created(self, event):
         super().on_created(event)
         for collection in self._collections_for_dir: