summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--INFO.yaml27
-rw-r--r--docs/sections/apis/ves.rst6
-rw-r--r--docs/sections/configuration.rst2
-rw-r--r--docs/sections/consumedapis.rst11
-rw-r--r--docs/sections/design-components/component-specification/component-json-schema.rst223
-rwxr-xr-xdocs/sections/design-components/component-specification/component-type-docker.rst45
-rwxr-xr-xdocs/sections/design-components/component-specification/docker-specification.rst40
-rw-r--r--docs/sections/design-components/requirements-guidelines.rst2
-rw-r--r--docs/sections/release-notes.rst54
-rw-r--r--docs/sections/services/dfc/architecture.rst2
-rw-r--r--docs/sections/services/dfc/certificates.rst2
-rw-r--r--docs/sections/services/heartbeat-ms/build_setup.rst2
-rw-r--r--docs/sections/services/heartbeat-ms/testprocedure.rst8
-rw-r--r--docs/sections/services/pm-mapper/configuration.rst14
-rw-r--r--docs/sections/services/pm-subscription-handler/configuration.rst4
-rw-r--r--docs/sections/services/snmptrap/installation.rst6
-rw-r--r--docs/sections/services/son-handler/installation.rst6
-rw-r--r--docs/sections/services/ves-http/installation.rst9
-rw-r--r--docs/sections/tls_enablement.rst101
-rwxr-xr-xmvn-phase-lib.sh8
-rwxr-xr-xmvn-phase-script.sh4
21 files changed, 386 insertions, 190 deletions
diff --git a/INFO.yaml b/INFO.yaml
index 6156aab4..e8f68ad3 100644
--- a/INFO.yaml
+++ b/INFO.yaml
@@ -1,4 +1,3 @@
----
project: 'dcaegen2'
project_creation_date: '2017-06-28'
project_category: ''
@@ -26,7 +25,7 @@ meetings:
server: 'n/a'
channel: 'n/a'
repeats: 'weekly'
- time: '13:00 UTC (DST), 15:30 UTC (post DST)'
+ time: 'Wednesday, 14.30 UTC'
repositories:
- 'dcaegen2'
committers:
@@ -36,26 +35,11 @@ committers:
company: 'ATT'
id: 'wrider'
timezone: 'America/New_York'
- - name: 'Michael Hwang'
- email: 'mhwang@research.att.com'
- company: 'ATT'
- id: 'researchmike'
- timezone: 'America/New_York'
- name: 'Tony Hansen'
email: 'tony@att.com'
company: 'ATT'
id: 'TonyLHansen'
timezone: 'America/New_York'
- - name: 'Yan Yang'
- email: 'yangyanyj@chinamobile.com'
- company: 'ChinaMobile'
- id: 'yangyan'
- timezone: 'Asia/Shanghai'
- - name: 'Xinhui Li'
- email: 'lxinhui@vmware.com'
- company: 'VMware'
- id: 'xinhuili'
- timezone: 'Asia/Shanghai'
- name: 'Jack Lucas'
email: 'jflucas@research.att.com'
company: 'ATT'
@@ -72,3 +56,12 @@ tsc:
- type: 'Addition'
name: 'Joseph O Leary'
link: 'https://lists.onap.org/g/onap-tsc/message/5715'
+ - type: 'Removal'
+ name: 'Michael Hwang'
+ link: 'https://lists.onap.org/g/onap-tsc/message/5859'
+ - type: 'Removal'
+ name: 'Yan Yang'
+ link: 'https://lists.onap.org/g/onap-tsc/message/6814'
+ - type: 'Removal'
+ name: 'Xinhui Li'
+ link: 'https://lists.onap.org/g/onap-tsc/message/6814'
diff --git a/docs/sections/apis/ves.rst b/docs/sections/apis/ves.rst
index 4ddd7b1d..35d4ebdb 100644
--- a/docs/sections/apis/ves.rst
+++ b/docs/sections/apis/ves.rst
@@ -28,14 +28,14 @@ onap-discuss@lists.onap.org
Security
~~~~~~~~
-`VES Authentication Types <https://docs.onap.org/en/latest/submodules/dcaegen2.git/docs/sections/services/ves-http/tls-authentication.html>`_
+`VES Authentication Types <https://docs.onap.org/projects/onap-dcaegen2/en/latest/sections/services/ves-http/tls-authentication.html>`_
VES Specification
~~~~~~~~~~~~~~~~~
-- `VES 7.1.1 Data Model <https://docs.onap.org/en/latest/submodules/vnfrqts/requirements.git/docs/Chapter8/ves7_1spec.html#common-event-format>`_
-- `VES 5.4 Data Model <https://docs.onap.org/en/latest/submodules/vnfrqts/requirements.git/docs/Chapter8/ves_5_4_1/VESEventListener.html#common-event-format>`_
+- `VES 7.1.1 Data Model <https://docs.onap.org/projects/onap-vnfrqts-requirements/en/latest/Chapter8/ves7_1spec.html#common-event-format>`_
+- `VES 5.4 Data Model <https://docs.onap.org/projects/onap-vnfrqts-requirements/en/latest/Chapter8/ves_5_4_1/VESEventListener.html#common-event-format>`_
Response Code
diff --git a/docs/sections/configuration.rst b/docs/sections/configuration.rst
index b62a5406..d9bdae4d 100644
--- a/docs/sections/configuration.rst
+++ b/docs/sections/configuration.rst
@@ -47,7 +47,7 @@ In addition, for DCAE components deployed through Cloudify Manager blueprints, t
* The blueprint input files may contain Helm templates, which are resolved into actual deployment time values following the rules for Helm values.
-DCAE Service components are deployed via Cloudify Blueprints. Instruction for deployment and configuration are documented under https://docs.onap.org/en/latest/submodules/dcaegen2.git/docs/sections/services/serviceindex.html
+DCAE Service components are deployed via Cloudify Blueprints. Instruction for deployment and configuration are documented under https://docs.onap.org/projects/onap-dcaegen2/en/latest/sections/services/serviceindex.html
Now we walk through an example, how to configure the Docker image for the DCAE VESCollector, which is deployed by Cloudify Manager.
diff --git a/docs/sections/consumedapis.rst b/docs/sections/consumedapis.rst
index 637ac7b2..80e177e9 100644
--- a/docs/sections/consumedapis.rst
+++ b/docs/sections/consumedapis.rst
@@ -15,8 +15,9 @@ Consumed APIs
DCAEGEN2 Components making following API calls into other ONAP components.
-* `DMaaP Message Router <https://docs.onap.org/en/latest/submodules/dmaap/messagerouter/messageservice.git/docs/offeredapis/offeredapis.html>`_
-* `DMaaP Data Router <https://docs.onap.org/en/latest/submodules/dmaap/datarouter.git/docs/offeredapis.html>`_
-* `Policy <https://docs.onap.org/en/latest/submodules/policy/engine.git/docs/platform/offeredapis.html>`_
-* `SDC <https://docs.onap.org/en/latest/submodules/sdc.git/docs/offeredapis.html>`_
-* `A&AI <https://docs.onap.org/en/latest/submodules/aai/aai-common.git/docs/platform/offeredapis.html>`_ \ No newline at end of file
+* `DMaaP Message Router <https://docs.onap.org/projects/onap-dmaap-messagerouter-messageservice/en/latest/offeredapis/offeredapis.html>`_
+* `DMaaP Data Router <https://docs.onap.org/projects/onap-dmaap-datarouter/en/latest/offeredapis.html>`_
+* `DMaaP Buscontroller <https://docs.onap.org/projects/onap-dmaap-dbcapi/en/latest/api.html#offeredapis>`_
+* `Policy <https://docs.onap.org/projects/onap-policy-engine/en/latest/platform/offeredapis.html>`_
+* `SDC <https://docs.onap.org/projects/onap-sdc/en/latest/offeredapis.html>`_
+* `A&AI <https://docs.onap.org/projects/onap-aai-aai-common/en/latest/platform/offeredapis.html>`_ \ No newline at end of file
diff --git a/docs/sections/design-components/component-specification/component-json-schema.rst b/docs/sections/design-components/component-specification/component-json-schema.rst
index 18139598..d1d4ef49 100644
--- a/docs/sections/design-components/component-specification/component-json-schema.rst
+++ b/docs/sections/design-components/component-specification/component-json-schema.rst
@@ -52,9 +52,9 @@ The same is provided below for documentation reference.
"uniqueItems": true,
"items": {
"oneOf": [
- { "$ref": "#/definitions/publisher_http" },
- { "$ref": "#/definitions/publisher_message_router" },
- { "$ref": "#/definitions/publisher_data_router" }
+ { "$ref": "#/definitions/publisher_http" },
+ { "$ref": "#/definitions/publisher_message_router" },
+ { "$ref": "#/definitions/publisher_data_router" }
]
}
},
@@ -63,9 +63,9 @@ The same is provided below for documentation reference.
"uniqueItems": true,
"items": {
"oneOf": [
- { "$ref": "#/definitions/subscriber_http" },
- { "$ref": "#/definitions/subscriber_message_router" },
- { "$ref": "#/definitions/subscriber_data_router" }
+ { "$ref": "#/definitions/subscriber_http" },
+ { "$ref": "#/definitions/subscriber_message_router" },
+ { "$ref": "#/definitions/subscriber_data_router" }
]
}
}
@@ -98,7 +98,7 @@ The same is provided below for documentation reference.
"provides"
]
},
- "parameters" : {
+ "parameters" : {
"anyOf" : [
{"$ref": "#/definitions/docker-parameters"},
{"$ref": "#/definitions/cdap-parameters"}
@@ -120,25 +120,25 @@ The same is provided below for documentation reference.
"policy_info": {
"type": "object",
"properties": {
- "policy":
+ "policy":
{
"type": "array",
- "items":
+ "items":
{
"type": "object",
- "properties":
+ "properties":
{
- "node_label":
+ "node_label":
{
"type": "string"
},
- "policy_id":
+ "policy_id":
{
- "type": "string"
+ "type": "string"
},
- "policy_model_id":
+ "policy_model_id":
{
- "type": "string"
+ "type": "string"
}
},
"required": ["node_label", "policy_model_id"]
@@ -173,18 +173,18 @@ The same is provided below for documentation reference.
"app_preferences" : {
"description" : "Parameters Passed down to the CDAP preference API",
"type": "array",
- "uniqueItems": true,
- "items": {
- "$ref": "#/definitions/parameter"
- }
+ "uniqueItems": true,
+ "items": {
+ "$ref": "#/definitions/parameter"
+ }
},
"app_config" : {
"description" : "Parameters Passed down to the CDAP App Config",
"type": "array",
- "uniqueItems": true,
- "items": {
- "$ref": "#/definitions/parameter"
- }
+ "uniqueItems": true,
+ "items": {
+ "$ref": "#/definitions/parameter"
+ }
}
}
},
@@ -199,11 +199,11 @@ The same is provided below for documentation reference.
},
"program_pref":{
"description" : "Parameters that the CDAP developer wants pushed to this program's preferences API. Optional",
- "type": "array",
- "uniqueItems": true,
- "items": {
- "$ref": "#/definitions/parameter"
- }
+ "type": "array",
+ "uniqueItems": true,
+ "items": {
+ "$ref": "#/definitions/parameter"
+ }
}
},
"required": ["program_type", "program_id", "program_pref"]
@@ -221,8 +221,8 @@ The same is provided below for documentation reference.
},
"parameter": {
"oneOf": [
- {"$ref": "#/definitions/parameter-list"},
- {"$ref": "#/definitions/parameter-other"}
+ {"$ref": "#/definitions/parameter-list"},
+ {"$ref": "#/definitions/parameter-other"}
]
},
"parameter-list": {
@@ -255,10 +255,10 @@ The same is provided below for documentation reference.
}
},
"entry_schema": {
- "description": "The optional property used to declare the name of the Datatype definition for entries of certain types. entry_schema must be defined when the type is list. This is the only type it is currently supported for.",
- "type": "object",
- "uniqueItems": true,
- "items": {"$ref": "#/definitions/list-parameter"}
+ "description": "The optional property used to declare the name of the Datatype definition for entries of certain types. entry_schema must be defined when the type is list. This is the only type it is currently supported for.",
+ "type": "object",
+ "uniqueItems": true,
+ "items": {"$ref": "#/definitions/list-parameter"}
},
"designer_editable": {
"description": "A required property that declares a parameter as editable by designer in SDC Tool (true) or not (false).",
@@ -376,44 +376,44 @@ The same is provided below for documentation reference.
"additionalProperties": false
},
"policy_schema_parameter": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "description": "Default value for the parameter"
- },
- "description": {
- "description": "Description for the parameter.",
- "type": "string"
- },
- "type": {
- "description": "The required data type for the parameter.",
- "type": "string",
- "enum": [ "string", "number", "boolean", "datetime", "list", "map" ]
- },
- "required": {
- "description": "An optional key that declares a parameter as required (true) or not (false). Default is true.",
- "type": "boolean",
- "default": true
- },
- "constraints": {
- "description": "The optional list of sequenced constraint clauses for the parameter.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/parameter-constraints"
- }
- },
- "entry_schema": {
- "description": "The optional key that is used to declare the name of the Datatype definition for entries of certain types. entry_schema must be defined when the type is either list or map. If the type is list and the entry type is a simple type (string, number, boolean, datetime), follow with a simple string to describe the entry type. If the type is list and the entry type is a map, follow with an array to describe the keys for the entry map. If the type is list and the entry type is also list, this is not currently supported here. If the type is map, then follow with an array to describe the keys for this map. ",
- "type": "array", "uniqueItems": true, "items": {"$ref": "#/definitions/policy_schema_parameter"}
- }
- },
- "required": [
- "name",
- "type"
- ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "description": "Default value for the parameter"
+ },
+ "description": {
+ "description": "Description for the parameter.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The required data type for the parameter.",
+ "type": "string",
+ "enum": [ "string", "number", "boolean", "datetime", "list", "map" ]
+ },
+ "required": {
+ "description": "An optional key that declares a parameter as required (true) or not (false). Default is true.",
+ "type": "boolean",
+ "default": true
+ },
+ "constraints": {
+ "description": "The optional list of sequenced constraint clauses for the parameter.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/parameter-constraints"
+ }
+ },
+ "entry_schema": {
+ "description": "The optional key that is used to declare the name of the Datatype definition for entries of certain types. entry_schema must be defined when the type is either list or map. If the type is list and the entry type is a simple type (string, number, boolean, datetime), follow with a simple string to describe the entry type. If the type is list and the entry type is a map, follow with an array to describe the keys for the entry map. If the type is list and the entry type is also list, this is not currently supported here. If the type is map, then follow with an array to describe the keys for this map. ",
+ "type": "array", "uniqueItems": true, "items": {"$ref": "#/definitions/policy_schema_parameter"}
+ }
+ },
+ "required": [
+ "name",
+ "type"
+ ],
"additionalProperties": false
},
"parameter-constraints": {
@@ -614,21 +614,21 @@ The same is provided below for documentation reference.
"cdap-provider" : {
"type": "object",
"properties" : {
- "request": {
- "$ref": "#/definitions/formatPair"
- },
- "response": {
- "$ref": "#/definitions/formatPair"
- },
- "service_name" : {
- "type" : "string"
- },
- "service_endpoint" : {
- "type" : "string"
- },
- "verb" : {
- "type": "string",
- "enum": ["GET", "PUT", "POST", "DELETE"]
+ "request": {
+ "$ref": "#/definitions/formatPair"
+ },
+ "response": {
+ "$ref": "#/definitions/formatPair"
+ },
+ "service_name" : {
+ "type" : "string"
+ },
+ "service_endpoint" : {
+ "type" : "string"
+ },
+ "verb" : {
+ "type": "string",
+ "enum": ["GET", "PUT", "POST", "DELETE"]
}
},
"required" : [
@@ -637,7 +637,7 @@ The same is provided below for documentation reference.
"service_name",
"service_endpoint",
"verb"
- ]
+ ]
},
"docker-provider": {
"type": "object",
@@ -810,11 +810,15 @@ The same is provided below for documentation reference.
"use_tls": {
"description": "Boolean flag to determine if the application is using tls certificates",
"type": "boolean"
+ },
+ "use_external_tls": {
+ "description": "Boolean flag to determine if the application is using tls certificates for external communication",
+ "type": "boolean"
}
},
"required": [
- "cert_directory","use_tls"
- ],
+ "cert_directory","use_tls"
+ ],
"additionalProperties": false
},
"databases": {
@@ -828,34 +832,34 @@ The same is provided below for documentation reference.
}
},
"policy": {
- "properties": {
- "trigger_type": {
- "description": "Only value of docker is supported at this time.",
- "type": "string",
- "enum": ["docker"]
- },
- "script_path": {
- "description": "Script command that will be executed for policy reconfiguration",
- "type": "string"
- }
+ "properties": {
+ "trigger_type": {
+ "description": "Only value of docker is supported at this time.",
+ "type": "string",
+ "enum": ["docker"]
},
- "required": [
- "trigger_type","script_path"
- ],
- "additionalProperties": false
+ "script_path": {
+ "description": "Script command that will be executed for policy reconfiguration",
+ "type": "string"
+ }
+ },
+ "required": [
+ "trigger_type","script_path"
+ ],
+ "additionalProperties": false
},
"volumes": {
"description": "Volume mapping to be used for Docker containers. Each entry is of the format below",
"type": "array",
"items": {
- "type": "object",
+ "type": "object",
"properties": {
"host":{
- "type":"object",
+ "type":"object",
"path": {"type": "string"}
},
"container":{
- "type":"object",
+ "type":"object",
"bind": { "type": "string"},
"mode": { "type": "string"}
}
@@ -896,7 +900,7 @@ The same is provided below for documentation reference.
"required": [
"type",
"endpoint"
- ]
+ ]
},
"docker_healthcheck_script": {
"properties": {
@@ -926,8 +930,7 @@ The same is provided below for documentation reference.
"required": [
"type",
"script"
- ]
+ ]
}
}
}
-
diff --git a/docs/sections/design-components/component-specification/component-type-docker.rst b/docs/sections/design-components/component-specification/component-type-docker.rst
index 7a0f8f0e..a2b0c2a3 100755
--- a/docs/sections/design-components/component-specification/component-type-docker.rst
+++ b/docs/sections/design-components/component-specification/component-type-docker.rst
@@ -1455,7 +1455,7 @@ Schema portion:
.. code:: json
- "auxilary_docker": {
+ "auxilary_docker": {
"title": "Docker component specification schema",
"type": "object",
"properties": {
@@ -1500,11 +1500,15 @@ Schema portion:
"use_tls": {
"description": "Boolean flag to determine if the application is using tls certificates",
"type": "boolean"
+ },
+ "use_external_tls": {
+ "description": "Boolean flag to determine if the application is using tls certificates for external communication",
+ "type": "boolean"
}
},
"required": [
- "cert_directory","use_tls"
- ],
+ "cert_directory","use_tls"
+ ],
"additionalProperties": false
},
"databases": {
@@ -1518,34 +1522,34 @@ Schema portion:
}
},
"policy": {
- "properties": {
- "trigger_type": {
- "description": "Only value of docker is supported at this time.",
- "type": "string",
- "enum": ["docker"]
- },
- "script_path": {
- "description": "Script command that will be executed for policy reconfiguration",
- "type": "string"
- }
+ "properties": {
+ "trigger_type": {
+ "description": "Only value of docker is supported at this time.",
+ "type": "string",
+ "enum": ["docker"]
},
- "required": [
- "trigger_type","script_path"
- ],
- "additionalProperties": false
+ "script_path": {
+ "description": "Script command that will be executed for policy reconfiguration",
+ "type": "string"
+ }
+ },
+ "required": [
+ "trigger_type","script_path"
+ ],
+ "additionalProperties": false
},
"volumes": {
"description": "Volume mapping to be used for Docker containers. Each entry is of the format below",
"type": "array",
"items": {
- "type": "object",
+ "type": "object",
"properties": {
"host":{
- "type":"object",
+ "type":"object",
"path": {"type": "string"}
},
"container":{
- "type":"object",
+ "type":"object",
"bind": { "type": "string"},
"mode": { "type": "string"}
}
@@ -1558,4 +1562,3 @@ Schema portion:
],
"additionalProperties": false
}
-
diff --git a/docs/sections/design-components/component-specification/docker-specification.rst b/docs/sections/design-components/component-specification/docker-specification.rst
index 6dd4f927..20ce340d 100755
--- a/docs/sections/design-components/component-specification/docker-specification.rst
+++ b/docs/sections/design-components/component-specification/docker-specification.rst
@@ -45,6 +45,10 @@ mapping, volume mapping and policy reconfiguration script details.
| | array | reconfiguration script |
| | | details |
+--------------------------------+---------+---------------------------+
+| tls_info | JSON | *Optional*. Information |
+| | object | about usage of tls certif\|
+| | | icates |
++--------------------------------+---------+---------------------------+
Health Check Definition
~~~~~~~~~~~~~~~~~~~~~~~
@@ -275,6 +279,42 @@ $reconfigure_type {“updated policies”: , “application config”: }
| | | to call ``config-binding-service``. |
+---------------------+--------------+----------------------------------------+
+TLS Info
+~~~~~~~~~~~~~~~~~
+
+TLS Info is used to trigger addition of init containers that can provide main application containers with certificates
+for internal and external communication.
+
++--------------------------------+---------+---------------------------------------------------------------------------+
+| Property Name | Type | Description |
++================================+=========+===========================================================================+
+| cert_directory | string | *Required*. Directory where certificates should be created. |
+| | | i.e. ``/opt/app/dcae-certificate`` |
++--------------------------------+---------+---------------------------------------------------------------------------+
+| use_tls | boolean | *Required*. A boolean that indicates whether server certificates for int\ |
+| | | ernal communication should be added to the main container |
+| | | i.e ``true`` |
++--------------------------------+---------+---------------------------------------------------------------------------+
+| use_external_tls | boolean | *Optional*. A boolean that indicates whether the component uses AAF Cert\ |
+| | | Service to acquire operator certificate to protect external (between xNFs |
+| | | and ONAP) traffic. For a time being only operator certificate from CMPv2 |
+| | | server is supported. |
+| | | i.e ``true`` |
++--------------------------------+---------+---------------------------------------------------------------------------+
+
+
+Example:
+
+.. code:: json
+
+ "auxilary": {
+ "tls_info": {
+ "cert_directory": "/opt/app/dcae-certificate",
+ "use_tls": true
+ "use_external_tls": true,
+ }
+ },
+
Docker Component Spec - Complete Example
----------------------------------------
diff --git a/docs/sections/design-components/requirements-guidelines.rst b/docs/sections/design-components/requirements-guidelines.rst
index f633178c..c887d4ff 100644
--- a/docs/sections/design-components/requirements-guidelines.rst
+++ b/docs/sections/design-components/requirements-guidelines.rst
@@ -227,7 +227,7 @@ DCAE SDK
DCAE has SDK/libraries which can be used for service components for easy integration.
-- `Java Library <https://docs.onap.org/en/latest/submodules/dcaegen2.git/docs/sections/sdk/architecture.html>`__
+- `Java Library <https://docs.onap.org/projects/onap-dcaegen2/en/latest/sections/sdk/architecture.html>`__
- `Python Modules <https://git.onap.org/dcaegen2/utils/tree/onap-dcae-cbs-docker-client>`__
diff --git a/docs/sections/release-notes.rst b/docs/sections/release-notes.rst
index 98279453..2a858a3a 100644
--- a/docs/sections/release-notes.rst
+++ b/docs/sections/release-notes.rst
@@ -13,6 +13,60 @@ DCAE Release Notes
:depth: 2
..
+.. ======================================
+.. * * * FRANKFURT MAINTENANCE * * *
+.. ======================================
+
+
+Version: 6.0.1
+==============
+
+Abstract
+========
+
+This document provides the release notes for the Frankfurt Maintenance release
+
+
+Summary
+=======
+
+The focus of this release is to correct issues found on Frankfurt release.
+
+Release Data
+============
+
++--------------------------------------+--------------------------------------+
+| **Project** | DCAE |
+| | |
++--------------------------------------+--------------------------------------+
+| **Docker images** | onap/org.onap.dcaegen2.services. |
+| | son-handler:2.0.4 |
++--------------------------------------+--------------------------------------+
+| **Release designation** | Frankfurt Maintenance Release 1 |
+| | |
++--------------------------------------+--------------------------------------+
+| **Release date** | 2020/07/24 |
+| | |
++--------------------------------------+--------------------------------------+
+
+New features
+------------
+
+None
+
+**Bug fixes**
+
+- `DCAEGEN2-2249 <https://jira.onap.org/browse/DCAEGEN2-2249>`_ SON-Handler: Fix networkId issue
+while making call to oof
+- `DCAEGEN2-2216 <https://jira.onap.org/browse/DCAEGEN2-2216>`_ SON-Handler: Change Policy notification
+ to align with policy component updates
+
+**Known Issues**
+Same as Frankfurt Release
+
+
+
+
.. ===========================
.. * * * FRANKFURT * * *
.. ===========================
diff --git a/docs/sections/services/dfc/architecture.rst b/docs/sections/services/dfc/architecture.rst
index 97586982..872a52b4 100644
--- a/docs/sections/services/dfc/architecture.rst
+++ b/docs/sections/services/dfc/architecture.rst
@@ -30,7 +30,7 @@ Interaction
"""""""""""
DFC will interact with the DMaaP Message Router, using json, and with the Data Router, using metadata in the header and
file in the body, via secured protocol.
-So far, the implemented protocols to communicate with xNFs are sftp and ftp(e)s.
+So far, the implemented protocols to communicate with xNFs are sftp and ftpes.
Retry mechanism
"""""""""""""""
diff --git a/docs/sections/services/dfc/certificates.rst b/docs/sections/services/dfc/certificates.rst
index b759e70c..2dc557b6 100644
--- a/docs/sections/services/dfc/certificates.rst
+++ b/docs/sections/services/dfc/certificates.rst
@@ -4,7 +4,7 @@ Certificates (From AAF)
=======================
DCAE service components will use common certifcates generated from AAF/test instance and made available during deployment of DCAE TLS init container.
-DCAE has a generalized process of certificate distribution as documented here - https://docs.onap.org/en/latest/submodules/dcaegen2.git/docs/sections/tls_enablement.html
+DCAE has a generalized process of certificate distribution as documented here - https://docs.onap.org/projects/onap-dcaegen2/en/latest/sections/tls_enablement.html
The updated certificates are located in https://git.onap.org/dcaegen2/deployments/tree/tls-init-container/tls
diff --git a/docs/sections/services/heartbeat-ms/build_setup.rst b/docs/sections/services/heartbeat-ms/build_setup.rst
index 6ab6a178..6033affc 100644
--- a/docs/sections/services/heartbeat-ms/build_setup.rst
+++ b/docs/sections/services/heartbeat-ms/build_setup.rst
@@ -25,7 +25,7 @@ Docker build procedure
Clone the code using below command
::
- git clone https://gerrit.onap.org/r/dcaegen2/services/heartbeat
+ git clone --depth 1 https://gerrit.onap.org/r/dcaegen2/services/heartbeat
give executable permission to mvn-phase-script.sh if not there
already
diff --git a/docs/sections/services/heartbeat-ms/testprocedure.rst b/docs/sections/services/heartbeat-ms/testprocedure.rst
index 03bcbab1..a7c6f799 100644
--- a/docs/sections/services/heartbeat-ms/testprocedure.rst
+++ b/docs/sections/services/heartbeat-ms/testprocedure.rst
@@ -203,7 +203,7 @@ The postgres DB also have a CL_flag set indicating control loop event with ONSET
ubuntu@r3-aai-inst2:~/heartbeat12Dec/heartbeat$ sudo Docker run -d --name hb1 --env-file env.list heartbeat.test1:latest102413e8af4ab754e008cee43a01bf3d5439820aa91cfb4e099a140a7931fd71
ubuntu@r3-aai-inst2:~/heartbeat12Dec/heartbeat$ sudo Docker logs -f hb1
- /usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
+ /usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install --no-cache-dir psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
""")
2018-12-12 12:39:58,968 | __main__ | misshtbtd | main | 309 | INFO | MSHBD:Execution Started
2018-12-12 12:39:58,970 | __main__ | misshtbtd | main | 314 | INFO | ('MSHBT:HB Properties -', '10.0.4.1', '5432', 'postgres', 'abc', 'hb_vnf', True, 300)
@@ -235,16 +235,16 @@ The postgres DB also have a CL_flag set indicating control loop event with ONSET
2018-12-12 12:39:59,139 | __main__ | misshtbtd | main | 386 | INFO | ('MSHBD: Creating HB and DBM threads. The param pssed %d and %s', '../etc/config.json', 7)
2018-12-12 12:39:59,142 | __main__ | misshtbtd | create_process | 301 | INFO | ('MSHBD:jobs list is', [<Process(Process-2, started)>, <Process(Process-3, started)>])
2018-12-12 12:39:59,221 | __main__ | misshtbtd | create_update_hb_common | 143 | INFO | MSHBT:Updated hb_common DB with new values
- /usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
+ /usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install --no-cache-dir psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
""")
2018-12-12 12:39:59,815 | __main__ | htbtworker | <module> | 243 | INFO | HBT:HeartBeat thread Created
2018-12-12 12:39:59,815 | __main__ | htbtworker | <module> | 245 | INFO | ('HBT:The config file name passed is -%s', '../etc/config.json')
- /usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
+ /usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install --no-cache-dir psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
""")
2018-12-12 12:39:59,931 | __main__ | cbs_polling | pollCBS | 39 | INFO | ('CBSP:Main process ID in hb_common is %d', 7)
2018-12-12 12:39:59,931 | __main__ | cbs_polling | pollCBS | 41 | INFO | ('CBSP:My parent process ID is %d', '7')
2018-12-12 12:39:59,931 | __main__ | cbs_polling | pollCBS | 43 | INFO | ('CBSP:CBS Polling interval is %d', 300)
- /usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
+ /usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install --no-cache-dir psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
""")
2018-12-12 12:39:59,937 | __main__ | db_monitoring | <module> | 231 | INFO | DBM: DBM Process started
2018-12-12 12:39:59,939 | __main__ | db_monitoring | <module> | 236 | INFO | ('DBM:Parent process ID and json file name', '7', '../etc/config.json')
diff --git a/docs/sections/services/pm-mapper/configuration.rst b/docs/sections/services/pm-mapper/configuration.rst
index 1e676c6a..a9f4f5bf 100644
--- a/docs/sections/services/pm-mapper/configuration.rst
+++ b/docs/sections/services/pm-mapper/configuration.rst
@@ -4,10 +4,12 @@
Configuration and Performance
=============================
-Filtering
+PM Mapper Filtering
"""""""""
-PM Mapper maps PM XML files to performance VES event by applying the mapper filtering information. Mapper filtering is configured during instantiation through cloudify manager.
-Mapper filtering is based on the PM dictionary fields.
+The PM Mapper performs data reduction, by filtering the PM telemetry data it receives.
+This filtering information is provided to the service as part of its configuration, and is used to identify desired PM measurements (measType) contained within the data.
+The service can accept an exact match to the measType or regex(java.util.regex) identifying multiple measTypes (it is possible to use both types simultaneously).
+If a filter is provided, any measurement that does not match the filter, will be ignored and a warning will be logged.
PM Mapper expects the filter in the following JSON format:
::
@@ -17,8 +19,8 @@ PM Mapper expects the filter in the following JSON format:
"pmDefVsn": "1.3",
"nfType": "gnb",
"vendor": "Ericsson",
- "measTypes": [ "attTCHSeizures", "succTCHSeizures" ]
- }]
+ "measTypes": [ "attTCHSeizures", "succTCHSeizures", "att.*", ".*Seizures" ]
+ }]
@@ -31,7 +33,7 @@ nfType nfType is vendor String
defined and should match the
string used in file ready
eventName.
-measTypes Measurement name used in PM Array of String
+measTypes Measurement name used in PM List of Strings, Regular expressions
file in 3GPP format where
specified, else vendor
defined.
diff --git a/docs/sections/services/pm-subscription-handler/configuration.rst b/docs/sections/services/pm-subscription-handler/configuration.rst
index 8f02af0e..83d9cfd8 100644
--- a/docs/sections/services/pm-subscription-handler/configuration.rst
+++ b/docs/sections/services/pm-subscription-handler/configuration.rst
@@ -47,6 +47,10 @@ specified in the dashboard deployment GUI.
+-----------------------------+----------------------------------------------------------------------------------------+---------+----------+-------------------------------------------------------------------------------------+
| pgaas_cluster_name | Cluster name for Postgres As A Service. | string | True | dcae-pg-primary.onap |
+-----------------------------+----------------------------------------------------------------------------------------+---------+----------+-------------------------------------------------------------------------------------+
+| enable_tls | Boolean flag to toggle HTTPS cert auth support. | boolean | True | true |
++-----------------------------+----------------------------------------------------------------------------------------+---------+----------+-------------------------------------------------------------------------------------+
+| protocol | HTTP protocol for PMSH. If 'enable_tls' is false, protocol must be set to http. | string | True | https |
++-----------------------------+----------------------------------------------------------------------------------------+---------+----------+-------------------------------------------------------------------------------------+
.. _Subscription:
diff --git a/docs/sections/services/snmptrap/installation.rst b/docs/sections/services/snmptrap/installation.rst
index ab523ef4..cce201d3 100644
--- a/docs/sections/services/snmptrap/installation.rst
+++ b/docs/sections/services/snmptrap/installation.rst
@@ -61,9 +61,9 @@ To install prerequisites:
``export PATH=<path to Python 3.6 binary>:$PATH``
- ``pip3 install requests==2.18.3``
+ ``pip3 install --no-cache-dir requests==2.18.3``
- ``pip3 install pysnmp==4.4.5``
+ ``pip3 install --no-cache-dir pysnmp==4.4.5``
Download latest trapd version from Gerrit
"""""""""""""""""""""""""""""""""""""""""
@@ -72,7 +72,7 @@ Download a copy of the latest trapd image from gerrit in it's standard runtime l
``cd /opt/app``
- ``git clone ssh://<your linux foundation id>@gerrit.onap.org:29418/dcaegen2/collectors/snmptrap snmptrap``
+ ``git clone --depth 1 ssh://<your linux foundation id>@gerrit.onap.org:29418/dcaegen2/collectors/snmptrap snmptrap``
"Un-dockerize"
""""""""""""""
diff --git a/docs/sections/services/son-handler/installation.rst b/docs/sections/services/son-handler/installation.rst
index 360d9474..c8b73a89 100644
--- a/docs/sections/services/son-handler/installation.rst
+++ b/docs/sections/services/son-handler/installation.rst
@@ -56,10 +56,10 @@ Deployment Prerequisites
Deployment steps
~~~~~~~~~~~~~~~~
1.Using DCAE Dashboard
- - Login to DCAE Dashboard
- - Go to Inventory --> Blueprints
- - Upload son-handler blueprint which can be found under blueprints repo (https://gerrit.onap.org/r/dcaegen2/platform/blueprints)
+ - Login to DCAE Dashboard (https://{k8s-nodeip}:30418/ccsdk-app/login_external.htm)
+ - Go to Inventory --> Blueprints
- Click on Deploy Action for son-handler blueprint
+ - Override the value of 'tag_version' to 'nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.son-handler:2.0.4' and click deploy.
- Deployment logs can be viewed under Deployments section
2.Using cloudify commands
diff --git a/docs/sections/services/ves-http/installation.rst b/docs/sections/services/ves-http/installation.rst
index b21ca919..c8d57141 100644
--- a/docs/sections/services/ves-http/installation.rst
+++ b/docs/sections/services/ves-http/installation.rst
@@ -18,12 +18,9 @@ DMAAPHOST is required for standalone; for normal platform installed instance the
- COLLECTOR_IP
- DMAAPHOST - should contain an address to DMaaP, so that event publishing can work
-- CBSPOLLTIMER - it should be put in here if we want to automatically fetch configuration from CBS.
-- CONSUL_PROTOCOL - Consul protocol by default set to **http**, if it is need to change it then that can be set to different value
-- CONSUL_HOST - used with conjunction with CBSPOLLTIMER, should be a host address (without port! e.g my-ip-or-host) where Consul service lies
-- CBS_PROTOCOL - Config Binding Service protocol by default set to **http**, if it is need to change it then that can be set to different value
-- CONFIG_BINDING_SERVICE - used with conjunction with CBSPOLLTIMER, should be a name of CBS as it is registered in Consul
-- HOSTNAME - used with conjunction with CBSPOLLTIMER, should be a name of VESCollector application as it is registered in CBS catalog
+- CONFIG_BINDING_SERVICE - should be a name of CBS
+- CONFIG_BINDING_SERVICE_SERVICE_PORT - should be a http port of CBS
+- HOSTNAME - should be a name of VESCollector application as it is registered in CBS catalog
These parameters can be configured either by passing command line option during `docker run` call or by specifying environment variables named after command line option name
diff --git a/docs/sections/tls_enablement.rst b/docs/sections/tls_enablement.rst
index c42c4761..ec23f65b 100644
--- a/docs/sections/tls_enablement.rst
+++ b/docs/sections/tls_enablement.rst
@@ -110,4 +110,103 @@ that is available in R6 but is not currently being used.
* ``trust.pass``: A text file with a single line that contains the password for the ``trust.jks`` keystore.
* ``cacert.pem``: The AAF CA certificate, in PEM form. (Needed by clients that access TLS-protected servers.)
- k8splugin version 2.0.0 uses an init container to supply the CA certificates. \ No newline at end of file
+ k8splugin version 2.0.0 uses an init container to supply the CA certificates.
+
+External TLS Support
+--------------------
+
+External TLS support was introduced in order to integrate DCAE with CertService to acquire operator certificates meant to protect external traffic between DCAE's components (VES collector, HV-VES, RestConf collector and DFC) and xNFs. For that reason K8s plugin which creates K8s resources from Cloudify blueprints was enhanced with new TLS properties support. New TLS properties are meant to control CertService's client call in init containers section and environment variables which are passed to it.
+
+This external TLS support doesn't influence ONAP internal traffic which is protected by certificates issued by AAF's CertMan. External TLS Support was introduced in k8splugin 3.1.0.
+
+1. Certificate setup:
+
+ To create certificate artifacts, AAF CertService must obtain the certificate details. Common name and list of Subject Alternative Names (SANs) are set in blueprint as described in step 3.
+ The following parameters with default values are stored in OOM in k8splugin configuration file (k8splugin.json) in group ``external_cert``:
+
+ * A string ``image_tag`` that indicates CertService client image name and version
+ * A string ``request_url`` that indicates URL to Cert Service API
+ * A string ``timeout`` that indicates request timeout.
+ * A string ``country`` that indicates country name in ISO 3166-1 alpha-2 format, for which certificate will be created
+ * A string ``organization`` that indicates organization name, for which certificate will be created.
+ * A string ``state`` that indicates state name, for which certificate will be created.
+ * A string ``organizational_unit`` that indicates organizational unit name, for which certificate will be created.
+ * A string ``location`` that indicates location name, for which certificate will be created.
+ * A string ``keystore_password`` that indicates keystore password.
+ * A string ``truststore_password`` that indicates truststore password.
+
+ Group ``external_cert`` from k8splugin.json with default values:
+
+ .. code-block:: JSON
+
+ {
+ "image_tag": "nexus3.onap.org:10001/onap/org.onap.aaf.certservice.aaf-certservice-client:$VERSION",
+ "request_url": "https://aaf-cert-service:8443/v1/certificate/",
+ "timeout": "30000",
+ "country": "US",
+ "organization": "Linux-Foundation",
+ "state": "California",
+ "organizational_unit": "ONAP",
+ "location": "San-Francisco",
+ "keystore_password": "secret",
+ "truststore_password": "secret"
+ }
+
+
+ Parameters configured in k8splugin are propagated via Helm Charts to Kubernetes ConfigMap and finally they are transfered to Consul.
+ Blueprint, during start of execution, reads k8splugin.json configuration from Consul and applies it.
+
+2. Certificate generation and retrieval:
+
+ When a DCAE component that needs an external TLS certificate is launched, a Kubernetes init container runs before the main
+ component container is launched. The init container contacts the AAF CertService.
+
+ DCAE service components (sometimes called "microservices") are deployed via Cloudify using blueprints. This is described
+ in more detail in the next section.
+
+3. Plugin and Blueprint:
+ The blueprint for a component that needs an external TLS certificate needs to include the node property called "external_cert" in
+ the node properties for the component. The property is a dictionary with following elements:
+
+ * A boolean (``use_external_tls``) that indicates whether the component uses TLS in external traffic.
+ * A string (``external_cert_directory``) that indicates where the component expects to find operator certificate and trusted certs.
+ * A string (``ca_name``) that indicates name of Certificate Authority configured on CertService side (in cmpServers.json).
+ * A string (``output_type``) that indicates certificate output type.
+ * A dictionary (``external_certificate_parameters``) with two elements:
+ * A string (``common_name``) that indicates common name which should be present in certificate. Specific for every blueprint (e.g. dcae-ves-collector for VES).
+ * A string (``sans``) that indicates list of Subject Alternative Names (SANs) which should be present in certificate. Delimiter - : Should contain common_name value and other FQDNs under which given component is accessible.
+
+ Example
+
+ .. code-block:: yaml
+
+ external_cert:
+ external_cert_directory: /opt/app/dcae-certificate/
+ use_external_tls: true
+ ca_name: "RA"
+ cert_type: "P12"
+ external_certificate_parameters:
+ common_name: "simpledemo.onap.org"
+ sans: "simpledemo.onap.org;ves.simpledemo.onap.org;ves.onap.org"
+
+ For this example the certificates are mounted into ``/opt/app/dcae-certificate/external`` directory within the container.
+
+ During deployment Kubernetes plugin (referenced in blueprint) will check if the ``external_cert`` property is set and ``use_external_tls`` is set to true, then the plugin will add some elements to the Kubernetes Deployment for the component:
+ * A Kubernetes volume (``tls-volume``) that will hold the certificate artifacts
+ * A Kubernetes initContainer (``cert-service-client``)
+ * A Kubernetes volumeMount for the initContainer that mounts the ``tls-volume`` volume at ``/etc/onap/aaf/certservice/certs/``.
+ * A Kubernetes volumeMount for the main container that mounts the ``tls-info`` volume at the mount point specified in the ``external_cert_directory`` property.
+
+ Kurbernetes volumeMount tls-info is shared with TLS init container for internal traffic.
+
+4. Certificate artifacts
+
+ The certificate directory mounted on the container will include the following:
+ * Directory ``external`` with files:
+ * ``keystore.p12``: A keystore containing the operator certificate.
+ * ``keystore.pass``: A text file with a single line that contains the password for the ``keystore.p12`` keystore.
+ * ``truststore.p12``: A truststore containing the operator certificate. (Needed by clients that access TLS-protected servers in external traffic.)
+ * ``truststore.pass``: A text file with a single line that contains the password for the ``truststore.p12`` keystore.
+ * ``trust.jks``: The AAF CA certificate and private key packaged in Java form.
+ * ``trust.pass``: A text file with a single line that contains the password for ``trust.jks`` file.
+ * ``cacert.pem``: The AAF CA certificate, in PEM form.
diff --git a/mvn-phase-lib.sh b/mvn-phase-lib.sh
index 66d5bbc0..4f0c304c 100755
--- a/mvn-phase-lib.sh
+++ b/mvn-phase-lib.sh
@@ -176,8 +176,8 @@ run_tox_test()
rm -rf ./venv-tox ./.tox
virtualenv ./venv-tox
source ./venv-tox/bin/activate
- pip install --upgrade pip
- pip install --upgrade tox argparse
+ pip install --no-cache-dir --upgrade pip
+ pip install --no-cache-dir --upgrade tox argparse
pip freeze
tox
deactivate
@@ -199,8 +199,8 @@ build_wagons()
virtualenv ./venv-pkg
source ./venv-pkg/bin/activate
- pip install --upgrade pip
- pip install wagon
+ pip install --no-cache-dir --upgrade pip
+ pip install --no-cache-dir wagon
wagon create --format tar.gz "$PLUGIN_DIR"
deactivate
rm -rf venv-pkg
diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh
index 6bc987f6..ebb609f0 100755
--- a/mvn-phase-script.sh
+++ b/mvn-phase-script.sh
@@ -75,8 +75,8 @@ deploy)
CURDIR=$(pwd)
virtualenv ./venv-doc
source ./venv-doc/bin/activate
- pip install --upgrade pip
- pip install --upgrade 'mkdocs==0.16.3' mkdocs-material
+ pip install --no-cache-dir --upgrade pip
+ pip install --no-cache-dir --upgrade 'mkdocs==0.16.3' mkdocs-material
pip freeze
mkdocs build