Class FileMetadata

  • All Implemented Interfaces:
    Metadata

    public class FileMetadata
    extends AbstractMetadata
    implements Metadata
    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
         } 
       }
     }
     

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