jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nhat Quang Nguyen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-693) Support OpenStack Orchestration (Heat) API
Date Tue, 19 Mar 2019 07:32:00 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16795782#comment-16795782
] 

Nhat Quang Nguyen commented on JCLOUDS-693:
-------------------------------------------

I think yes

I have tried creating changes locally

 

@@ -45,18 +45,24 @@ public abstract class UpdateStack {
     */
    @Nullable public abstract Map<String, Object> getParameters();

+   /**
+    * @see Builder#parameters(boolean)
+    */
+   public abstract boolean getExisting();
+
    public static Builder builder() {
       return new AutoValue_UpdateStack.Builder();
    }

    public abstract Builder toBuilder();

-   @SerializedNames(\{"template", "template_url", "parameters"})
-   private static UpdateStack create(@Nullable String template, @Nullable String templateUrl,
@Nullable Map<String, Object> parameters) {
+   @SerializedNames(\{"template", "template_url", "parameters", "existing"})
+   private static UpdateStack create(@Nullable String template, @Nullable String templateUrl,
@Nullable Map<String, Object> parameters, boolean existing) {
       return builder()
             .template(template)
             .templateUrl(templateUrl)
-            .parameters(parameters).build();
+            .parameters(parameters)
+            .existing(existing).build();
    }


@@ -65,6 +71,7 @@ public abstract class UpdateStack {
       public abstract Builder template(String template);
       public abstract Builder templateUrl(String templateUrl);
       public abstract Builder parameters(Map<String, Object> parameters);
+      public abstract Builder existing(boolean existing);

       abstract Map<String, Object> getParameters();

> Support OpenStack Orchestration (Heat) API
> ------------------------------------------
>
>                 Key: JCLOUDS-693
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-693
>             Project: jclouds
>          Issue Type: New Feature
>          Components: jclouds-labs-openstack
>            Reporter: Jeremy Daggett
>            Priority: Major
>              Labels: openstack, orchestration
>
> Heat is the main project in the OpenStack Orchestration program. It implements an orchestration
engine to launch multiple composite cloud applications based on templates in the form of text
files that can be treated like code. A native Heat template format is evolving, but Heat also
endeavours to provide compatibility with the AWS CloudFormation template format, so that many
existing CloudFormation templates can be launched on OpenStack. Heat provides both an OpenStack-native
ReST API and a CloudFormation-compatible Query API.
> API Docs: http://developer.openstack.org/api-ref-orchestration-v1.html
> OpenStack Heat Wiki: https://wiki.openstack.org/wiki/Heat



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message