package
3.0.9+incompatible
Repository: https://github.com/ckloh720/pydio-cells.git
Documentation: pkg.go.dev

# README

Meta Service

A central storage for all nodes metadata.

API

Metadata are stored JSON-serialized and associated to nodes UUID. This service is not indexed (except by node UUID). See the Search service if you need to make metadata queryable.

This service provides two handlers:

  • GRPC: for internal communication
  • HTTP API: for setting/reading meta from the clients.

TODO: Later should be transformed to a REST service.

Events

Meta service publishes the following NodeChange events to the topic common.TOPIC_META_CHANGES :

  • NodeChangeEvent_UPDATE_META
  • NodeChangeEvent_DELETE

Meta service is subscribing to the following NodeChange events on topic common.TOPIC_TREE_CHANGES

  • NodeChangeEvent_CREATE : extract meta from node and store it
  • NodeChangeEvent_UPDATE_PATH : same
  • NodeChangeEvent_UPDATE_META : same
  • NodeChangeEvent_DELETE : remove all metadata stored for this node

Storage

Storage is currently implemented in SQL, providing both MySQL and Sqlite implementations.

# Packages

Package grpc provides a GRPC access to the underlying persistence layer for files metadata.
Package rest provides a REST API for querying the tree metadata.

# Functions

No description provided by the author

# Interfaces

No description provided by the author