GithubHelp home page GithubHelp logo

mbrukman / aai-traversal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from onap/aai-traversal

0.0 1.0 0.0 2.02 MB

Mirror of https://gerrit.onap.org/r/#/admin/projects/aai/traversal

License: Other

Dockerfile 0.04% Shell 2.23% Java 97.50% ANTLR 0.08% Batchfile 0.15%

aai-traversal's Introduction

OpenECOMP AAI Traversal



Introduction

OpenECOMP AAI Traversal is delivered with multiple docker containers with hbase, and gremlin docker container preinstalled and also have a aai-haproxy container installed for routing requests properly between resources and graph query docker containers

For demo app use case you can install all three of the containers in one machine. Configuration and deployment of hbase for any other use cases should be evaluated and updated accordingly.

Compiling AAI Traversal

AAI can be compiled easily with a mvn clean install -DskipTests. Integration tests are started by omitting the skipTests flag mvn clean install

Starting AAI

In a developer local environment using the following: mvn -N -P runAjsc

Accessing AAI APIs

Most of the AAI features within OpenECOMP are triggered by using RESTful interfaces. AAI is configured on this release with HTTPS only using Basic Authentication. Two way SSL using client certificates should be considered and used for non demo use case deployments.

The MSO APIs are configured to accept requests having a basic auth. header set with various username and password depending on which client is triggering the request. The realm.properties contains the credentials for the OpenECOMP components and these should be changed as appropriate.

All API endpoints are exposed on port 8443.

Example API endpoints in the first open source release

http://aai.api.simpledemo.openecomp.org:8443/aai/v10/query

The easy way to trigger these endpoints is to use a RESTful client or automation framework. HTTP GET/PUT/DELETE are supported for most resource endpoints. More information on the REST interface can be found in the AAI Service REST API specification.

Configuring AAI

The Docker containers use a Chef based configuration file (JSON) in order to provision AAI basic configuration for the demo app use case set up.

Logging

EELF framework is used for specific logs (audit, metric and error logs). They are tracking inter component logs (request and response) and allow to follow a complete flow through the AAI subsystem

EELF logs are located at the following location on the AAI Service container:

  • /opt/app/aai-traversal/logs (each module has its own folder)

AJSC Jetty logs can be found under /opt/app/aai-traversal/logs/ajsc-jetty. The REST interface logs can be found under /opt/app/aai-traversal/logs/rest.

Testing AAI Functionalities

Any RESTful client such as SoapUI may be configured and setup to use for testing AAI requests.

aai-traversal's People

Contributors

adamwudzinski avatar aishwaryakashyap avatar debeaueric avatar electrocucaracha avatar foo1bus2 avatar jwagantall avatar ma9181 avatar rb2745 avatar sandeejh avatar shashikanth-huawei avatar tykeal avatar wl2432 avatar

Watchers

 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.