102 Commits

Author SHA1 Message Date
Dani Estevez
9d88f6df5e Adds test for Azure name validator 2018-05-25 09:39:21 +02:00
Dani Estevez
5ee3ae552d Adds new more relaxed validator for Azure entities 2018-05-25 09:39:21 +02:00
Ignasi Barrera
b76a594e81 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:30:26 +02:00
Andrew Gaul
1f6ec343c0 Upgrade to SpotBugs 3.1.3
This replaces FindBugs.  Also address a few violations.
2018-05-21 22:06:27 -07:00
Dani Estevez
a918550e57 Fixes assert for IpPermissions collection 2018-05-17 09:13:25 +02:00
Ignasi Barrera
050f8e73d3 JCLOUDS-1418: Add missing PowerState values 2018-05-15 15:19:49 +02:00
Dani Estevez
a08de5b2f1 Sets session interval from 60 seconds to a higher value to avoid problems with cache 2018-05-12 00:42:44 +02:00
Ignasi Barrera
b29f716a02
JCLOUDS-1294: Attempt to retry RetryableErrors in Azure ARM 2018-05-04 11:03:43 +02:00
Ignasi Barrera
6a10544b16
Cleanup unused variables 2018-05-04 11:03:43 +02:00
Dani Estevez
7c5927038a Protects from NPE input.getLocation() is nullable 2018-05-04 10:45:51 +02:00
Andrew Gaul
f6d47b9c0e JCLOUDS-1333: Fix Java 8 and Guava 21 issues 2018-04-10 08:17:35 -07:00
andreaturli
d17487b223 fix typo in project.version
- from 2.2.0-SNAPSHOST to 2.2.0-SNAPSHOT
2018-02-21 16:45:43 +01:00
andreaturli
a5db565581 Next development version 2.2.0-SNAPSHOST 2018-02-16 11:23:12 +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
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