diff options
author | 2019-03-19 11:37:28 +0100 | |
---|---|---|
committer | 2019-04-01 13:03:21 +0000 | |
commit | 967a1208bb29bb7930272c338d1d1eca4b1dbd62 (patch) | |
tree | 25013d4bc3c8f275513ffc53df65565505cb320d /common/onap-generic-artifact-browser/onap-generic-artifact-browser-component-tests/src/test/resources/org | |
parent | 84a209835820238f50d84ad5be5b9badaa5283c5 (diff) |
Introduced yaml parser as common lib
Introduced parser with capability of search for given json paths.
Introduced cucumber tests for gab service
Change-Id: I154d71085ee82c1ead7c4e002a488524f60c5d8d
Issue-ID: SDC-2094
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Diffstat (limited to 'common/onap-generic-artifact-browser/onap-generic-artifact-browser-component-tests/src/test/resources/org')
-rw-r--r-- | common/onap-generic-artifact-browser/onap-generic-artifact-browser-component-tests/src/test/resources/org/onap/sdc/gab/cucumber/gab_controller.feature | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/common/onap-generic-artifact-browser/onap-generic-artifact-browser-component-tests/src/test/resources/org/onap/sdc/gab/cucumber/gab_controller.feature b/common/onap-generic-artifact-browser/onap-generic-artifact-browser-component-tests/src/test/resources/org/onap/sdc/gab/cucumber/gab_controller.feature new file mode 100644 index 0000000000..d0d1d24514 --- /dev/null +++ b/common/onap-generic-artifact-browser/onap-generic-artifact-browser-component-tests/src/test/resources/org/onap/sdc/gab/cucumber/gab_controller.feature @@ -0,0 +1,14 @@ +Feature: GABService usage + GABService can find a keywords inside the yaml file + + Scenario: Ask for two-results keyword providing path to yaml + Given yaml document "yaml/faultRegistration.yml" of type "PATH" + And header to search "event.action[1]" + When I ask service for results + Then Service should find 2 results + + Scenario: Ask for single-results keyword providing yaml content + Given yaml document "event: {presence: required, action: [ any, any, alarm003, Clear ], structure: {}}" of type "CONTENT" + And header to search "event.action[1]" + When I ask service for results + Then Service should find 1 results
\ No newline at end of file |