Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright 2012 AMG.lab, a Bull Group Company
*
* 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.
*/
package org.xlcloud.openstack.model.heat;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import com.fasterxml.jackson.annotation.JsonRootName;
/**
* Class representing stack details returned by heat.
* @author Ksiazczyk Grzegorz, AMG.net
*/
@XmlRootElement( name = "stack" )
@XmlAccessorType( XmlAccessType.NONE )
@JsonRootName( "stack" )
public class StackData implements Serializable {
//[v1]
//XML:
// TrueAWS CloudFormation Sample Template
// WordPress_Single_Instance: Word
// Press is web software you can use to create a beautiful
// website or blog. This template installs a single-insta
// nce WordPress deployment using a local MySQL database t
// o store the data.
// {"AWS::StackName": "wordpress_test_1351874562468", "KeyName": "ubuntu_key", "AWS::Region": "ap-southeast-1", "InstanceType": "m1.tiny", "LinuxDistribution": "CentOS"}
// Stack creation started
// wordpress_test_1351874562468
// 2012-11-02T16:43:42Z
//
//
// http://localhost:8004/v1/admin/stacks/wordpress_test_1351874562468/4
// 50
// CREATE_IN_PROGRESS
// 2012-11-02T16:43:43Z
// AWS
// CloudFormation Sample Template WordPress_Single_Instanc
// e: WordPress is web software you can use to create a be
// autiful website or blog. This template installs a singl
// e-instance WordPress deployment using a local MySQL dat
// abase to store the data.
//[v2]
//JSON:
//{"stack": {"disable_rollback": true, "description": "Full HPC cluster template for XLcloud.", "parameters": {"CpuInstancesCount": "1", "GpuInstanceType": "m1.tiny", "LdapIp": "10.0.0.1", "VcTenantName": "test_hpc@test", "CpuInstanceType": "m1.small", "KeyName": "TODO", "AWS::StackName": "test_hpc@test", "VolumeSize": "1", "VncServerPassword": "password", "GlassfishAdminPassword": "password", "AWS::Region": "ap-southeast-1", "GpuInstancesCount": "1"}, "stack_status_reason": "Stack creation started", "stack_name": "test_hpc@test", "creation_time": "2012-12-10T11:45:30Z", "links": [{"href": "http://10.197.217.19:8004/v1/70bf3a452bc74bc894220d341e66bd8e/stacks/test_hpc%40test/cce55279-fa32-47cf-a16c-c4c5660da60d", "rel": "self"}], "capabilities": [], "notification_topics": [], "timeout_mins": 50, "stack_status": "CREATE_IN_PROGRESS", "updated_time": "2012-12-10T11:45:30Z", "id": "cce55279-fa32-47cf-a16c-c4c5660da60d", "template_description": "Full HPC cluster template for XLcloud."}}
//[v3]
//JSON:
//{"stack": {"disable_rollback": true, "description": "AWS CloudFormation Sample Template WordPress_Multi_Instance: WordPress is web software you can use to create a beautiful website or blog. This template installs two instances: one running a WordPress deployment and theother using a local MySQL database to store the data.", "parameters": {"DBUsername": "******", "LinuxDistribution": "F16", "InstanceType": "m1.large", "DBRootPassword": "******", "AWS::StackName": "stasiakVC2@test", "KeyName": "key", "DBPassword": "******", "AWS::Region": "ap-southeast-1", "DBName": "wordpress"}, "stack_status_reason": "Stack successfully created", "stack_name": "stasiakVC2@test", "outputs": [{"output_value": "http://172.16.1.12/wordpress", "description": "URL for Wordpress wiki", "output_key": "WebsiteURL"}, {"output_value": "10.197.217.134", "description": "No description given", "output_key": "InstanceIPAddress"}], "creation_time": "2012-12-10T14:56:08Z", "links": [{"href": "http://10.197.217.19:8004/v1/4dc1cf58f12e474984c71fd93a45b92f/stacks/stasiakVC2%40test/b4807acf-2fac-439b-a6 3f-bec300fe5960", "rel": "self"}], "capabilities": [], "notification_topics": [], "timeout_mins": 50, "stack_status": "CREATE_COMPLETE", "updated_time": "2012-12-10T14:56:22Z", "id": "b4807acf-2fac-439b-a63f-bec300fe5960", "template_description": "AWS CloudFormation Sample Template WordPress_Multi_Instance: WordPress is web software you can use to create a beautiful website or blog. This template installs two instances: one running a WordPress deployment and the other using a local MySQL database to store the data."}}
private static final long serialVersionUID = -8803419877251877531L;
@XmlElement
private String id;
@XmlElement
private Object capabilities;
@XmlElement
private Object notification_topics;
@XmlElement
private List