Table of Contents
...
Code Block |
---|
{ "data": [{ "path1": "value1", "path2": "value2" }, { "path1": "value3", "path2": "value4" } ] } |
SDC FE integration
SDC's VF screen of Deployment Artifacts is extended to show also a button in shape of magnifier icon. Currently magnifier-button should be available for limited kinds of artifacts (for Dublin release only VES_EVENTS artifacts, for Frankfurt VES_EVENTS and PM_DICTIONARY are supported).
On a magnifier-button click, a dialog with populated data should appear. It is important to know that even GAB back-end services provides possibility to ask for whatever-fields with only one restriction about correct format (json paths) - for current release only few predefined columns are considered to be shown by the GUI dialog - for VES_EVENTS: event.action[2], event.comment and event.faultFields.alarmAdditionalInformation.keyValuePair[ structure.key.value==faultId].comment; for PM_DICTIONARY: measType, measDescription, measCondition, measResultUnits, measResultRange, measObjClass, measCollectionMethod, measInfoId, iMeasInfoId. Some of these fields can be searched for a substring (all defined for VES_EVENTS and measType, measDescription, measObjClass, measFamily, measInfoId for PM_DICTIONARY). Format of VES_EVENTS and PM_DICTIONARY was discussed and agreed between operators and examples of these artifacts can be found in SDC repository: VES_EVENTS - sdc/test-apis-ci/sdc-api-tests/chef-repo/cookbooks/sdc-api-tests/files/default/Files/fm_metadata_three_fault_defs.yml, PM_DICTIONARY - /sdc/common/onap-generic-artifact-browser/onap-generic-artifact-browser-service/src/test/resources/yaml/pmDictionary.yml.
Layout of GAB for example VES_EVENTS artifact:
Layout of GAB for example PM_DICTIONARY artifact:
UI Sanity
Both cases are covered by sanity tests available in the repository under the catalog: onap/sdc/ui-ci/src/main/resources/ci/testSuites/gabSanity.xml
More info
...