> @@ -468,11 +469,6 @@ limitations under the License.
>
>
>
> -org.apache.servicemix.bundles
> -
> org.apache.servicemix.bundles.jsch-agentproxy-jsch
> -${jsch.agentproxy.bundle.version}
> Nope. It is used here to import the dependency to shade.
Ah, OK,
Merged to master as
[d7aba317](http://git-wip-us.apache.org/repos/asf/jclouds-cli/commit/d7aba317).
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-cli/pull/32#issuecomment-245539044
Closed #32.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-cli/pull/32#event-782094374
Closed #77.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/77#event-782069903
We should try to be very clear about the need for these bundles and why we are
providing them here.
@demobox Can you have a look at the wording?
You can view, comment on, or merge this pull request online at:
https://github.com/jclouds/jclouds-karaf/pull/80
-- Commit Summary --
* Added
[
https://issues.apache.org/jira/browse/JCLOUDS-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15473255#comment-15473255
]
ASF subversion and git services commented on JCLOUDS-1156:
--
Commit
Squashed, rebased, addressed last minor comment and pushed to master as
[00ff5d21](http://git-wip-us.apache.org/repos/asf/jclouds-karaf/commit/00ff5d21).
Thanks for all the help @demobox!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view
[
https://issues.apache.org/jira/browse/JCLOUDS-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15473220#comment-15473220
]
Ignasi Barrera commented on JCLOUDS-1166:
-
Another option would be to re-create the bundle
[
https://issues.apache.org/jira/browse/JCLOUDS-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ignasi Barrera resolved JCLOUDS-1156.
-
Resolution: Fixed
Fix Version/s: 2.0.0
> jclouds-cli fails to run compute
> @@ -0,0 +1,79 @@
> +/*
> Do you plan to re-style the classes to align them to our coding style and
> change them to cleanup the code?
I think we should certainly align the code style; not sure about more
comprehensive re-writes, though. Agree that we should change the functionality
(esp.
>private final ScriptEngine scriptEngine;
>
>/**
> * Constructor
> * @param engine
> */
> - public ScriptEngineShellTable(String engine) {
> -this.engine = engine;
> -this.scriptEngine = scriptEngineFactory.getEngineByName(engine);
> + public
> Good find.
Agreed - looks good to me, too. Thanks for taking care of that, Ignasi!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-cli/pull/32#issuecomment-245503249
> I've just tried a rebased version of this branch on top of the shade one and
> everything works fine! :)
@nacx Nice! Agree with most of your comments - please feel free to add commits
to this branch with any changes you think would make sense.
Thanks for taking a look, and for testing!
--
> @@ -51,9 +47,7 @@ public String evaluate(Object obj, String expression) {
> try {
>scriptEngine.put(getType(), obj);
>result = String.valueOf(scriptEngine.eval(expression));
> -} catch (Exception ex) {
> - //Ignore
> -}
> +} catch (Exception ignored) {}
>
> @@ -137,13 +137,13 @@
>
> false
>
> -
> +
Thanks for the updates, @nacx! [This minor
comment](https://github.com/jclouds/jclouds-karaf/pull/77/files/c2ec97b044018464a713d89b65edb342703af918#r77740874)
would be the only one I still have, but that could be taken care of during the
merge, or ignored.
Looks good to me!
--
You are
> @@ -0,0 +1,10 @@
> +Apache jclouds-karaf bundles
> +
> +
> +This module provides convenience bundles to let jclouds run properly in OSGi
> environments.
> +Some of the bundles contained here are not publicly available, and others
> are just repackaged
> +to make
@nacx pushed 1 commit.
ac1671b Addressed review comments
--
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/80/files/8aef8a6f4def37a190a13238c7ec1856181d02df..ac1671bfca796992f2c83020f3e69d2bf0673b82
> @@ -0,0 +1,79 @@
> +/*
Regarding licensing, according to
[this](http://www.apache.org/legal/src-headers.html#3party) and
[this](http://www.apache.org/legal/src-headers.html#notice), we should be good
to go. Although it is not the right header for software developed at Apache
(that is a
>where is this less likely to go out-of-date, do you think - in a README or as
>comments in the respective POM files?
Agree with the approach of putting the details in each pom.xml and keeping the
README generic.
Changes done!
--
You are receiving this because you are subscribed to this
> @@ -51,9 +47,7 @@ public String evaluate(Object obj, String expression) {
> try {
>scriptEngine.put(getType(), obj);
>result = String.valueOf(scriptEngine.eval(expression));
> -} catch (Exception ex) {
> - //Ignore
> -}
> +} catch (Exception ignored) {}
>
> @@ -82,6 +83,10 @@
> @Path("/stop")
> Operation stopInstance(@EndpointParam URI selfLink);
>
> + @Named("Subnetworks:get")
> + @GET
> + @Fallback(NullOnNotFoundOr404.class) @Nullable Subnetwork
> subnetwork(@EndpointParam URI selfLink);
This method is not used. Remove it?
--
> @@ -126,7 +124,7 @@ Operation createInIPv4Range(@PayloadParam("name") String
> networkName,
> @Transform(NetworkPages.class)
> Iterator list(ListOptions options);
>
> - static final class NetworkPages extends BaseToIteratorOfListPage NetworkPages> {
> + final
>
> /**
> * This must be within the range specified by IPv4Range, and is typically
> the first usable address in that range.
> * If not specified, the default value is the first usable address in
> IPv4Range.
> */
> @Nullable public abstract String gatewayIPv4();
>
> -
>@SerializedNames({ "network", "accessConfigs" })
>static NetworkInterface create(URI network, List
> accessConfigs) {
> - return new AutoValue_NewInstance_NetworkInterface(network,
> accessConfigs);
> + return new AutoValue_NewInstance_NetworkInterface(network,
> @@ -136,11 +136,17 @@
>URI network = URI.create(networks.next());
>assert !networks.hasNext() : "Error: Options should specify only one
> network";
>
> + Iterator subnetworks = options.getSubnetworks().iterator();
> +
> + URI subnetwork = subnetworks.hasNext() ?
>
> +
> + @Inject
> + SubnetworkLoader(Resources resources) {
> + this.resources = resources;
> + }
> +
> + @Override
> + public Subnetwork load(URI key) throws ExecutionException {
> + try {
> + return resources.subnetwork(key);
> + } catch (Exception e) {
> +
> +@Singleton
> +public class SubnetworkLoader extends CacheLoader {
> + @Resource
> + protected Logger logger = Logger.NULL;
> +
> + private final Resources resources;
> +
> + @Inject
> + SubnetworkLoader(Resources resources) {
> + this.resources = resources;
> +
> @@ -32,6 +35,7 @@
> private List serviceAccounts;
> private String bootDiskType;
> private boolean preemptible = false;
> + private Set subnetworks;
Change to just `URI subnetwork`, as mentioned above?
--
You are receiving this because you are subscribed to this thread.
Reply to
Thanks @nelsonjr! This looks great. Just a couple comments apart from the
inline ones:
* Add mock tests for the methods added to the aggregated list api.
* Add live tests for the subnetworks api and the new methods in the aggregated
list api. These ones are specially important, since they warn
> + assertSent(server, "DELETE",
> "/projects/party/regions/someregion/subnetworks/jclouds-test");
> + }
> +
> + public void list() throws Exception {
> + server.enqueue(jsonResponse("/subnetwork_list.json"));
> +
> + assertEquals(subnetworkApi().list().next(), new
>
> + this.resources = resources;
> + }
> +
> + @Override
> + public Subnetwork load(URI key) throws ExecutionException {
> + try {
> + return resources.subnetwork(key);
> + } catch (Exception e) {
> + throw new ExecutionException(message(key, e), e);
> + }
Fix unit tests accordingly.
You can view, comment on, or merge this pull request online at:
https://github.com/jclouds/jclouds/pull/1008
-- Commit Summary --
* JCLOUDS-1161: Make AWSS3BlobRequestSignerV4 the default signer.
-- File Changes --
M
> +import org.jclouds.compute.domain.Hardware;
> +import org.jclouds.compute.domain.Image;
> +import org.jclouds.compute.domain.NodeMetadata;
> +import org.jclouds.compute.domain.Volume;
> +import org.jclouds.domain.Location;
> +import org.jclouds.functions.IdentityFunction;
> +import
> @@ -0,0 +1,79 @@
> +/*
+1!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/79/files/0b99dad1aa7786eaf11028bf91fc1d272c189f0b#r78129943
> @@ -0,0 +1,79 @@
> +/*
> No changes to the notice file should be required as the copyright owner of
> the copied files is already the ASF.
Ah, good to know. Then I think we should be OK just to reformat and perhaps
tweak the style where applicable?
--
You are receiving this because you are
+1 - looks good to me. Thanks, @nacx!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/80#issuecomment-245798899
37 matches
Mail list logo