From 0f987a9e1b8e79caef48015adf865eef36216dbc Mon Sep 17 00:00:00 2001 From: "serena.spinoso" Date: Sun, 29 Apr 2018 10:48:44 +0200 Subject: 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 --- .../yaml/beans/WebClientConfigurationYaml.java | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 verigraph/src/it/polito/verigraph/tosca/yaml/beans/WebClientConfigurationYaml.java (limited to 'verigraph/src/it/polito/verigraph/tosca/yaml/beans/WebClientConfigurationYaml.java') diff --git a/verigraph/src/it/polito/verigraph/tosca/yaml/beans/WebClientConfigurationYaml.java b/verigraph/src/it/polito/verigraph/tosca/yaml/beans/WebClientConfigurationYaml.java new file mode 100644 index 0000000..02825ed --- /dev/null +++ b/verigraph/src/it/polito/verigraph/tosca/yaml/beans/WebClientConfigurationYaml.java @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2018 Politecnico di Torino and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Apache License, Version 2.0 + * which accompanies this distribution, and is available at + * http://www.apache.org/licenses/LICENSE-2.0 + *******************************************************************************/ +package it.polito.verigraph.tosca.yaml.beans; + +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; + +@JsonIgnoreProperties(ignoreUnknown = true) +public class WebClientConfigurationYaml implements ConfigurationYaml{ + private String nameWebServer; + + public String getNameWebServer() { + return nameWebServer; + } + + public void setNameWebServer(String nameWebServer) { + this.nameWebServer = nameWebServer; + } + +} -- cgit 1.2.3-korg