GithubHelp home page GithubHelp logo

global-localhost / datawave-dictionary-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nationalsecurityagency/datawave-dictionary-service

0.0 0.0 0.0 112 KB

The Dictionary service provides access to the data dictionary and edge dictionary. These services provide metadata about fields that are stored in Accumulo.

License: Apache License 2.0

Dockerfile 0.15% Java 99.85%

datawave-dictionary-service's Introduction

Dictionary Service

Apache License Build Status

The Dictionary service provides access to the data dictionary and edge dictionary. These services provide metadata about fields that are stored in Accumulo.

Root Context

https://host:port/dictionary/


Data Dictionary

The root context for all data dictionary operations is https://host:port/dictionary/data/v1/

Method Operation Description Request Body
GET / Retrieves the data dictionary N/A
GET /Descriptions Retrieves all descriptions from the dictionary N/A
GET /Descriptions/{datatype} Retrieves all descriptions for a data type from the dictionary N/A
GET /Descriptions/{datatype}/{fieldname} Retrieves from the dictionary the description for a field of a data type N/A
POST /Descriptions Uploads a set of descriptions into the dictionary DefaultFields
PUT /Descriptions/{datatype}/{fieldName}/{description} Sets the description for a field in a datatype N/A
POST /Descriptions Sets the description for a field in a datatype N/A
DELETE /Descriptions/{datatype}/{fieldname} Removes the description from a field of a data type N/A

Edge Dictionary

The root context for all edge dictionary operations is https://host:port/dictionary/edge/v1/

Method Operation Description Request Body
GET / Retrieves the edge dictionery N/A

Getting Started

  1. First, refer to services/README for launching the config, authorization, and audit services.

    • The authorization service should be launched with the mock profile to leverage test PKI materials and associated user configuration (see [authorization-mock.yml][auth-mock-yml]).
  2. Launch this service as follows, with the remoteauth profile to enable client cert authentication.

    java -jar service/target/dictionary-service*-exec.jar --spring.profiles.active=dev,remoteauth
    
  3. Ensure that the testUser.p12 (password: ChangeIt) cert is imported into your browser, and then visit any of the following:

    See sample_configuration/dictionary-dev.yml and configure as desired

datawave-dictionary-service's People

Contributors

brianloss avatar friedlou avatar ivakegg avatar jwomeara avatar jzgithub1 avatar lbschanno avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.