From 5a6a6de6f1a26a1897e4917a0df613e25a24eb70 Mon Sep 17 00:00:00 2001 From: "Benjamin, Max (mb388a)" Date: Mon, 30 Jul 2018 15:56:09 -0400 Subject: Containerization feature of SO Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) --- .../antlr4/org/onap/so/asdc/utils/ASDCLogging.g4 | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 asdc-controller/src/main/antlr4/org/onap/so/asdc/utils/ASDCLogging.g4 (limited to 'asdc-controller/src/main/antlr4/org') diff --git a/asdc-controller/src/main/antlr4/org/onap/so/asdc/utils/ASDCLogging.g4 b/asdc-controller/src/main/antlr4/org/onap/so/asdc/utils/ASDCLogging.g4 new file mode 100644 index 0000000000..669247d579 --- /dev/null +++ b/asdc-controller/src/main/antlr4/org/onap/so/asdc/utils/ASDCLogging.g4 @@ -0,0 +1,23 @@ +grammar ASDCLogging; +doc : value+; +list : listName ':' '{' (obj (',' obj)*)? '}'; +simplePair : key ':' keyValue; +complexPair : key ':' obj; +value : simplePair | list | complexPair ; +obj + : '{' 'NULL' '}' + | 'NULL' + | '{' value+ '}' + | value+ + | '{' '}' + ; +key : STRING; +keyValue : STRING; +listName : LIST_NAME; +LIST_NAME : STRING 'List' | 'RelatedArtifacts'; +STRING : ~[:\r\n{},]+; + +LINE_COMMENT + : '//' ~[\r\n]* -> skip +; +WS: [ \t\n\r]+ -> skip ; -- cgit 1.2.3-korg