110 Commits

Author SHA1 Message Date
Dani Estevez
4d1f64d7bd Adds method checkIpAvailability to VirtualNetworkApi
Addresses @nacx comments

Fixed formatter maximum line width. Removed redundantTest
2018-07-13 07:10:57 -07:00
Dani Estevez
cc3ad73994 Adds missing virtualMachine field to NetworkInterfaceCardProperties 2018-07-12 09:24:32 -07:00
Dani Estevez
2bddbd5197 Adds listAll to PublicIPAddressAPI
Adds listAll to NetworkInterfaceCardApi

Addresses comments on tests

Sets resourcegroup pathparam as nullable for NetworkInterfaceCardApi and PublicIPAddressApi
2018-07-12 09:24:26 -07:00
Dani Estevez
467501fddc Implements VirtualMachineAPI deallocate operation
https://docs.microsoft.com/en-us/rest/api/compute/virtualmachines/deallocate

Adds missing mock test
Fixes returning codes from API methods to 202
2018-07-09 10:29:50 -07:00
Ignasi Barrera
00b6697d09 Added Virtual Network Gateway Connection API 2018-07-06 10:06:17 +02:00
Ignasi Barrera
9705aa7fb8 Added Virtual Network Gateway API 2018-07-03 12:52:17 +02:00
Dani Estevez
ff95137faa Adds minor improvements to readability 2018-06-26 09:05:13 +02:00
Dani Estevez
d8257ae435 Checks network availability before working with recently created networks 2018-06-26 09:04:27 +02:00
Dani Estevez
0ae9e5a094 Adds new Generally Available azure locations for Australia and France 2018-06-26 09:01:59 +02:00
Dani Estevez
cace304ed8 Fixes/adds fields primary for NetworkInterfaceCardProperties and misplaced in IpConfiguration 2018-06-15 08:57:10 +02:00
Ignasi Barrera
2a957193cc Added Local Network Gateway API 2018-06-13 14:22:56 +02:00
Dani Estevez
880287c6ab Adds test for Azure name validator 2018-05-25 09:40:21 +02:00
Dani Estevez
df5930f720 Adds new more relaxed validator for Azure entities 2018-05-25 09:40:21 +02:00
Ignasi Barrera
3878e6a61c JCLOUDS-1421: Add default credentials to images created by the ImageExtension
By default, when listing images the ComputeServiceAdapter adds the
default credentials for each image. This is not done when images are
created by the image extension, and NPEs can appear in code that assumes
the default credentials are there, as the field is not nullable.

This change tries to populate the known node credentials for images
created form nodes, and falls back to the default strategy to add the
default credentials to an image if there are not known credentials.
2018-05-22 16:32:00 +02:00
Dani Estevez
6edb99c685 Fixes assert for IpPermissions collection 2018-05-17 09:13:31 +02:00
Ignasi Barrera
cce23c1f27
JCLOUDS-1418: Add missing PowerState values 2018-05-16 12:30:51 +02:00
Dani Estevez
491911ec18 Sets session interval from 60 seconds to a higher value to avoid problems with cache 2018-05-12 00:43:23 +02:00
Ignasi Barrera
b144d9f473 JCLOUDS-1294: Attempt to retry RetryableErrors in Azure ARM 2018-05-04 11:04:55 +02:00
Ignasi Barrera
c96028a2ae Cleanup unused variables 2018-05-04 11:04:51 +02:00
Dani Estevez
a32690a2e0 Protects from NPE input.getLocation() is nullable 2018-05-04 10:46:32 +02:00
andreaturli
91bb9e8d4c initial commit for maintenance branch 2.1.x 2018-02-21 17:21:11 +01:00
andreaturli
9273bd56ad Apache jclouds 2.1.0-rc3 release 2018-02-16 11:20:21 +01:00
Ignasi Barrera
3877303ede Update maven coordinates for promoted Azure ARM 2018-01-08 15:11:22 +01:00
Ignasi Barrera
eebcc0017f JCLOUDS-1362: Proper password generation with custom constraints for each cloud 2018-01-08 08:48:37 +01:00
Jim Spring
a2dee2f84c Add Azure KeyVault support 2018-01-04 01:44:48 +01:00
Ignasi Barrera
ac5f3a1452 Rename GraphRBAC live test class 2017-12-05 09:39:39 +01:00
Ignasi Barrera
3efce9a3a5 Configure the Graph RBAC API and allow mocking service endpoints 2017-12-04 10:12:16 +01:00
Ignasi Barrera
6c759930d7 Injectable current service principal 2017-12-01 14:21:22 +01:00
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