Andrew Gaul
152ca564b5
JCLOUDS-1337: Azure putBlob portable storage tiers
2017-10-12 11:15:14 -07:00
Vikas Rangarajan
7d3b1bebd5
JCLOUDS-1282: Add back support for Azure ARM custom data
2017-09-29 11:29:08 +02:00
Andrew Gaul
fc147dc0c5
JCLOUDS-1335: Azure Blob object access tiers
2017-09-21 20:31:34 -07:00
Andrew Gaul
5facb65a7e
JCLOUDS-1335: Upgrade to Azure Blob API 2017-04-17
2017-09-20 21:07:32 -07:00
Andrew Gaul
d3d825d3b9
Map empty delimiter to null in B2
...
Follow on to d07c4a215e
.
2017-09-18 00:12:36 -07:00
Andrew Gaul
39f3a9d1fe
JCLOUDS-1344: Enable B2 wire logging
2017-09-17 23:25:32 -07:00
Andrew Gaul
9628a9064e
Upgrade to EasyMock 3.4
...
Also switch from unmaintained easymockclassextension to easymock.
Release notes:
https://github.com/easymock/easymock/releases
2017-09-17 15:45:46 -07:00
Andrea Turli
b0abfa4b9a
[ARM] IpOption will allocate a public ip when a network is specified
2017-09-13 14:10:19 +02:00
Andrew Gaul
7704893650
Remove Inject on constructors for abstract classes
...
This is not meaningful since these classes cannot be instantiated.
Found via error-prone.
2017-09-07 23:37:24 -07:00
Andrew Gaul
b424a6c164
Alphabetize modules
2017-09-07 07:27:56 -07: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
Andrea Turli
af4bd3a86b
[JCLOUDS-1332] destroyNode and destroyNodesMatchingPredicate different semantic
...
- modify BaseComputeService to make the 2 operations more similar
- remove overridden destroyNode and destroyNodesMatching from GoogleComputeEngineService
2017-09-05 22:01:52 +02:00
Andrew Gaul
1937e200e3
JCLOUDS-1336: GCS object-level storage class
2017-09-01 14:26:44 -07:00
Andrew Gaul
2817b27725
Correct InsertObjectOptions.Builder return type
2017-09-01 12:37:32 -07:00
Andrew Gaul
a22ea352f6
Add md5Hash and crc32c accessors to ObjectTemplate
2017-09-01 12:37:30 -07:00
Andrew Gaul
6b5f522f5c
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:27:08 -07: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
Andrew Gaul
bfd54049b7
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:23:49 -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
Andrew Gaul
517323fbd5
JCLOUDS-1225: Address Guava 18 MoreExecutors changes
...
Fixed with:
find -name \*.java | xargs sed -i 's/sameThreadExecutor/newDirectExecutorService/g'
2017-08-22 17:14:22 -07:00
Andrew Gaul
a493e2ca2f
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-22 17:12:53 -07:00
cpanato
e153322ee0
Update field address type to Href and update tests templates
2017-08-16 09:18:54 +02:00
Andrew Gaul
5bcf7c4757
Add missing import
...
Fixes regression from 3d508d2d16
.
2017-08-07 00:57:39 -07:00
Andrew Gaul
3d508d2d16
Handle HTTP 429 in google-cloud-storage
...
This addresses rateLimitExceeded errors encountered during integration
tests. Also increase retry timeout.
2017-08-06 23:43:54 -07:00
Andrew Gaul
5cbefccf96
JCLOUDS-902: Enable GCS access integration tests
...
Enabled by request signing.
2017-08-06 16:21:44 -07:00
Andrew Gaul
9e73bbec16
JCLOUDS-1327: Do not try GCS MPU if length is zero
...
References JCLOUDS-912.
2017-08-06 13:51:08 -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
7e496723ab
Move Passwords implementation to jclouds-core to be reused by providers
2017-07-27 20:54:31 +03:00
Svetoslav Neykov
180efdf799
Generate Azure VM password on the fly
2017-07-12 14:50:06 +03:00
Andrew Gaul
0bc935dd57
Remove clojure bindings
...
These have not seen any development in many years.
2017-07-10 11:39:11 -07:00
Andrew Gaul
8344ddcc2c
JCLOUDS-1314: Remove unused import
2017-07-07 11:04:03 -07:00
Andrew Gaul
914e3a6f85
JCLOUDS-1304: B2 native prefix and delimiter
...
Previously B2 emulated prefix and delimiter via client-side filtering.
Enabled by recent service additions.
2017-07-07 10:21:26 -07:00
Svetoslav Neykov
cb556428e3
Fix SGE.removeSecurityGroup for when the SG doesn't exist
2017-07-07 10:37:03 +03:00
Andrew Gaul
d36812e5a6
Correct misplaced AutoValue parameters
...
Found via error-prone 2.0.21.
2017-07-04 11:15:21 -07:00
Andrew Gaul
d6ca5cb429
Correct reversed assertEquals arguments
...
Found via error-prone 2.0.21.
2017-07-04 11:14:16 -07: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
Svetoslav Neykov
65ba26eca7
JCLOUDS-1307: Invalidate SG on removal even if already externally deleted
2017-06-27 13:26:51 +03:00
Ignasi Barrera
b77ea06950
Improve duplicate ssh key check in Packet
2017-06-15 12:30:17 +02:00
El del tallat
eaf10f10a9
Properly unregister all created key pairs
2017-06-12 08:40:10 +02:00
Ignasi Barrera
d905adebe1
Improve OS detection and SSH configuration in Packet
2017-06-12 08:29:51 +02:00
Stuart Hendren
5113be22d8
JCLOUDS-1293 Add custom IOException retry handler for AWS-EC2
...
As all methods use POST we can not use the method to determine if funciton is idempotent.
We therefore set all as idempotent to nullify that check and add a custom
IOException retry handler to determine if commands should be retried on IOException.
The custom hander extends the BackoffLimitedRetryHandler, the current handler, so all other behaviour is not affected.
This does not retry any POST methods unless it's ACTION starts with 'Describe'. These functions are idempotent, and therefore safe to retry.
See JCLOUDS-1293
2017-06-07 12:00:06 +02:00
Ignasi Barrera
c83a08a8d6
JCLOUDS-1300: Subnetwork fixes and reuse the TemplateOptions.networks
2017-05-31 09:25:55 +02:00
Nelson Araujo
2ec28df21b
JCLOUDS-1122: Support subnetworks definitions in Google Compute.
2017-05-31 09:25:42 +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
Geoff Macartney
28c3c33bf0
Temporarily use a custom annotation instead of @SinceApiVersion.
...
The intention is to use @SinceApiVersion for this purpose, but that
would affect a number of APIs, and we would want to have good test
coverage before merging that change (in
FormSignerUtils#getAnnotatedApiVersion). However, there is some issue
wth certain tests at resent that means we cannot successfully test
all APIs that make use of @SinceApiVersion in order to assure
ourselves that FormSignerUtils will not introduce some problem.
See https://github.com/jclouds/jclouds/pull/1102#issuecomment-302682049
for details.
This annotation is introduced as a temporary measure in order to
decouple the functionality of FormSignerUtils#getAnnotatedApiVersion
from @SinceApiVersion and the tests in question. It can be removed and
replaced by @SinceApiVersion when those tests are fixed.
Designates that a method overrides the {@link ApiVersion} on the class
with a specific value.
2017-05-29 10:24:52 +02:00
Geoff Macartney
ce0a0ad213
Add ModifySubnetAttribute
2017-05-29 10:24:52 +02:00
Geoff Macartney
b3d21f9652
Add RouteTable API.
...
Limitations:
Does not contain support for VgwRoutePropagation.
2017-05-29 10:22:46 +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
a9006288e8
Updated pom.xml files
2017-05-19 08:33:14 +02:00
Ignasi Barrera
c757906fb5
Merge remote-tracking branch 'jclouds-labs-local/packet-moved' into promoted-packet
2017-05-18 23:54:09 +02:00
Geoff Macartney
cff2f87e11
Add an InternetGatewayApi to AWSEC2Api.
...
This is a follow-up to https://github.com/jclouds/jclouds/pull/1091
and particularly the comment at
https://github.com/jclouds/jclouds/pull/1091#issuecomment-299202429 :
I have been trying this out and I think we will need to extend it for
practical purposes; if you want to create a VPC and subnet and then
deploy a machine on to it, you also need to jump through a few other
hoops apart from creating the subnet:
- modify the subnet attributes to permit auto-assign public
IP ("ModifySubnetAttribute")
- create an Internet Gateway on the VPC ("CreateInternetGateway")
- get and then modify the routing table of the subnet to add a public
(0.0.0.0/0) route through the newly added gateway ("CreateRoute" and
friends)
There are three AWS APIs needed for the above, an `InternetGatewayApi`,
a `RouteTableApi` and a method in the subnet API, I guess, for modifying
attributes on subnets. This PR contains the `InternetGatewayApi`.
2017-05-11 00:11:29 +02:00
Geoff Macartney
5b2aca103e
Fix CRLF on google-cloud-storage logback.xml
2017-05-09 16:46:41 +01:00
Andrew Gaul
4fb54c0a74
JCLOUDS-1272: Graduate B2 to core
2017-05-08 13:56:40 -07:00
Andrew Gaul
6643872072
Merge remote-tracking branch 'jclouds-labs-b2-local/promote-b2-moved' into promoted-b2
2017-05-08 11:54:32 -07:00
Andrew Gaul
9ea76ebe4b
JCLOUDS-944: Promote Google Cloud Storage to core
2017-05-06 19:35:44 -07:00
Andrew Gaul
6efc894e3f
Merge remote-tracking branch 'jclouds-labs-google-local/promote-google-cloud-storage-moved' into promoted-google-cloud-storage
2017-05-06 19:28:48 -07:00
Andrea Turli
1c6c36b81a
JCLOUDS-1269; JCLOUDS-1120: ec2 subnet/securityGroups fixes
2017-05-04 17:40:50 +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
Andrew Gaul
05f64f52b2
JCLOUDS-1109: update Azure signed URL expect tests
2017-04-22 12:07:26 -07:00
Andrew Gaul
1e04eafbab
JCLOUDS-255: JCLOUDS-1109: Azure signed URLs expiration
...
This commit also changes signed URLs from header-based to query
parameter-based.
2017-04-22 10:59:15 -07:00
Duncan Godwin
8c973e409e
Increase Packet timeouts for node interactions
2017-04-21 11:27:59 +02:00
Andrea Turli
1e403bbee0
Update README.md
...
improve packet readme
2017-04-21 11:15:52 +02:00
Andrew Gaul
b671d2c0d2
JCLOUDS-902: Google Cloud Storage signed URLs
2017-04-20 01:14:07 -07:00
Andrew Gaul
2e7de9f850
JCLOUDS-1271: Deprecate signRemoveBlob
...
URL signing should always use authentication parameters instead of
headers yet no provider supports DELETEs with the former.
2017-04-19 18:08:52 -07:00
Andrew Gaul
f0e11d5c2e
Remove unused imports
...
Fixes regressions introduced by
db00f679ef
.
2017-04-19 10:01:30 -07:00
Andrew Gaul
db00f679ef
JCLOUDS-255: Consistently use query string auth
...
Fixes regressions introduced in
7a110b31ba
.
2017-04-19 00:54:33 -07:00
Andrew Gaul
7a110b31ba
JCLOUDS-255: Support S3 signed URLs with expiry
...
Mostly code motion from AWSS3BlobRequestSigner to S3BlobRequestSigner
with some additional cleanups.
2017-04-18 18:51:22 -07:00
Andrew Gaul
a1af4f7fec
Use a random UUID for fake upload ID
...
This matches the Azure provider.
2017-04-13 13:00:50 -07:00
Andrew Gaul
46d3645111
Set ListBlobsOptions.datasets in setter
2017-04-12 13:18:41 -07: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
Andrew Gaul
5a1c95525f
JCLOUDS-1262: Correct US-OH region
...
Follow on to 04ab255d9f
.
2017-04-10 13:11:38 -07:00
Andrew Gaul
c94dfa23e1
Encode filename in B2 download URL
...
Previously this caused downloads of file names with % to fail.
2017-04-08 15:44:22 -07:00
Andrew Gaul
0d3b88be97
JCLOUDS-1266: Reduce minimum B2 multipart size
...
Backblaze B2 advertises two new attributes: absoluteMinimumPartSize
and recommendedPartSize, the former allowing smaller 5 MB multipart
uploads.
2017-04-08 04:29:29 -07:00
Andrew Gaul
8188287bc2
Correct Cache-Control SkipException message
2017-04-07 19:53:09 -07:00
Andrew Gaul
66caf6d954
JCLOUDS-1267: Allow B2 streaming uploads
...
B2 now supports uploads without calculating the SHA-1 hash. This
allows uploading without a repeatable payload.
2017-04-07 19:48:58 -07:00
Ignasi Barrera
04ab255d9f
JCLOUDS-1262: Add the Ohio region to AWS
2017-03-29 09:17:41 +02:00
Michelle Zhang
96a1c4427e
JCLOUDS-1217/JCLOUDS-1258: Add Canada, London and China regions to AWS
2017-03-29 08:53:07 +02:00
Dani Estevez
c45728e085
JCLOUDS-1254 Filters storage account by current available locations
2017-03-28 08:23:46 +02:00
Andrew Gaul
ca75641fc0
JCLOUDS-1259: Add GCS multi-regional and coldline
2017-03-20 18:42:32 -07:00
Andrew Gaul
e058973abc
Ensure SOME_CONSTANTS are static final
...
Found via error-prone.
2017-03-17 16:59:41 -07:00
Andrew Gaul
4193031c62
Fix mixed array dimensions
...
Found via error-prone.
2017-03-17 16:42:42 -07:00
Andrew Gaul
cff54601ea
Make inner classes static
...
Found via error-prone.
2017-03-17 16:42:32 -07:00
Tomasz Wojtuń
fdaa3fd721
Wrap Image with Optional in DiskURIToImage
2017-03-14 08:40:11 +01:00
Andrew Gaul
8408242279
Return more metadata from listMultipartUpload
...
Include Content-Length and Last-Modified.
2017-03-08 22:16:37 -08:00
Andrew Gaul
8e50fe69ad
Return more metadata from listMultipartUpload
...
Include Content-Length and Last-Modified.
2017-03-08 22:15:41 -08:00
Andrew Gaul
87eda15085
Return more metadata from listMultipartUpload
...
Include Content-Length and Last-Modified.
2017-03-08 20:35:24 -08:00
Andrew Gaul
49f4617afa
JCLOUDS-1101: Upgrade to auto-value 1.4-rc2
...
This resolves issues using Java 9. Release notes:
https://github.com/google/auto/releases/tag/auto-value-1.4-rc2
2017-03-07 00:18:21 -08: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
2f70f85c2b
Remove all sonatype snapshot repositories
2017-03-03 10:49:48 +01:00
Ignasi Barrera
1409317beb
Remove all sonatype snapshot repositories
2017-03-01 11:58:19 +01:00