Commit Graph

216 Commits

Author SHA1 Message Date
Adrian Cole faa3f7ff45 added epel repo dep to git install 2012-08-09 17:53:30 -07:00
Adrian Cole b478b02bbe switched to binary-based package manager checks 2012-08-01 11:35:10 -07:00
Adrian Cole da6307e3a7 added git statements 2012-07-30 19:14:12 -07:00
vijaykiran 829e4af9ee optimize imports 2012-07-24 07:53:52 +02:00
vijaykiran 7227d70c4e Issue-1020 Add full name option for AdminUser and UserAdd 2012-07-23 23:42:31 +02:00
Adrian Cole c4dde78b0c Merge pull request #725 from dralves/nodepool
issue 558 - nodepool
2012-07-19 04:38:59 -07:00
Andrew Phillips 16314f906c Made scriptbuilder tests compatible with Windows 2012-07-18 09:50:59 -04:00
David Ribeiro Alves cdde419b24 re-enabled most tests and corrected some minor bugs, only destoyPoolNodes is missing 2012-07-18 01:58:18 +01:00
Adrian Cole 05fd64af44 cleaned up http builders and expect tests 2012-07-15 01:50:38 -07:00
David Ribeiro Alves d4453b2ac2 nodepool progress and AdminAccessBuilderSpec 2012-07-12 11:04:55 -07:00
Andrew Bayer 4aa8e1055a Issue #1020. Fill in GECOS field when creating a user.
We'll just use the username there as well for now.
2012-07-11 17:48:20 -07:00
Adrian Cole 4d6e8fdd73 Issue 1005:openjdk install fails on ubuntu precise 2012-07-03 22:13:53 -07:00
Andrew Gaul 227dbf777a Correct spelled from delimeter to delimiter 2012-06-14 10:05:13 -04:00
Andrew Gaul 736554d049 Correct spelling errors 2012-06-14 10:03:39 -04:00
Adrian Cole 4dd8fdd0e2 Issue 964:change script builder variable case format from lowerCamel to UPPER_UNDERSCORE 2012-06-12 19:11:09 -07:00
Ioannis Canellos 5e69df71d1 Fixed the activator declaration in scriptbuilder 2012-06-10 16:11:22 +03:00
Adrian Cole dcad558752 Issue 966: removed pid bracketing 2012-06-08 17:44:16 -07:00
Adrian Cole 73e026b314 functionloader cleanup 2012-06-08 13:00:38 -07:00
Ioannis Canellos 5627ceb2b9 Added a FunctionLoader interfaces for loading functions and also added a basic implementation and an OSGi implementation. 2012-06-08 11:12:14 -07:00
Ioannis Canellos b078adc3ce Removed fragments and dynamic imports. Added centralized control of the maven-bundle-plugin. 2012-06-03 19:41:54 +03:00
Adrian Cole 40bd08ee6b Issue 915: don't create full path on useradd 2012-05-22 23:10:41 -06:00
Aled Sage 8b6af79214 Issue 915: supports AdminAccess.adminHome, and UserAdd.home
Previously, UserAdd only supported 'defaultHome'. Now it supports 
'home' as well. This involved changing the `mkdir` from making 
defaultHome to making the actual home (felt like easier 
production-code than getting the parent directory of 'home' to mkdir,
but turned out to be a lot of test-code changes!).

Added AdminAccess.adminHome, which is a direct pass-through to 
UserAdd.home.
2012-05-21 21:10:28 +01:00
Adrian Cole 886d2cafb9 created base Context class with ProviderMetadata and Identity 2012-04-23 16:16:51 -07:00
Andrew Bayer 9b80b984a4 Switch to calling apt-get update before every apt-get install.
I found that the previous "apt-get install || (apt-get update; apt-get
install) didn't work in all cases, but switching to always calling
apt-get update got things working properly.
2012-04-19 13:02:47 -07:00
Adrian Cole 98a205b603 Issue 891: ensure we run apt update when install jdk fails 2012-04-18 15:02:06 -07:00
Andrew Gaul a3161ba7ba Throw return value instead of returning null
Throwables.propagate always throws its argument and throwing its
impossible return value better represents our intent than returning
null.
2012-04-16 13:45:23 -07:00
Adrian Cole 5a3d2a11d6 revert back to openjdk6 and without implicit apt-upgrade 2012-04-11 19:47:22 -06:00
Andrew Gaul b47860afc1 Use inference to elide duplicated type parameters
Found with:
grep 'Builder.*<.*>.*Immutable.*<.*>.*builder();'
2012-04-08 22:32:04 -07:00
Adrian Cole 95b33d335a Issue 891: update to support lucid 2012-04-03 16:22:02 -07:00
Adrian Cole 7e6b419068 Issue 891: ubuntu and centos now work with openjdk 2012-03-30 18:34:52 -07:00
Adrian Cole a6429398fd Issue 891: switch to openjdk; tested on ubuntu 2012-03-30 16:57:31 -07:00
Adrian Cole 5c6ce9f081 organize imports 2012-03-28 03:37:48 -04:00
Adrian Cole c72b3ae236 InstallJDK for 32bit vms 2012-02-26 16:55:42 +02:00
Adrian Cole 0128dcec19 attempt to fix cloudbees build 2012-02-23 16:44:23 +02:00
Adrian Cole 636c3bb6e5 Issue 357:Init script should check for errors + herefile fixes + script events 2012-02-19 01:53:19 +02:00
Ioannis Canellos 5490b3068c [842] Added required import packages to cloudfiles api bundle. Improved import packages in all bundles. 2012-02-17 00:49:39 +02:00
Adrian Cole 2da5d297a5 Issue 838: convert jboss tests and java tests to use InstallJDK 2012-02-14 23:22:24 +01:00
Adrian Cole 66c4a66159 new support for InstallJDK statement and setupPublicCurl fn 2012-02-14 02:01:42 +01:00
Adrian Cole fe4d148528 updated current version to 1.5.0-SNAPSHOT 2012-02-04 11:06:07 -08:00
Adrian Cole 3df052565f updated current version to 1.4.0-SNAPSHOT 2012-01-16 13:08:32 -08:00
Adrian Cole c151e5bdd7 Issue 730: last deprecated methods scheduled for removal in 1.3 2012-01-10 18:10:55 -08:00
Adrian Cole f9b38f646c Issue 730: removed deprecated methods from ComputeService RunScript/TemplateOptions SshClient.Factory and replaced occurences of Credentials with LoginCredentials whereever possible 2011-12-20 23:19:45 -08:00
Ioannis Canellos 148b6abbb8 Provided utility for loading classes that falls back to the Thread Context Class Loader if class is not found. 2011-11-18 22:09:25 +02:00
Adrian Cole 29ee165de2 Issue 741:UserAdd doesn't copy skeleton directory 2011-11-01 04:23:47 +00:00
Adrian Cole 5d252e6fd5 removed throws clauses to UnsupportedEncodingException where they aren't thrown 2011-10-28 15:00:56 +02:00
Alex Heneveld 181bc4ead8 fix and test for 682, disallowing root as the AdminAccess target 2011-10-20 17:52:04 +01:00
Alex Heneveld 9fc33dc120 javadoc and code tidy around admin/user setup 2011-10-20 14:55:44 +01:00
Adrian Cole 552242e863 moved to 1.3.0-SNAPSHOT 2011-10-16 12:26:31 -07:00
Adrian Cole 7491f764f3 Issue 197: smarter forget.sh 2011-10-16 03:07:58 -07:00
Karel Vervaeke 6dc57aa98f Merge branch 'master' of https://github.com/jclouds/jclouds 2011-09-30 16:04:29 +02:00
Karel Vervaeke 22ed06b641 New scriptbuilder feature: CreateOrOverwriteFile
During the process got rid of the (to me) confusing addSpaceToEnsureWe... method
2011-09-30 16:00:23 +02:00
Alex Heneveld eeae052890 fix for bug where unclosed open braces in shell scripts (and other places where scriptbuilder Utils does its replacements) banjax parsing 2011-09-28 10:07:34 -07:00
Guillaume Nodet 87dd23551c Avoid using a non official jsr and use our own annotations 2011-09-16 17:52:12 +02:00
Adrian Cole 960bfe709f Issue 663:Update license headers to jclouds, Inc. and setup NOTICE file 2011-08-16 18:14:30 -07:00
Adrian Cole 0a8f38b90e bumped snapshot version to 1.2.0-SNAPSHOT 2011-08-05 04:09:23 +01:00
Adrian Cole 27c45dce0d Issue 502:Scriptbuilder functions are not tolerant of missing final newlines 2011-07-28 02:21:47 -07:00
Adrian Cole acd4b4a628 clean up style warnings 2011-07-22 12:48:59 +10:00
Adrian Cole 0b4347772b don't exit unless process has already started 2011-07-07 01:12:09 -07:00
Adrian Cole 712d50dea8 avoid finding yourself when looking for a process match 2011-07-07 01:10:57 -07:00
Adrian Cole b56f08b9a5 Issue 614:Add Visitor pattern support for scriptbuilder Statements 2011-07-01 17:40:20 -07:00
Adrian Cole 5f00612929 Issue 615:enhance curl arg defaults 2011-07-01 17:37:33 -07:00
Andrew Phillips 7d2fb23119 Master version is now 1.1.0-SNAPSHOT (= next feature version) now that 1.0.0 is out 2011-06-05 11:17:43 +04:00
Dmitri Babaev e1f0cdcfa5 Merge commit '6d187ed9baaad1e00dbe65b36ea2989c951a5a28', ssh client patch is reverted due to massive changes in code
Conflicts:
	drivers/jsch/src/main/java/org/jclouds/ssh/jsch/JschSshClient.java
2011-06-03 03:50:47 +04:00
Adrian Cole e1b8110b12 Issue 587:workaround clouds who do not have sftp enabled 2011-06-01 12:03:19 -07:00
Dmitri Babaev 0fedf6e467 Merge commit '7d0248c5dd972287e51ad1971d61a6ddc8bdcdf5' 2011-06-01 20:37:49 +04:00
Gustavo Morozowski 557c0d75fe moved maven-bundle-plugin instructions to top project pom 2011-05-16 09:14:12 -03:00
Adrian Cole ddc514d602 Issue 42: added osgi fragment plugin to poms 2011-05-15 12:08:53 -07:00
Adrian Cole a925d704f4 Issue 543, 473: new AdminAccess statement, which locks down compute nodes and creates a default admin account 2011-05-06 00:35:50 -07:00
Adrian Cole 6bf4ea34cb added comments 2011-05-01 13:10:15 -04:00
Adrian Cole 0c3a0ac7ee Issue 543: added ability to reset default login user's password 2011-05-01 12:52:50 -04:00
Adrian Cole 4b879402fd Issue 473: created new function to add a user, and supporting sudoers and shadow logic 2011-04-30 20:58:50 -07:00
Adrian Cole 9e94fc6fc9 updated license headers 2011-04-09 03:20:17 -07:00
Adrian Cole c9a4534849 Issue 519:update to guava r09 2011-04-08 15:36:04 -07:00
Chris Custine cfb74ffcc1 Fix for classloader issues in OSGi, web apps, etc. 2011-03-12 13:28:39 -07:00
Adrian Cole a74ad46ca4 Issue 463: update to guava-r08 2011-02-08 11:45:14 -08:00
Adrian Cole 89d201854b Issue 440: decoupled aws concepts from base ec2 driver; Issue 445: gracefully handle security group in-use 2011-01-27 20:27:35 -08:00
Adrian Cole 60b6b68556 code cleanup: http request immutability (except payload), builders, test backfill 2010-12-30 23:40:23 +01:00
Adrian Cole 546535340f refactored boot script to check if java is installed first, and also stream jboss so that it works with small vms 2010-09-28 23:56:05 +01:00
Adrian Cole 0738d1cd5a added example of how to start a service 2010-09-24 16:07:51 -07:00
Adrian Cole 4dec489d42 Issue 339: refactor so that scripts can be named 2010-09-24 11:39:45 -07:00
Adrian Cole 00361f859b added statements for extracting targzs and running commands from a http request 2010-09-12 17:35:51 -07:00
Adrian Cole a96471c9a8 added create file support to scriptbuilder 2010-09-02 01:34:40 -07:00
Adrian Cole 420503d32e updated and corrected license headers 2010-08-12 16:04:26 -07:00
Andrew Phillips e1f5369243 Removed 1,000,000 redundant .gitignores (they're inherited) 2010-07-28 14:38:28 +02:00
Adrian Cole f5f031685d Issue 303: updated to guava r06 2010-07-10 01:03:29 -07:00
Adrian Cole ef00266b54 Issue 288: switched to guava r05 2010-07-03 02:57:13 -07:00
Adrian Cole 0d61930192 fixed to not depend on guava uberjar 2010-05-03 12:13:00 -07:00
Adrian Cole 10af8cdae8 Issues 203 234 235, add visibility to image from nodemetadata, update to stable version of guava, harden tests, normalize location 2010-04-25 00:46:54 -07:00
Adrian Cole fab4a0fb4d tuned runscript to use herefile syntax so that it is easier to troubleshoot and works without needing to escape characters 2010-04-06 15:13:08 -07:00
Andrew Phillips 64b68d73db Housekeeping: renamed all .svnignore files to .gitignore, and some line endings. 2010-03-19 11:30:13 +01:00
Adrian Cole 4582c57c72 fixed version numbers to SNAPSHOT 2010-02-04 21:30:22 -08:00
adrian.f.cole 2ed029764f beta-3 release
git-svn-id: http://jclouds.googlecode.com/svn/branches/1.0-beta-3@3054 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-02-02 11:34:05 +00:00
adrian.f.cole b217410ac0 Issue 9, Issue 127: updated javadoc, modified dist to not jarjar, changed dist to support profiles, tools, blobstore, and compute api
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2754 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-02-02 08:31:30 +00:00
adrian.f.cole 24f1836f7a Issue 130 added rsa key options to compute api
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2734 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-29 07:01:20 +00:00
adrian.f.cole 27de8ac105 Issue 148 Issue 9 cleanup javadoc, removed use of string.replaceAll
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2664 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-18 20:28:37 +00:00
adrian.f.cole 21014b6c19 removed collections dep as it is now part of guava
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2615 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-06 21:22:18 +00:00
adrian.f.cole bdbb6d0ec9 corrected license of pom.xml files
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2564 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-01 17:56:29 +00:00
adrian.f.cole 32ab37d3d7 Fixed license error caught by libcloud: jclouds isn't licensed to Apache, it just uses that license. thanks guys
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2558 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-31 17:36:46 +00:00
adrian.f.cole f27950205a Issue 29: alestic run support
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2555 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-31 02:35:23 +00:00
adrian.f.cole 0f71237ba8 Issue 29: broke some tests
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2541 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-30 06:03:57 +00:00
adrian.f.cole 18201f319f Issue 29: added support for elastic block store ami
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2540 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-30 05:43:44 +00:00
sharedocs1@gmail.com 573d654d7d Cleaned up POMs (removed unnecessary <packaging>jar</packaging> and moved a few things around)
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2398 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-11 16:36:56 +00:00
adrian.f.cole 9e340f286e Issue 128: added initial vfs module and fixed dependent bugs
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2374 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-07 07:09:57 +00:00
adrian.f.cole 777202cec2 Issue 126: started on nohup
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2361 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-02 08:13:28 +00:00
adrian.f.cole c98245a66c Issue 126: ability to run scripts
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2360 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-02 06:53:58 +00:00
adrian.f.cole df529b2592 Issue 126: fixed switch to be more pretty in windows
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2359 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-01 19:04:17 +00:00
adrian.f.cole 1ffb7d55ab Issue 126: added composite statements
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2358 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-01 04:55:51 +00:00
adrian.f.cole 6045cde384 Issue 126: switch extension bash to sh
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2357 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-01 01:47:55 +00:00
adrian.f.cole f463adcf1d Issue 126: switch extension bash to sh
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2356 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-01 01:46:44 +00:00
adrian.f.cole 3c8a34b674 Issue 126: added kill
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2355 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-01 01:04:58 +00:00
adrian.f.cole 4b24b990be Issue 126: findPid on windows now matches on window title. fixed error where script exit quit the calling shell in windows
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2354 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-12-01 00:14:28 +00:00
adrian.f.cole e62fe3f6e4 Issue 126: easier to write statements and pid searching
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2353 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-30 21:41:56 +00:00
adrian.f.cole 61582b0a0a Issue 126: begin/end script tags
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2352 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-30 18:22:32 +00:00
sharedocs1@gmail.com 1b471000ef Added svn:ignore file
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2350 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-30 09:54:16 +00:00
adrian.f.cole 9cbf3119cb Issue 126: function generation
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2349 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-30 07:36:46 +00:00
adrian.f.cole 0823f73c0d Issue 126: renamed to scriptbuilder
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2346 3d8758e0-26b5-11de-8745-db77d3ebf521
2009-11-30 00:59:52 +00:00