Class MetadataFile

All Implemented Interfaces:
Metadata, org.osgi.service.event.EventHandler

public class MetadataFile extends AbstractMetadata implements Metadata, org.osgi.service.event.EventHandler
This implementation of MetadataService reads Edges configuration from a file. The layout of the file is as follows:
 {
   edges: {
     [edgeId: string]: {
       comment: string,
       apikey: string
       setuppassword?: string
     }
   }
 }
 

This implementation does not require any login. It always serves the same user, which has 'ADMIN'-permissions on all given Edges.