diff options
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general')
4 files changed, 220 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/Availability.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/Availability.java new file mode 100644 index 0000000000..4f146466f8 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/Availability.java @@ -0,0 +1,36 @@ +/*- + * ============LICENSE_START======================================================= + * SDC + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + */ + +package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp.general; + +/** + * Created by TALIO on 11/21/2016. + */ +public class Availability { + private boolean useAvailabilityZonesForHighAvailability = false; + + public boolean isUseAvailabilityZonesForHighAvailability() { + return useAvailabilityZonesForHighAvailability; + } + + public void setUseAvailabilityZonesForHighAvailability(boolean useAvailabilityZonesForHighAvailability) { + this.useAvailabilityZonesForHighAvailability = useAvailabilityZonesForHighAvailability; + } +} diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/General.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/General.java new file mode 100644 index 0000000000..566374f1f7 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/General.java @@ -0,0 +1,64 @@ +/*- + * ============LICENSE_START======================================================= + * SDC + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + */ + +package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp.general; + +/** + * Created by TALIO on 11/22/2016. + */ +public class General { + + private String affinityData; + private Availability availability; + private RegionsData regionsData; + private StorageDataReplication storageDataReplication; + + public StorageDataReplication getStorageDataReplication() { + return storageDataReplication; + } + + public void setStorageDataReplication(StorageDataReplication storageDataReplication) { + this.storageDataReplication = storageDataReplication; + } + + public String getAffinityData() { + return affinityData; + } + + public void setAffinityData(String affinityData) { + this.affinityData = affinityData; + } + + public Availability getAvailability() { + return availability; + } + + public void setAvailability(Availability availability) { + this.availability = availability; + } + + public RegionsData getRegionsData() { + return regionsData; + } + + public void setRegionsData(RegionsData regionsData) { + this.regionsData = regionsData; + } +} diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/RegionsData.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/RegionsData.java new file mode 100644 index 0000000000..efdcb46e89 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/RegionsData.java @@ -0,0 +1,48 @@ +/*- + * ============LICENSE_START======================================================= + * SDC + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + */ + +package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp.general; + +import java.util.ArrayList; +import java.util.List; + +/** + * Created by TALIO on 11/21/2016. + */ +public class RegionsData { + private boolean multiRegion; + private List<String> regions = new ArrayList<>(); + + public boolean isMultiRegion() { + return multiRegion; + } + + public void setMultiRegion(boolean multiRegion) { + this.multiRegion = multiRegion; + } + + public List<String> getRegions() { + return regions; + } + + public void setRegions(List<String> regions) { + this.regions = regions; + } +} diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/StorageDataReplication.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/StorageDataReplication.java new file mode 100644 index 0000000000..7c073af422 --- /dev/null +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/types/questionnaire/vsp/general/StorageDataReplication.java @@ -0,0 +1,72 @@ +/*- + * ============LICENSE_START======================================================= + * SDC + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + */ + +package org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.vsp.general; + +/** + * Created by TALIO on 11/21/2016. + */ +public class StorageDataReplication { + private boolean storageReplicationAcrossRegion; + private int storageReplicationSize; + private int storageReplicationFrequency; + private String storageReplicationSource; + private String storageReplicationDestination; + + public String getStorageReplicationDestination() { + return storageReplicationDestination; + } + + public void setStorageReplicationDestination(String storageReplicationDestination) { + this.storageReplicationDestination = storageReplicationDestination; + } + + public int getStorageReplicationSize() { + return storageReplicationSize; + } + + public void setStorageReplicationSize(int storageReplicationSize) { + this.storageReplicationSize = storageReplicationSize; + } + + public int getStorageReplicationFrequency() { + return storageReplicationFrequency; + } + + public void setStorageReplicationFrequency(int storageReplicationFrequency) { + this.storageReplicationFrequency = storageReplicationFrequency; + } + + public String getStorageReplicationSource() { + return storageReplicationSource; + } + + public void setStorageReplicationSource(String storageReplicationSource) { + this.storageReplicationSource = storageReplicationSource; + } + + public boolean isStorageReplicationAcrossRegion() { + return storageReplicationAcrossRegion; + } + + public void setStorageReplicationAcrossRegion(boolean storageReplicationAcrossRegion) { + this.storageReplicationAcrossRegion = storageReplicationAcrossRegion; + } +} |