aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2022-10-10 14:30:01 +0000
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2022-10-10 14:30:01 +0000
commitaa4d8afd0d10c79a0605bc9402da2dc7f838f8ee (patch)
tree1778a57bda3d8bac57cb19edeaca30fb68389d58 /README.md
parentf80844c59b994da133af38b66b3403d3231553e3 (diff)
Migrate Mockito 1 to version 2 in the resources service
- update mockito to version 2.4.0 - update eelf-core since it has a compile time dependency to mockito 1.10.19 in version 1 Issue-ID: AAI-3546 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I6ba724fe26b57e9a468bdeb89cadaa6f51e68634
Diffstat (limited to 'README.md')
-rw-r--r--README.md50
1 files changed, 50 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..941a734
--- /dev/null
+++ b/README.md
@@ -0,0 +1,50 @@
+# OpenECOMP AAI Resources
+
+## Introduction
+OpenECOMP AAI Resources is delivered with multiple docker containers with minimum of hbase docker container preinstalled and also have a aai-haproxy container installed for routing
+
+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 Resources
+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 local development environment run:
+``` bash
+mvn -N -P runAjsc
+```
+You have to be in the `aai-resources` folder for that to work!
+
+## 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/cloud-infrastructure/pservers/pserver/<pserver-id>
+
+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/logs` (each module has its own folder)
+
+AJSC Jetty logs can be found under /opt/app/aai-resources/logs/ajsc-jetty.
+The REST interface logs can be found under /opt/app/aai-resources/logs/rest.
+
+## Testing AAI Functionalities
+Any RESTful client such as SoapUI may be configured and setup to use for testing AAI requests.
+
+## Integration Tests
+Integration tests are located in `it` directory, and disabled by default in the pom file:
+`<skipITs>true</skipITs>`
+
+As a naming convention, All integration test classes should end with `IT`, and will be executed by changing the `skipITs` value in pom file, or through the command line `-DskipITs=false`