Commit Graph

132 Commits

Author SHA1 Message Date
jucolon 7368d58ad9 JCLOUDS-1342 : Azure-ARM Virtual Machine Scale Set Support 2017-11-21 10:20:07 +01:00
Ignasi Barrera 8b33c44078 Add tags to virtual network creation 2017-11-06 09:09:30 +01:00
Andrea Turli af79f8f812 Azure ARM fix OSProfile domain object 2017-10-26 12:02:25 +02:00
Andrea Turli bc520cfdf2 fix domain object
- fix VirtuaMachineMockTest
2017-10-25 15:55:06 +02:00
Ignasi Barrera e1e89b5ffb Update Azure ARM credentials instructions 2017-10-25 15:17:59 +02:00
Vikas Rangarajan 7d3b1bebd5 JCLOUDS-1282: Add back support for Azure ARM custom data 2017-09-29 11:29:08 +02:00
Andrea Turli b0abfa4b9a [ARM] IpOption will allocate a public ip when a network is specified 2017-09-13 14:10:19 +02:00
Andrea Turli 79daee361a remove overrides from AzureComputeService for destroyNode and destroyNodesMatching
- uses https://github.com/jclouds/jclouds/pull/1135
2017-09-06 12:07:17 +02:00
Andrew Gaul fd00c7db75 Make auto service optional
This makes dependencies consistent and eliminates warnings of the
form:

$M2_HOME/repository/org/apache/jclouds/driver/jclouds-slf4j/2.1.0-SNAPSHOT/jclouds-slf4j-2.1.0-SNAPSHOT.jar(org/jclouds/logging/slf4j/config/SLF4JLoggingModule.class): warning: Cannot find annotation method 'value()' in type 'AutoService': class file for com.google.auto.service.AutoService not found

Reference:

https://github.com/google/auto/tree/master/service#download
2017-08-30 12:26:29 -07:00
Duncan Grant 4e66420997 Cleanup extraneous resources
This was not being called as doDestroyNode returns once node deleted.

Change based on similar code on gce compute provider
2017-08-25 09:09:44 +02:00
Andrew Gaul b38ce8d7b3 JCLOUDS-1225: Address Guava 18 Objects changes
Fixed with:

find -name \*.java | xargs sed -i 's/Objects.[Tt]oStringHelper/More&/g'
find -name \*.java | xargs sed -i 's/Objects.firstNonNull/More&/g'
find -name \*.java | xargs sed -i 's/^\(import com.google.common.base.\)\(Objects.*\)/\1More\2\n\1\2/g'
find -name \*.java | xargs java -jar google-java-format-1.3-all-deps.jar -i --fix-imports-only --skip-sorting-imports
2017-08-24 18:28:07 -07:00
Svetoslav Neykov 7100e811b5 Re-use the just added Passwords from jclouds-core 2017-08-01 14:41:06 +03:00
jims c7050757f5 Subscription ID wasn't being substituted, add default oauth.endpoint 2017-08-01 08:17:09 +02:00
Svetoslav Neykov 180efdf799 Generate Azure VM password on the fly 2017-07-12 14:50:06 +03:00
Svetoslav Neykov cb556428e3 Fix SGE.removeSecurityGroup for when the SG doesn't exist 2017-07-07 10:37:03 +03:00
Ignasi Barrera f086c050f9 Use the date service to parse dates 2017-06-28 09:29:52 +02:00
Dani Estevez b2cc647ff2 Implements metrics and metricdefinitions API 2017-06-28 08:58:54 +02:00
Valentin Aitken 9718bec439 Azurecompute ARM - proper tests for disks
- Fix DataDisk.CachingTypes.fromValue to recognize values properly
- Fix tests which had blob disks and managed disks at the same time
- At this point managed disks are used by default and should be tested.
2017-05-29 10:29:34 +02:00
Yavor Yanchev 50ae01985a Adding support for provisioning of Windows VMs with enabled WinRM
- Provisioning using pre-existing KeyVault
- Enabling WinRM with pre-existing certificate
2017-05-25 16:34:00 +03:00
Dani Estevez 45480c4913 Fixes India regions to their actual name 2017-05-23 08:13:33 +02:00
Ignasi Barrera df30057386 JCLOUDS-1278: Allow to configure virtual machine NICs 2017-04-28 09:03:40 +02:00
Ignasi Barrera ec67fdea32 JCLOUDS-1274: Delete managed disks when cleaning up VM resources 2017-04-27 22:54:08 +02:00
Ignasi Barrera 3a9f5787bf Better encapsulated the image id encoding logic 2017-04-26 00:13:06 +02:00
Ignasi Barrera 3b9609f2d5 Added ID to the LoadBalancer entity 2017-04-26 00:13:02 +02:00
Ignasi Barrera 3d274239a1 Properly honor the configured regions in all list methods (list nodes, images and security groups) 2017-04-26 00:12:57 +02:00
Ignasi Barrera 83c0a3c7b2 JCLOUDS-1273/JCLOUDS-1226: Support multiple resource groups in ARM 2017-04-26 00:12:53 +02:00
Dani Estevez cc13cfeda1 Update ImageExtension to work with Managed Disks 2017-04-24 08:22:43 +02:00
Andrea Turli 37dcb87dfa Initial support ManagedDataDisks
- add DiskApi + tests
- add ImageApi + tests
- add TemplateOptions.dataDisks
- use dataDisks in adapter
- fix CreateOptions enum usage
- fix VirtualMachineApiMockTest
2017-04-11 11:45:18 +02:00
Dani Estevez c45728e085 JCLOUDS-1254 Filters storage account by current available locations 2017-03-28 08:23:46 +02:00
Andrea Turli 894be791ea edit VirtualMachineApi.create to createOrUpdate
- add live test for update vm
- update virtual machine api docs
- fix VirtualMachineApiMockTest
2017-03-03 15:28:07 +01:00
Ignasi Barrera cec73089eb Improve image lookup when getting node info 2017-03-01 10:40:22 +01:00
Ignasi Barrera 6f23b89c69 Better create rules and explicit test for the ALL protocols 2017-02-21 23:04:20 +01:00
Daniel Estevez 21cda804b8 Checks existence of node before getting SecurityGroups and Images 2017-02-17 14:16:27 +01:00
Ignasi Barrera efb3dd53d0 Fix NPE in ARM VirtualMachineToNodeMetadata 2017-02-17 10:50:22 +01:00
Daniel Estevez dd9bbff452 Adds new available Azure locations according to https://azure.microsoft.com/en-ca/regions/ 2017-02-16 14:51:04 +01:00
Daniel Estevez 6641b5be58 Minor fixes: logging correctly availabilitySetName 2017-02-15 15:45:09 +01:00
Ignasi Barrera e0918405c6 Cleanup orphaned availability sets 2017-02-06 22:15:49 +01:00
Daniel Estevez a312d661f6 Add Load Balancer APIs to Azure ARM 2017-02-06 10:37:24 +01:00
Andrea Turli ae9d4b366f [azurecompute-arm] performance improvements misc
- improve cleanup performances: by using resourceGroupApi.resources
2017-01-30 15:12:36 +01:00
Ignasi Barrera 9519021564 Inspect all known OSFamilies 2017-01-27 14:20:18 +01:00
Ignasi Barrera c9e2286f73 JCLOUDS-1229: Enable the rate limit module by default 2017-01-26 22:41:07 +01:00
Ignasi Barrera 176abfa7fd Cleanup legacy code and introduce the resource group cache 2017-01-26 21:58:23 +01:00
Daniel Estevez cffee28afa JCLOUDS-1231: Implement the SecurityGroupExtension in ARM 2017-01-26 21:58:23 +01:00
Duncan Godwin 15193d0349 Fix generateStorageAccountName
The storageAccountName was used instead of the sanitizedStorageAccountName.
2017-01-11 18:20:11 +01:00
Duncan Godwin cf256fb48b Add tenant Id lookup command 2017-01-10 18:28:45 +01:00
Ignasi Barrera d36ceddbb3 Next development version 2.1.0-SNAPSHOT 2016-11-15 01:13:00 +01:00
Ignasi Barrera e38e486ff0 Apache jclouds 2.0.0-rc3 release 2016-11-09 22:40:00 +01:00
Ignasi Barrera 139a6367da Revert "Apache jclouds 2.0.0 release"
This reverts commit 43c102065eab2d5fbf98e75811d9088cb7cf76bc.
2016-11-09 21:49:17 +01:00
Ignasi Barrera 0df84d305e Apache jclouds 2.0.0 release 2016-11-03 13:13:04 +01:00
Andrew Gaul 424a88fdc5 Avoid C-style array declarations
Found via error-prone.
2016-10-23 13:49:11 -07:00
Andrew Gaul ea82f58b35 Avoid improper equality comparisons
Found via error-prone.
2016-10-23 06:38:46 -07:00
Ignasi Barrera d4eed40206 Ignore storage account access failures when listing custom images 2016-10-19 16:55:10 +02:00
Ignasi Barrera d030ecac5a Added rate limit module 2016-10-19 16:50:50 +02:00
Ignasi Barrera e3dc3fb976 Null guards 2016-10-18 12:32:08 +02:00
Ignasi Barrera bf40d2ed2b Configure jclouds group in virtualmachine tags 2016-10-18 12:09:07 +02:00
Ignasi Barrera 43eb65938c Configuration to deploy VMs from the Marketplace 2016-10-18 12:09:07 +02:00
Ignasi Barrera 25656f5f63 Added support for metadata and tags to Azure ARM 2016-10-17 13:27:25 +02:00
Ignasi Barrera 00d9138864 Create one resource group in each region 2016-10-17 13:24:57 +02:00
Andrea Turli cd16826dca Refactored Azure ARM to not use Deployments
* Simplified ImageExtension
* Fixed access to deployed VMS
* Made api-version configurable for all apis"
* Fixed all feature live tests
* Fixed the AzureComputeServiceLiveTest
* Fixed the AzureTemplateBuilderLiveTest
* Fixed the AzureComputeImageExtensionLiveTest
2016-10-14 11:43:00 +02:00
Andrea Turli 8df58654b8 fix azure-arm features live tests
- add image publishers filter to AzureComputeServiceLiveTest
- add parser module to provider
- fix create network card interface
- fix checkstyle
2016-09-27 15:27:53 +02:00
Ignasi Barrera 8cbf312c32 Use the existing region suppliers to filter 2016-09-21 17:10:01 +02:00
Andrea Turli b3294bb177 separate the DeploymentToVMDeployment to a function
- refactor logback-test.xml
- change jsonBall to Value
2016-09-21 16:32:43 +02:00
Andrea Turli 204d54d57c add support for whitelisting locations
- change location scope to ZONE vs REGION
- edit the README
- fix Region.byName
- add more Regions in Region class
- address initial comments from @nacx
- revert ZONES to REGIONS
- add parser module
- remove parser from HttpApiModule
- use one region in AzureLiveTestUtils
2016-09-20 16:23:58 +02:00
Ignasi Barrera 1e484fc2ce Fix package export 2016-09-17 00:56:17 +02:00
Janne Koskinen 3c790ae3ae JCLOUDS-664 Azurecompute-arm ImageExtension 2016-08-10 00:07:37 +02:00
Andrea Turli 4f62f40036 [azure-arm] add controlled storage account name generation
- add unit test for storage account name generation
2016-08-06 14:51:26 +02:00
Andrea Turli 4fe2374964 add unit test for storage account name generation 2016-08-06 14:41:01 +02:00
Ladislav Thon f67cf8b9db [JCLOUDS-664] make getImage(id) only do a single API request
* Fill in the private IP addresses in NodeMetadata
* Unify how getNode and listNodes build the VMDeployment
* Change VMDeployment to use AutoValue
2016-07-17 23:26:26 +02:00
Andrea Turli 26e3d6cfdb [azure-arm] add supports to port ranges to addNetworkSecurityGroup
- add unit tests
2016-07-15 10:58:13 +02:00
Rita Zhang cf438b6c1a JCLOUDS-664 Azurecompute-arm Update image name logic 2016-07-12 23:37:28 +02:00
Rita Zhang 10d9b38976 JCLOUDS-664 Azurecompute-arm image capture userdata keyvault 2016-07-01 00:30:29 +02:00
Rita Zhang cadd60dc22 JCLOUDS-664 Azurecompute-arm compute service 2016-06-17 22:24:32 +02:00
Jim Spring 8d8cd1728d Network Security Group API 2016-06-07 22:25:16 +02:00
Rita Zhang f2b5c15566 JCLOUDS-664 Azurecompute-arm DeploymentApi OSImageApi VMSizeApi 2016-06-03 00:25:57 +02:00
Rita Zhang a266511f18 JCLOUDS-664 Azurecompute-arm NicApi PublicIPApi and VMApi 2016-05-11 16:05:13 -07:00
Rita Zhang 8c7573164f JCLOUDS-664 Azurecompute-arm VNetApi and SubnetApi 2016-04-27 14:49:12 +02:00
Rita Zhang cadc43cbbc JCLOUDS-664 Azurecompute-arm StorageAccountApi 2016-04-19 16:28:09 +02:00
Rita Zhang f85646f259 JCLOUDS-664 Update live tests for Azurecompute-arm LocationApi 2016-04-13 23:43:22 +02:00
Rita Zhang 8d21b5eca6 JCLOUDS-664 Azurecompute-arm LocationApi 2016-04-13 09:37:38 +02:00
Ignasi Barrera ac57c72f3a Updated azurecompute-arm build status link 2016-04-07 12:15:35 +02:00
Ignasi Barrera 397b0c9ba4 Azure ARM fixes 2016-04-07 11:58:36 +02:00
Rita Zhang 053a18ab16 JCLOUDS-664 Azurecompute-arm ResourceGroupApi 2016-04-06 21:23:08 +02:00