2 * ================================================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ================================================================================
20 package org.openecomp.portalapp.portal.domain;
22 import java.util.List;
24 import javax.persistence.Column;
25 import javax.persistence.GeneratedValue;
26 import javax.persistence.GenerationType;
27 import javax.persistence.Id;
29 import org.openecomp.portalsdk.core.domain.support.DomainVo;
31 public class MicroserviceData extends DomainVo {
33 private static final long serialVersionUID = 1L;
35 public MicroserviceData() {
43 private String active;
51 private String securityType;
53 private String username;
55 private String password;
57 private List<MicroserviceParameter> parameterList;
63 public void setId(Long id) {
67 public String getName() {
71 public void setName(String name) {
75 public String getActive() {
79 public void setActive(String active) {
83 public String getDesc() {
87 public void setDesc(String desc) {
91 public long getAppId() {
95 public void setAppId(long appId) {
99 public String getUrl() {
103 public void setUrl(String url) {
107 public String getSecurityType() {
111 public void setSecurityType(String securityType) {
112 this.securityType = securityType;
115 public String getUsername() {
119 public void setUsername(String username) {
120 this.username = username;
123 public String getPassword() {
127 public void setPassword(String password) {
128 this.password = password;
131 public List<MicroserviceParameter> getParameterList() {
132 return parameterList;
135 public void setParameterList(List<MicroserviceParameter> parameterList) {
136 this.parameterList = parameterList;
140 public String toString() {
141 return "MicroserviceData [id=" + id + ", name=" + name + ", desc=" + desc + ", appId=" + appId + ", url=" + url
142 + ", securityType=" + securityType + ", username=" + username + ", password=" + password
143 + ", parameterList=" + parameterList + "]";