Andrew Gaul
31d27e10ae
JCLOUDS-1225: Correct Guava 18.0 version for OSGi
2017-08-24 18:37:01 -07:00
Andrew Gaul
6b8a81335d
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:31:07 -07: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
04a3f6fd87
JCLOUDS-1225: Upgrade to Guava 18.0
...
Combined with previous commits, this allows applications to use up to
Guava 23.
2017-08-22 17:14:22 -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
Chaithanya Ganta
e331a000d1
JCLOUDS-1322: Remove Expect header for requests with empty body
...
Signed-off-by: Chaithanya Ganta <ganta@adobe.com>
2017-08-21 21:05:02 -07:00
Andrew Gaul
7cbc16d99c
Address false positive int overflow error
...
Found via error-prone 2.1.0
2017-08-21 18:29:15 -07:00
cpanato
e153322ee0
Update field address type to Href and update tests templates
2017-08-16 09:18:54 +02:00
Andrea Turli
7c58f9d77d
JCLOUDS-1323: use security group names in openstack nova options
...
- fix NovaComputeServiceExpectTest
2017-08-09 12:25:53 +02:00
Andrea Turli
c61fa9d02b
fix NovaComputeServiceExpectTest
2017-08-09 11:15:59 +02:00
Svetoslav Neykov
640e04b315
Generate fixed length passwords
...
Avoids bugs where tests succeed with an average sized password but fail when the password length is at the allowed extremes.
2017-08-08 20:21:21 +03: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
3e1e9cbab6
Remove duplicate Nullable import
2017-08-06 18:38:52 -07:00
Andrew Gaul
3ed99ad74b
Allow lastModified to be null
...
Follow on to ec932321bd
2017-08-06 17:38:36 -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
Chaithanya Ganta
d6038487f7
JCLOUDS-1327: Add tests for zero-length blobs
2017-08-06 13:51:07 -07:00
Timur Alperovich
d07c4a215e
Handle empty delimiter/prefix in FS store.
...
When delimiter/prefix is an empty string, jclouds filesystem blobstore
should treat them as not being set.
2017-08-03 14:37:12 -07:00
William L. Thomson Jr
6de7974a66
core/src/main/java/org/jclouds/rest/internal/TransformerForRequest.java:
...
Fix for Java 1.8 and Guice 4.1. Not sure if this is correct, but does
compile. Committing to see if it passes tests to confirm fix or not.
Modified per @nacx on jclouds PR1036
https://github.com/jclouds/jclouds/pull/1036#issuecomment-319904820
2017-08-03 19:22:21 +02: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
Andrew Gaul
78104938e5
JCLOUDS-1325: Ignore Unicode BOM in XML parser
...
This caused failures to parse Azure Queue Storage list requests.
2017-07-27 10:41:45 -07:00
Svetoslav Neykov
2487b0c513
Use separate credential stores per context
...
With a shared credential store the configuration of one compute service leaks in all others, causing the wrong credentials to be used when not overriden.
2017-07-27 14:57:06 +03:00
Svetoslav Neykov
0c054c1835
Makes sure Jetty doesn't terminate on ssh disconnect
...
Fixes BaseComputeServiceAdapterLiveTest.testCreateAndRunAService for CentOS 7. disown in jetty.sh is not enough to detach the process from the current session so it's terminated when jclouds closes the connection.
2017-07-20 16:49:03 +03:00
Andrea Turli
aa11765bee
[JCLOUDS-1318] fix based on nodeTerminatePredicate
...
- wait for serer deletion, before deleting the security group
- rename cleanupServer to cleanupResources
- remove keyPairCache
- better usage of tags to remove securityGroups created by jclouds
- remove keyPair after the creation of a group
- remove test for create unique keypair
- openstack nova re-adding support for existing keypair
- fix securityGroupApi check
- fix other unit tests
- remove ServerPredicates as it is now duplicated
- remove TemplateOptions.securityGroupNames as deprecated
- address commits for ApplyNovaTemplateOptionsCreatesNodesWithGroupEncodedIntoNameAndAddToSet
- fix testCreateNodeWhileUserSpecifiesKeyPairAndUserSpecifiedGroups
2017-07-17 11:32:24 +02: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
e446b5b8b4
JCLOUDS-1111: Force overwriting Atmos objects
...
This avoids a racy delete then write in the portable abstraction.
2017-07-08 15:50:04 -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
84653bac65
Suppress self-comparison error-prone warning
...
We intentionally self-compare to test correctness.
2017-07-04 11:15:51 -07: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
624e4cb6af
JCLOUDS-1307: Invalidate SG on removal even if already externally deleted
2017-06-27 13:32:38 +03: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
Svetoslav Neykov
1d4cb6c392
[JCLOUDS-1306] Fix SG cache invalidation when deleting
2017-06-09 12:04:29 +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
Ignasi Barrera
db2f86bcec
JCLOUDS-1295: Support deprecated date formats in the Expires header
2017-05-29 16:59:42 +03: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