Add CLI in verigraph. 75/56875/1
authorserena.spinoso <serena.spinoso@polito.it>
Sun, 29 Apr 2018 08:48:44 +0000 (10:48 +0200)
committerserena.spinoso <serena.spinoso@polito.it>
Sun, 29 Apr 2018 08:48:44 +0000 (10:48 +0200)
commit0f987a9e1b8e79caef48015adf865eef36216dbc
tree38ce20fc47338f8945e208b112f104bab5ad4321
parentfcda9807cfa6a89d691877126b406c5d3909d9b9
Add CLI in verigraph.

JIRA: PARSER-180

Add CLI to select one of the available interfaces (i.e. REST or gRPC), one of the supported service descriptor formats (i.e. TOSCA/XML, TOSCA/YAML, JSON),
and the operations to perform (i.e. read, create, update, delete graphs and run verifications).

Change-Id: I02f4d86e221baf0ac583d0ffd0ebe028aa6209be
Signed-off-by: serena.spinoso <serena.spinoso@polito.it>
54 files changed:
verigraph/src/it/polito/verigraph/exception/InvalidServiceTemplateException.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/exception/InvalidServiceTemplateExceptionMapper.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/MappingUtils.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/README_CLI.txt [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/ToscaCLI.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/XmlParsingUtils.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/YamlParsingUtils.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/converter/grpc/GrpcToXml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/converter/grpc/GrpcToYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/converter/grpc/ToscaGrpcUtils.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/converter/grpc/XmlToGrpc.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/converter/grpc/YamlToGrpc.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/converter/xml/GraphToXml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/converter/xml/XmlToGraph.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/converter/yaml/GraphToYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/converter/yaml/YamlToGraph.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/deserializer/XmlConfigurationDeserializer.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/deserializer/YamlConfigurationDeserializer.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/serializer/XmlConfigSerializer.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/serializer/YamlConfigSerializer.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/AntispamConfigurationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/AntispamNode.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/CacheConfigurationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/CacheNode.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/ConfigurationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/DpiConfigurationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/DpiNode.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/EndhostConfigurationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/EndhostNode.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/EndpointConfigurationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/EndpointNode.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/FieldModifierConfigurationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/FieldModifierNode.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/FirewallConfigurationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/FirewallNode.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/MailClientConfigurationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/MailClientNode.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/MailServerConfigurationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/MailServerNode.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/NatConfigurationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/NatNode.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/NodeTemplateYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/RelationshipTemplateYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/ServiceTemplateYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/TopologyTemplateYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/VerificationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/VpnAccessConfigurationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/VpnAccessNode.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/VpnExitConfigurationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/VpnExitNode.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/WebClientConfigurationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/WebClientNode.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/WebServerConfigurationYaml.java [new file with mode: 0644]
verigraph/src/it/polito/verigraph/tosca/yaml/beans/WebServerNode.java [new file with mode: 0644]