2019-09-05 AAI Developers Meeting

Attachments (including meeting recording)

  File Modified

PNG File Screen-747.png

Aug 29, 2019 by Former user





Status

Open

In Progress

On Hold

Done

Cancelled

Agenda Items

START RECORDING

Title

Raised By

Status

Last discussed

Notes

Title

Raised By

Status

Last discussed

Notes

1

No free nodeports in the 302XX range

@Former user (Deleted) @Venkata Harish Kajur

Open



The aai-oom template forces all aai components to use 302XX port range, but it seems that this range is fully allocated OOM NodePort List (except 2 instances where the port allocation is striked through - not sure what that means).

We should discuss how to enable aai components nodeport allocation in aai-oom or circumvent nodeport usage via HAproxy (as suggested by @Venkata Harish Kajur).

2

Schema validation tool

@Former user (Deleted)

In Progress

2019-08-29

Ongoing progress to flash out possible validation rules for the schema AAI Schema and EdgeRule Audit rules

Rules from a JUnit test https://gerrit.onap.org/r/gitweb?p=aai/schema-service.git;a=blob;f=aai-schema/src/test/java/org/onap/aai/schema/ValidateOXMTest.java;h=0dcf1b3abf1830a2d70cffe574877d4690c14fe0;hb=HEAD

https://lf-onap.atlassian.net/browse/AAI-2583

3

Helm Chart Common Templates

@Venkata Harish Kajur

In Progress

2019-08-29

https://lf-onap.atlassian.net/browse/OOM-1936

https://gerrit.onap.org/r/c/oom/+/91553

https://gerrit.onap.org/r/c/aai/oom/+/91550

Use of common templates in the helm charts and have it driven from the values.yaml since all the helm charts are identical except the following things such as volumes, volume mounts, ConfigMap and secrets.

The goal is to extract all that information in the values.yaml file and use common templates to enable more consistency.

In each of the individual helm charts, we have a filebeat sidecar container, when creating a new helm chart, they just have to say if their chart should enable it or not in the values.yaml.

4

AAI Use Cases

@Former user (Deleted)







5

BYOQ DSL wiki

@Keong Lim

In Progress

2019-08-29

Referring to https://wiki.onap.org/display/DW/cloud-region-fromVnf

and https://gerrit.onap.org/r/gitweb?p=aai/schema-service.git;a=blob;f=aai-queries/src/main/resources/schema/onap/query/stored-queries.json;hb=HEAD#l3

Wiki page says that output is:

vserver vnfc tenant cloud-region

but stored-queries.json definition includes:

.createEdgeTraversal(EdgeType.COUSIN, 'vserver', 'pserver').store('x')

So the output should also include "pserver"?

Also, the wiki page shows



The formatting of the traversal suggests that only cloud-region would be returned, which is inconsistent with the sections above on the same page.

Which one is correct for this case?



This is my attempt at a translation of the Gremlin query into DSL query:

{ "dsl":"generic-vnf*('vnf-id',‘id number') > [ vnfc* > vserver* > [ pserver*, tenant* > cloud-region* ] , vserver* > [ pserver*, tenant* > cloud-region* ] ]" }

Please confirm whether this is accurate and correct.

@Venkata Harish Kajurwill let this code block be reviewed. Sep 12, 2019 

Update 9/11/19

Original custom query was supposed to return vserver, vnfc, tenant, cloud-region but there was an enhancement to that story to include pserver, generic-vnf.

The DSL looks correct.

6

AAI-EVENT configuration

@Keong Lim

In Progress

2019-08-29

While investigating and responding to https://lists.onap.org/g/onap-discuss/topic/32651336 discovered that topic name "AAI-EVENT" appears in some configuration property files but also hard-coded into some Java files.

Is this topic name intended to be fully configurable or not?

e.g.

Configured: https://gerrit.onap.org/r/gitweb?p=aai/graphadmin.git;a=blob;f=src/main/resources/etc/appprops/aaiconfig.properties;hb=HEAD#l53

Configured: https://gerrit.onap.org/r/gitweb?p=aai/resources.git;a=blob;f=aai-resources/src/main/resources/etc/appprops/aaiconfig.properties;hb=HEAD#l58

Hard-coded: https://gerrit.onap.org/r/gitweb?p=aai/aai-common.git;a=blob;f=aai-core/src/main/java/org/onap/aai/dmaap/AAIDmaapEventJMSConsumer.java;hb=HEAD#l121

Hard-coded: https://gerrit.onap.org/r/gitweb?p=aai/aai-common.git;a=blob;f=aai-core/src/main/java/org/onap/aai/util/StoreNotificationEvent.java;hb=HEAD#l332

  1. We need to concentrate configuration (like event name) on one place and not have it spread throughout the properties/java classes

  2. A description of the payload, so that possible new consumers know what to expect. Maybe a light description would be good.



7

2 Types of logging in A&AI WS

@Former user (Deleted)

On Hold



1st Nov 2018

There are 2 types of logging in the services

  • one read from EELFManager

  • the other Logger log = Logger.getLogger( ...

Is that correct? Shouldn't there be just 1 type?

1st Nov:

After Casablanca release investigate logging guidelines and figure out what library to use in order to unify logging within A&AI

26th Nov: See also ONAP Application Logging Specification - Post Dublin

29th Nov: how does this fit with https://lf-onap.atlassian.net/browse/LOG-877 ?

28th May: @Stela Stoykova is fixing https://lf-onap.atlassian.net/browse/AAI-2462. Are there more that should be done for El Alto?

https://gerrit.onap.org/r/c/aai/cacher/+/85319

@Former user (Deleted) reach out to the logging enhancement team and ask if there is a ONAP-wide logging system which we should use as the A&AI microservicese use at least 2 different approaches Sep 12, 2019 
8

Return codes and messages for WS

@Former user (Deleted)

On Hold

25th Apr 2019

Is there a guide for the description of the error message and the error codes? How are new error states (message + code) added?

@William LaMont will send @James Forsyth the output of a script that formats the error.properties file to make a wiki page and readthedocs
@James Forsyth should commit that script and create a wiki for the error properties

9

range query

@Keong Lim

In Progress

2019-08-29

@James Forsyth  will invite  @Arul Nambi and @CT Paterson to next week's dev call to talk about how sparky/elastic does partial/range matches Sep 12, 2019 



10

New AAF Certificates at startup

Jimmy Forsyth 

On Hold

24th Jan 2019

https://lf-onap.atlassian.net/browse/AAI-2476

AAF will generate certificates to the be used by the containers at startup; AAI services should use the run-time generated certs instead of the ones that are in the repos or oom charts.

In dublin the services will mount a volume with certificates. This is on the roadmap for Dublin as a feature.

  • is this for all service and/or HAProxy?

  • Where are the certificates coming from (OOM/gerrit/generated by AAF)

12th June 2019: Jonathan Gathman demonstrated aaf-hello functionality at DDF event

@James Forsyth create JIRA task for this topic Sep 12, 2019 
11

AAI HAProxy and 2-way-TLS

@Former user (Deleted)

On Hold

2019-08-29

Technical solution to either decommission the proxy or make design changes to AAF to enable client side certificates.

After VF2F we will know if this is a requirement in Dublin. We discuss after this date.

question raised: MSB - would client authentication be supported?

15th Dec: https://lf-onap.atlassian.net/wiki/display/DW/Pluggable+Security#PluggableSecurity-7.10Identifiedandsupportedpatternsandfeatures

@James Forsythcreates a task for encryption of communication between A&AI services and Cassandra Sep 12, 2019

@Tian Lee and @Steve Blimkie to report on the Amdocs managed A&AI microservice wheter they support criteria from the Dublin S3P requirements Jan 31, 2019 

@James Forsyth  - please update if this agenda item is still relevant