cloudstack-go.git
12 months agoUpdate README.md
Rohit Yadav [Tue, 27 Jul 2021 09:18:16 +0000 (14:48 +0530)] 
Update README.md

12 months agoUpdate README (#2)
Olivier Lemasle [Tue, 27 Jul 2021 09:17:41 +0000 (11:17 +0200)] 
Update README (#2)

- Use v2 path, now that it exists
- Update CloudStack API doc link, since it has been updated to 4.15.1.0 (and
  the old link was broken)

12 months ago.asf.yaml: trivial edit
Rohit Yadav [Tue, 27 Jul 2021 09:07:05 +0000 (14:37 +0530)] 
.asf.yaml: trivial edit

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
12 months agoperformrelease: add script to assist with cutting RC
Rohit Yadav [Tue, 27 Jul 2021 07:01:45 +0000 (12:31 +0530)] 
performrelease: add script to assist with cutting RC

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
12 months agocloudstack: remove Nuage service
Rohit Yadav [Tue, 27 Jul 2021 06:28:03 +0000 (11:58 +0530)] 
cloudstack: remove Nuage service

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
12 months agocloudstack: auto-generate sdk based on 4.15.1.0 listApis.json
Rohit Yadav [Tue, 27 Jul 2021 06:25:38 +0000 (11:55 +0530)] 
cloudstack: auto-generate sdk based on 4.15.1.0 listApis.json

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
12 months agolayout: remove Nuage service, Nuage related feature/APIs were deprecated and removed
Rohit Yadav [Tue, 27 Jul 2021 06:24:20 +0000 (11:54 +0530)] 
layout: remove Nuage service, Nuage related feature/APIs were deprecated and removed

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
12 months agolistApis: update as per 4.15.1.0 version
Rohit Yadav [Tue, 27 Jul 2021 06:23:50 +0000 (11:53 +0530)] 
listApis: update as per 4.15.1.0 version

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
12 months agoUpdate go module path with Apache home (#1)
Olivier Lemasle [Tue, 27 Jul 2021 06:14:37 +0000 (08:14 +0200)] 
Update go module path with Apache home (#1)

12 months ago.asf.yaml: enable issues, wiki, projects
Rohit Yadav [Tue, 27 Jul 2021 06:12:02 +0000 (11:42 +0530)] 
.asf.yaml: enable issues, wiki, projects

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
12 months agoREADME: update history and reference to IP clearance
Rohit Yadav [Mon, 26 Jul 2021 06:04:48 +0000 (11:34 +0530)] 
README: update history and reference to IP clearance

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
13 months agoUpdate license to Apache License, Version 2.0 apache-license-2.0
Sander van Harmelen [Mon, 21 Jun 2021 11:00:31 +0000 (13:00 +0200)] 
Update license to Apache License, Version 2.0

16 months agoMerge pull request #136 from ovear/master
Sander van Harmelen [Tue, 16 Mar 2021 17:45:32 +0000 (18:45 +0100)] 
Merge pull request #136 from ovear/master

Correct listVirtualMachinesMetrics json tag.

16 months agocorrect listVirtualMachinesMetrics json tag.
Ovear [Fri, 12 Mar 2021 14:31:23 +0000 (22:31 +0800)] 
correct listVirtualMachinesMetrics json tag.

19 months agoMerge pull request #133 from weizhouapache/bugfix-listcapabilities
Sander van Harmelen [Wed, 6 Jan 2021 10:44:19 +0000 (11:44 +0100)] 
Merge pull request #133 from weizhouapache/bugfix-listcapabilities

Fix bug while list capabilties

19 months agoTweak the solution a bit
Sander van Harmelen [Wed, 6 Jan 2021 10:42:39 +0000 (11:42 +0100)] 
Tweak the solution a bit

19 months agoFix it in generate.go
Wei Zhou [Wed, 6 Jan 2021 09:49:05 +0000 (09:49 +0000)] 
Fix it in generate.go

19 months agoUpdate my mail address in the README
Sander van Harmelen [Tue, 5 Jan 2021 13:54:06 +0000 (14:54 +0100)] 
Update my mail address in the README

19 months agoFix bug while list capabilties
Wei Zhou [Tue, 5 Jan 2021 13:03:48 +0000 (13:03 +0000)] 
Fix bug while list capabilties

Different from other list commands, listcapabilities does not return an array list.

```
(localcloud) 🐱 > list capabilities
{
  "capability": {
    "allowusercreateprojects": true,
    "allowuserexpungerecovervm": true,
    "allowuserexpungerecovervolume": true,
    "allowuserviewalldomainaccounts": false,
    "allowuserviewdestroyedvm": true,
    "cloudstackversion": "4.15.0.0",
    "customdiskofferingmaxsize": 1024,
    "customdiskofferingminsize": 1,
    "dynamicrolesenabled": true,
    "kubernetesclusterexperimentalfeaturesenabled": false,
    "kubernetesserviceenabled": true,
    "kvmsnapshotenabled": true,
    "projectinviterequired": false,
    "regionsecondaryenabled": false,
    "securitygroupsenabled": false,
    "supportELB": "false",
    "userpublictemplateenabled": true
  }
}
```

for other list apis, e.g. list templates
```
(localcloud) 🐱 > list templates templatefilter=all filter=id,name
{
  "count": 2,
  "template": [
    {
      "id": "b54e8a17-ebe5-4849-a015-2698e1d01768",
      "name": "SystemVM Template (KVM)"
    },
    {
      "id": "63985306-48ee-11eb-8680-069fc4003392",
      "name": "CentOS 5.5(64-bit) no GUI (KVM)"
    }
  ]
}
```

2 years agoMerge pull request #129 from xanzy/svh/f-metrics
Sander van Harmelen [Thu, 25 Jun 2020 16:35:57 +0000 (18:35 +0200)] 
Merge pull request #129 from xanzy/svh/f-metrics

Add missing metric methods

2 years agoAdd missing metric methods
Sander van Harmelen [Thu, 25 Jun 2020 16:31:38 +0000 (18:31 +0200)] 
Add missing metric methods

2 years agoMerge pull request #127 from nettoclaudio/fix/send-resourcetags-sorted v2.9.0
Sander van Harmelen [Tue, 31 Mar 2020 21:37:29 +0000 (23:37 +0200)] 
Merge pull request #127 from nettoclaudio/fix/send-resourcetags-sorted

Present map API type in a predictable order

2 years agomove the generic helper func to cloudstack file
Claudio Netto [Tue, 31 Mar 2020 20:30:55 +0000 (17:30 -0300)] 
move the generic helper func to cloudstack file

2 years agoSend map API types in a predictable order (sorted by key name)
Claudio Netto [Tue, 31 Mar 2020 14:39:12 +0000 (11:39 -0300)] 
Send map API types in a predictable order (sorted by key name)

2 years agoSubmit resource tags in a predictable order
Claudio Netto [Mon, 30 Mar 2020 20:07:33 +0000 (17:07 -0300)] 
Submit resource tags in a predictable order

2 years agoMake the module inline with the version v2.8.0
Sander van Harmelen [Wed, 13 Nov 2019 13:57:25 +0000 (14:57 +0100)] 
Make the module inline with the version

2 years agoMerge pull request #124 from cezarsa/withzone v2.7.2
Sander van Harmelen [Tue, 12 Nov 2019 18:04:48 +0000 (19:04 +0100)] 
Merge pull request #124 from cezarsa/withzone

Add WithZone function to filter resources from a zone

2 years agoAdd WithZone function to filter resources from a zone
Cezar Sa Espinola [Tue, 12 Nov 2019 17:02:37 +0000 (14:02 -0300)] 
Add WithZone function to filter resources from a zone

2 years agoMerge pull request #123 from xanzy/svh/b-user-data v2.7.1
Sander van Harmelen [Sat, 9 Nov 2019 09:37:53 +0000 (10:37 +0100)] 
Merge pull request #123 from xanzy/svh/b-user-data

Unwrap the GetVirtualMachineUserData response

2 years agoUnwrap the GetVirtualMachineUserData response
Sander van Harmelen [Wed, 6 Nov 2019 19:16:37 +0000 (20:16 +0100)] 
Unwrap the GetVirtualMachineUserData response

2 years agoTweak the solution just a little v2.7.0
Sander van Harmelen [Sun, 8 Sep 2019 07:22:41 +0000 (09:22 +0200)] 
Tweak the solution just a little

2 years agoMerge pull request #119 from cezarsa/detailsencoding
Sander van Harmelen [Sun, 8 Sep 2019 07:25:02 +0000 (09:25 +0200)] 
Merge pull request #119 from cezarsa/detailsencoding

Change details field encoding to match cloudstack expectations

2 years agoChange details field encoding to match cloudstack expectations
Cezar Sa Espinola [Sat, 31 Aug 2019 13:45:42 +0000 (10:45 -0300)] 
Change details field encoding to match cloudstack expectations

How the details field must be encoded changes depending on the command
implementation. Some commands allow arbitrary keys and some other
commands require only 2 keys to exist ('key' and 'value') and allow a
list of such key value pairs as the details field.

I wasn't able to find anything in the documentation that would make it
clear which encoding was required for each command and had to look at
cloudstack's code to figure this out.

Here is a list of the commands singled out in this commit and references
to the required encoding in cloudstack's code:

addGuestOs
https://github.com/apache/cloudstack/blob/87c43501608a1df72a2f01ed17a522233e6617b0/api/src/main/java/org/apache/cloudstack/api/command/admin/guest/AddGuestOsCmd.java#L88-L89

updateGuestOs
https://github.com/apache/cloudstack/blob/87c43501608a1df72a2f01ed17a522233e6617b0/api/src/main/java/org/apache/cloudstack/api/command/admin/guest/UpdateGuestOsCmd.java#L80-L81

addImageStore
https://github.com/apache/cloudstack/blob/87c43501608a1df72a2f01ed17a522233e6617b0/api/src/main/java/org/apache/cloudstack/api/command/admin/storage/AddImageStoreCmd.java#L90-L91

createSecondaryStagingStore
https://github.com/apache/cloudstack/blob/87c43501608a1df72a2f01ed17a522233e6617b0/api/src/main/java/org/apache/cloudstack/api/command/admin/storage/CreateSecondaryStagingStoreCmd.java#L80

updateCloudToUseObjectStore
https://github.com/apache/cloudstack/blob/87c43501608a1df72a2f01ed17a522233e6617b0/api/src/main/java/org/apache/cloudstack/api/command/admin/storage/UpdateCloudToUseObjectStoreCmd.java#L84-L85

addResourceDetail
https://github.com/apache/cloudstack/blob/87c43501608a1df72a2f01ed17a522233e6617b0/api/src/main/java/org/apache/cloudstack/api/command/user/volume/AddResourceDetailCmd.java#L68-L69

updateZone
https://github.com/apache/cloudstack/blob/87c43501608a1df72a2f01ed17a522233e6617b0/server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java#L1866-L1867

3 years agoMerge pull request #116 from xanzy/svh/f-http-client v2.6.2
Sander van Harmelen [Fri, 7 Jun 2019 06:47:02 +0000 (08:47 +0200)] 
Merge pull request #116 from xanzy/svh/f-http-client

Introduce optional client configuration options

3 years agoIntroduce optional client configuration options
Sander van Harmelen [Wed, 5 Jun 2019 12:36:58 +0000 (14:36 +0200)] 
Introduce optional client configuration options

3 years agoMerge pull request #114 from xanzy/svh/b-float64 v2.6.1
Sander van Harmelen [Sun, 26 May 2019 09:54:53 +0000 (11:54 +0200)] 
Merge pull request #114 from xanzy/svh/b-float64

Fix the type check to test for float64

3 years agoFix the type check to test for float64
Sander van Harmelen [Sun, 26 May 2019 09:54:01 +0000 (11:54 +0200)] 
Fix the type check to test for float64

3 years agoMerge pull request #113 from xanzy/svh/f-cs-4.12 v2.6.0
Sander van Harmelen [Sun, 26 May 2019 08:51:17 +0000 (10:51 +0200)] 
Merge pull request #113 from xanzy/svh/f-cs-4.12

Update to support CloudStack 4.12.x.x

3 years agoUpdate to support CloudStack 4.12.x.x
Sander van Harmelen [Fri, 10 May 2019 09:44:25 +0000 (11:44 +0200)] 
Update to support CloudStack 4.12.x.x

3 years agoMerge pull request #112 from xanzy/svh/f-with-domain v2.5.0
Sander van Harmelen [Tue, 23 Apr 2019 12:38:34 +0000 (14:38 +0200)] 
Merge pull request #112 from xanzy/svh/f-with-domain

Add a `WithDomain` helper to set `domainid` fields

3 years agoAdd a `WithDomain` helper to set `domainid` fields
Sander van Harmelen [Tue, 23 Apr 2019 12:34:54 +0000 (14:34 +0200)] 
Add a `WithDomain` helper to set `domainid` fields

3 years agoMerge pull request #108 from xanzy/svh/b-http-client v2.4.1
Sander van Harmelen [Mon, 24 Dec 2018 12:12:22 +0000 (13:12 +0100)] 
Merge pull request #108 from xanzy/svh/b-http-client

Fix the transport so connections are managed correctly

3 years agoFix the transport so connections are managed correctly
Sander van Harmelen [Mon, 24 Dec 2018 12:09:13 +0000 (13:09 +0100)] 
Fix the transport so connections are managed correctly

3 years agoMerge pull request #107 from xanzy/f-4.11.2.0 v2.4.0
Sander van Harmelen [Mon, 24 Dec 2018 10:18:42 +0000 (11:18 +0100)] 
Merge pull request #107 from xanzy/f-4.11.2.0

Update to support CloudStack 4.11

3 years agoUpdate to support CloudStack 4.11
Sander van Harmelen [Sat, 22 Dec 2018 11:46:05 +0000 (12:46 +0100)] 
Update to support CloudStack 4.11

And fix a few minor issues caused by PR #106

3 years agoAvoid embedded structs by generating new struct types (#106)
Sander van Harmelen [Sun, 16 Dec 2018 12:21:07 +0000 (13:21 +0100)] 
Avoid embedded structs by generating new struct types (#106)

These changes are based on PR #104 contributed by @cezarsa! The result it the same, but the implementation is slightly different.

Thank you very much for your PR @cezarsa!

Closes #104

3 years agoFixed typo within README.md (#102)
Ryan Hamilton [Fri, 12 Oct 2018 20:53:18 +0000 (13:53 -0700)] 
Fixed typo within README.md (#102)

3 years agoUpdate secondarystoragetotal field to float64 for Cloudstack 4.11.1.0 (#101) v2.2.1 v2.3.4
Cezar Sá Espinola [Mon, 27 Aug 2018 20:52:50 +0000 (17:52 -0300)] 
Update secondarystoragetotal field to float64 for Cloudstack 4.11.1.0 (#101)

After Cloudstack 4.11.1.0 the secondarystoragetotal field was changed
from Long to Float in Cloudstack in apache/cloudstack#2439.
Changing this in the generated client seems safe and backward compatible
because long values will still be parsed correctly as a float64.

4 years agoChange synchronous boolean response to bool (#99)
Sander van Harmelen [Wed, 23 May 2018 08:50:01 +0000 (10:50 +0200)] 
Change synchronous boolean response to bool (#99)

The `success` fields in newer versions of CloudStack will use a `bool` value instead of a `string`, matching the behavious of asynchronious responses.

To make sure this change is backwards compatible the related types now have a custom `UnmarshalJSON` method that unmarshals the data (string or bool) into the new bool field.

4 years agoMake sure we treat `OutOfBandManagementResponse` correctly (#97) v2.3.3
Sander van Harmelen [Thu, 19 Apr 2018 19:16:51 +0000 (21:16 +0200)] 
Make sure we treat `OutOfBandManagementResponse` correctly (#97)

4 years agoAdd support for the login command
Sander van Harmelen [Mon, 16 Apr 2018 11:55:48 +0000 (13:55 +0200)] 
Add support for the login command

4 years agoUpdate the generated code using the correct layout v2.3.2
Sander van Harmelen [Tue, 20 Mar 2018 22:55:36 +0000 (23:55 +0100)] 
Update the generated code using the correct layout

4 years agoUpdate layout to match CS 4.9.3
Sander van Harmelen [Tue, 20 Mar 2018 22:53:47 +0000 (23:53 +0100)] 
Update layout to match CS 4.9.3

4 years agoUpdate the generated code
Sander van Harmelen [Tue, 20 Mar 2018 10:30:31 +0000 (11:30 +0100)] 
Update the generated code

4 years agoAdd option to generate code from a custom input file
Sander van Harmelen [Tue, 20 Mar 2018 10:30:21 +0000 (11:30 +0100)] 
Add option to generate code from a custom input file

4 years agoGeneration updates:
Daniel Paul Carbone [Fri, 9 Feb 2018 05:04:21 +0000 (23:04 -0600)] 
Generation updates:

- Allowing generation based on local "listApis" response
- Adding flag to prevent ",omitempty" on generated response models
- Changing "set" type from "[]string" to "[]interface{}"
- Adding "massageServices" function to facilitate manual cleanup of
  somewhat...loose listApis response from cloudstack.
- Updating "cloudstack" package based on 4.8 api response

4 years agoUpdate to support CloudStack 4.9.3 (#91) v2.3.1
Sander van Harmelen [Mon, 19 Mar 2018 19:35:42 +0000 (20:35 +0100)] 
Update to support CloudStack 4.9.3 (#91)

4 years agoUpdate encoding of 'details' maps (#86) v2.3.0
Sander van Harmelen [Sat, 13 Jan 2018 11:26:33 +0000 (12:26 +0100)] 
Update encoding of 'details' maps (#86)

Update encoding of 'details' maps

4 years agoAllow setting default options (#85)
Sander van Harmelen [Sat, 13 Jan 2018 11:25:49 +0000 (12:25 +0100)] 
Allow setting default options (#85)

Using it looks like this:

```
// Create a new API client
cs := cloudstack.NewAsyncClient("https://cloudstack.company.com", "your-api-key", "your-api-secret", false)

// Set an option
cs.DefaultOptions(WithProject(“project”))

// Or set multiple options
cs.DefautlOptions(WithProject(“project”), WithVPCID(“xxxx”))
```

4 years agoTweak the CustomService (#83) v2.2.0
Sander van Harmelen [Thu, 5 Oct 2017 09:31:45 +0000 (11:31 +0200)] 
Tweak the CustomService (#83)

4 years agoadds support for custom services (#82)
André Carvalho [Thu, 5 Oct 2017 09:09:34 +0000 (06:09 -0300)] 
adds support for custom services (#82)

4 years agoFixed responses for create user and register user keys (#81)
pdube [Mon, 2 Oct 2017 18:44:02 +0000 (14:44 -0400)] 
Fixed responses for create user and register user keys (#81)

4 years agoCorrectly unmarshal the `CreateAccountResponse` (#80)
Sander van Harmelen [Sun, 24 Sep 2017 14:35:58 +0000 (16:35 +0200)] 
Correctly unmarshal the `CreateAccountResponse` (#80)

Fixes #78

4 years agoAdd an example of how to use the package (#74)
Sander van Harmelen [Fri, 25 Aug 2017 08:34:59 +0000 (10:34 +0200)] 
Add an example of how to use the package (#74)

5 years agoMake sure the FirewallService works with old CS version (#72) v2.1.7
Sander van Harmelen [Thu, 11 May 2017 07:54:48 +0000 (09:54 +0200)] 
Make sure the FirewallService works with old CS version (#72)

5 years agoFix the authorizeSecurityGroup[In|E]gress responses (#69) v2.1.6
Sander van Harmelen [Wed, 26 Oct 2016 18:16:49 +0000 (20:16 +0200)] 
Fix the authorizeSecurityGroup[In|E]gress responses (#69)

5 years agoFix/improve #66 (#68) v2.1.5
Sander van Harmelen [Mon, 24 Oct 2016 10:36:39 +0000 (12:36 +0200)] 
Fix/improve #66 (#68)

Fixing it this way makes it cleaner to use/set the `usersecuritygrouplist` in clients using this, and keeps it simular in use compared to working with `serviceproviderlist` and `tags`.

Fixes #67

5 years agoFix usersecuritygrouplist parameters (#66)
Sander van Harmelen [Sun, 23 Oct 2016 09:28:36 +0000 (11:28 +0200)] 
Fix usersecuritygrouplist parameters (#66)

5 years agoFix a bug in the createSecurityGroup call (#62) (#63) v2.1.4
Sander van Harmelen [Wed, 28 Sep 2016 15:38:44 +0000 (17:38 +0200)] 
Fix a bug in the createSecurityGroup call (#62) (#63)

5 years agoFix a bug in the listAffinityGroup call (#61) v2.1.3
Sander van Harmelen [Wed, 31 Aug 2016 14:38:59 +0000 (16:38 +0200)] 
Fix a bug in the listAffinityGroup call (#61)

It reports the number of VirtualMachines in the groups as being the number of groups found.

5 years agoFix a bug that created bad parameter names (#60) v2.1.2
Sander van Harmelen [Mon, 29 Aug 2016 09:53:18 +0000 (11:53 +0200)] 
Fix a bug that created bad parameter names (#60)

When the parameter is called `type` we have to convert this to prevent using the reserved keyword `type` as a variable name. But we were doing it in a few other locations as well. That’s fixed now.

6 years agoAdd a copy of the license file to the cloudstack package
Sander van Harmelen [Thu, 28 Jul 2016 18:03:36 +0000 (20:03 +0200)] 
Add a copy of the license file to the cloudstack package

6 years agoFix the ListLoadBalancerRuleInstances response (#59) v2.1.1
Sander van Harmelen [Wed, 27 Jul 2016 11:02:17 +0000 (13:02 +0200)] 
Fix the ListLoadBalancerRuleInstances response (#59)

This one can have two possible response types, depending on the query values used. By adding this, both types are supported.

6 years agoImprover helper function to retrieve ID (#58) v2.1.0
Sander van Harmelen [Tue, 26 Jul 2016 17:27:01 +0000 (19:27 +0200)] 
Improver helper function to retrieve ID (#58)

6 years agoMerge pull request #56 from svanharmelen/f-list-with-vpcid-option
Sander van Harmelen [Wed, 18 May 2016 12:33:22 +0000 (14:33 +0200)] 
Merge pull request #56 from svanharmelen/f-list-with-vpcid-option

Add an option to search with VPC ID

6 years agoAdd an option to search with VPC ID
Sander van Harmelen [Wed, 18 May 2016 12:32:33 +0000 (14:32 +0200)] 
Add an option to search with VPC ID

6 years agoMerge pull request #55 from svanharmelen/b-loadbalancerruleinstance-response
Sander van Harmelen [Mon, 2 May 2016 10:32:14 +0000 (12:32 +0200)] 
Merge pull request #55 from svanharmelen/b-loadbalancerruleinstance-response

Fix issue #54

6 years agoFix issue #54
Sander van Harmelen [Mon, 2 May 2016 10:28:32 +0000 (12:28 +0200)] 
Fix issue #54

This fixes issue #54 by adding some specific tweaks needed to handle
the `listLoadBalancerRuleInstances` response correctly.

Unfortunately the CloudStack API has a few strange corner
cases/inconsistencies that requires specific handling of certain calls.

6 years agoMerge pull request #53 from svanharmelen/f-project-support
Sander van Harmelen [Thu, 21 Apr 2016 14:52:44 +0000 (16:52 +0200)] 
Merge pull request #53 from svanharmelen/f-project-support

Add better support for using projects with the helper functions

6 years agoAdd better support for using projects with the helper functions
Sander van Harmelen [Thu, 21 Apr 2016 14:51:29 +0000 (16:51 +0200)] 
Add better support for using projects with the helper functions

6 years agoMerge pull request #51 from svanharmelen/f-v50 v2.0.0
Sander van Harmelen [Tue, 19 Apr 2016 19:34:13 +0000 (21:34 +0200)] 
Merge pull request #51 from svanharmelen/f-v50

Change repo layout and updated to latest version

6 years agoMake sure the FirewallService remains backwards compatible
Sander van Harmelen [Tue, 19 Apr 2016 19:28:38 +0000 (21:28 +0200)] 
Make sure the FirewallService remains backwards compatible

6 years agoGenerate packages based on latest API output
Sander van Harmelen [Tue, 19 Apr 2016 13:38:59 +0000 (15:38 +0200)] 
Generate packages based on latest API output

Also cleanup the old packages and make sure the the current package is
backwards compatible.

6 years agoMerge pull request #50 from Carles-Figuerola/f-createnetworkoffering
Sander van Harmelen [Fri, 29 Jan 2016 15:37:40 +0000 (16:37 +0100)] 
Merge pull request #50 from Carles-Figuerola/f-createnetworkoffering

Add a special use case for CreateNetworkOffering

6 years agoAdd a special use case for CreateNetworkOffering
Carles Figuerola [Fri, 29 Jan 2016 15:32:55 +0000 (09:32 -0600)] 
Add a special use case for CreateNetworkOffering

6 years agoMerge pull request #49 from svanharmelen/dev
Sander van Harmelen [Fri, 29 Jan 2016 15:14:55 +0000 (16:14 +0100)] 
Merge pull request #49 from svanharmelen/dev

Introduce a way to have specific key/value names

6 years agoIntroduce a way to have specific key/value names
Sander van Harmelen [Fri, 29 Jan 2016 14:50:18 +0000 (15:50 +0100)] 
Introduce a way to have specific key/value names

This is an alternative solution for PR #47.

By using this approach we don’t have to make any changes to the raw
output generated by the `listApis` API call (which is saved in the
`v43.go` and `v44.go` files).

So when we now want to generate code based on a new version, we only
have to paste the output of the `listApis` call info a new `vxx.go`
file and were good to go, without having to manually alter the file.

Next to all that’ it simple feels a little cleaner and more robust
:wink:

6 years agoMerge pull request #48 from svanharmelen/dev
Sander van Harmelen [Fri, 29 Jan 2016 14:12:44 +0000 (15:12 +0100)] 
Merge pull request #48 from svanharmelen/dev

Add a special use case for CreateServiceOffering

6 years agoAdd a special use case for CreateServiceOffering
Sander van Harmelen [Fri, 29 Jan 2016 14:12:06 +0000 (15:12 +0100)] 
Add a special use case for CreateServiceOffering

I tried to make this a more generic fix as it seems more API’s have
this pattern, but it seems CloudStack is just too inconsistent for this.

Fixes #44

6 years agoMerge pull request #45 from svanharmelen/Dev
Sander van Harmelen [Mon, 25 Jan 2016 17:03:51 +0000 (18:03 +0100)] 
Merge pull request #45 from svanharmelen/Dev

Fix listAsyncJobs

6 years agoFix listAsyncJobs
Sander van Harmelen [Mon, 25 Jan 2016 17:03:37 +0000 (18:03 +0100)] 
Fix listAsyncJobs

6 years agoMerge pull request #43 from svanharmelen/dev
Sander van Harmelen [Thu, 3 Dec 2015 12:13:49 +0000 (13:13 +0100)] 
Merge pull request #43 from svanharmelen/dev

Tweak the async logic

6 years agoAdd a simple kind of exponential backoff feature for async clients
Sander van Harmelen [Thu, 3 Dec 2015 11:17:44 +0000 (12:17 +0100)] 
Add a simple kind of exponential backoff feature for async clients

6 years agoImprove async job handling and increase default timeout
Sander van Harmelen [Mon, 30 Nov 2015 23:37:48 +0000 (00:37 +0100)] 
Improve async job handling and increase default timeout

6 years agoMerge pull request #42 from svanharmelen/dev
Sander van Harmelen [Wed, 25 Nov 2015 17:17:36 +0000 (18:17 +0100)] 
Merge pull request #42 from svanharmelen/dev

Extend the ISO helper functions

6 years agoExtend the ISO helper functions
Sander van Harmelen [Wed, 25 Nov 2015 17:16:09 +0000 (18:16 +0100)] 
Extend the ISO helper functions

6 years agoMerge pull request #41 from svanharmelen/dev
Sander van Harmelen [Tue, 13 Oct 2015 11:30:51 +0000 (13:30 +0200)] 
Merge pull request #41 from svanharmelen/dev

Generate new code form files instead of API calls

6 years agoGenerate new code form files instead of API calls
Sander van Harmelen [Tue, 13 Oct 2015 11:26:32 +0000 (13:26 +0200)] 
Generate new code form files instead of API calls

This release adds the possibility to generate updated packages based on
the files in this repo instead of needing actual access to a certain
CloudStack environment.

6 years agoMerge pull request #40 from svanharmelen/dev
Sander van Harmelen [Tue, 13 Oct 2015 08:43:22 +0000 (10:43 +0200)] 
Merge pull request #40 from svanharmelen/dev

Make closing the body a little more robust

6 years agoMake closing the body a little more robust
Sander van Harmelen [Tue, 13 Oct 2015 08:29:48 +0000 (10:29 +0200)] 
Make closing the body a little more robust

And with that also a little more idiomatic