Alex Heneveld [Sat, 30 Jan 2016 12:05:26 +0000 (12:05 +0000)]
This closes #1181
Alex Heneveld [Sat, 30 Jan 2016 11:57:59 +0000 (11:57 +0000)]
Apache Brooklyn has moved to github.com/apache/brooklyn
This commit updates historic notices for clarity.
Almost all visitors will now want either:
* **The Active Codebase**: at [http://github.com/apache/brooklyn/](http://github.com/apache/brooklyn/)
* **The Apache Brooklyn Homepage**: at [http://brooklyn.apache.org/](http://brooklyn.apache.org/)
Alex Heneveld [Sat, 30 Jan 2016 11:59:30 +0000 (11:59 +0000)]
This closes #1180
Alex Heneveld [Sat, 30 Jan 2016 11:44:03 +0000 (11:44 +0000)]
fix file missing header (rat)
Alex Heneveld [Sat, 30 Jan 2016 03:45:34 +0000 (03:45 +0000)]
This closes #1169
Alex Heneveld [Sat, 30 Jan 2016 03:41:59 +0000 (03:41 +0000)]
This closes #1166
Alex Heneveld [Sat, 30 Jan 2016 03:33:08 +0000 (03:33 +0000)]
update LICENSE files throughout
Alex Heneveld [Sat, 30 Jan 2016 03:32:38 +0000 (03:32 +0000)]
update license generation to put a file in each project root
and correct some version mismatches
Alex Heneveld [Sat, 30 Jan 2016 02:55:20 +0000 (02:55 +0000)]
This closes #1144
Alex Heneveld [Sat, 30 Jan 2016 02:48:00 +0000 (02:48 +0000)]
This closes #1179
Alex Heneveld [Sat, 30 Jan 2016 02:45:09 +0000 (02:45 +0000)]
fix the nondet cancellation test race observed previously
Alex Heneveld [Sat, 30 Jan 2016 02:31:35 +0000 (02:31 +0000)]
This closes #1170
Alex Heneveld [Sat, 30 Jan 2016 02:28:34 +0000 (02:28 +0000)]
This closes #1175
Alex Heneveld [Sat, 30 Jan 2016 02:21:43 +0000 (02:21 +0000)]
This closes #1178
Alex Heneveld [Fri, 29 Jan 2016 23:30:07 +0000 (23:30 +0000)]
fix failing (time sensitive) test
and improve the "Asserts.eventually" routines which that used,
adding a new simpler eventuallyOnNotify(...) and having it used elsewhere.
also add convenience methods for CountdownTimer so its usage is more readable.
Duncan Grant [Fri, 29 Jan 2016 11:00:26 +0000 (11:00 +0000)]
Changes re code review
Reorder password so "required chars" not at beginning
More default symbols
yaml test
concatenate all characters to use as available characters once required
chars added
Minor other changes
John McCabe [Thu, 28 Jan 2016 16:27:44 +0000 (16:27 +0000)]
add support for SNAPSHOT downloads
- supports release downloads via Apache closer.lua mirror
- supports snapshot download from Apache maven
- supports snapshot download from a local -dist.tar.gz archive.
*NOTE* this currently requires the user to copy the dist to the same directory
as the Vagrantfile
Alex Heneveld [Wed, 27 Jan 2016 10:34:28 +0000 (10:34 +0000)]
remove printStackTrace which snuck in to test
Valentin Aitken [Tue, 26 Jan 2016 21:55:40 +0000 (23:55 +0200)]
Update storm dependency
- exclude storm:carbonite transitive dependency
Alex Heneveld [Tue, 26 Jan 2016 20:10:28 +0000 (20:10 +0000)]
This closes #1173
Alex Heneveld [Tue, 26 Jan 2016 20:05:32 +0000 (20:05 +0000)]
This closes #1174
Alex Heneveld [Tue, 26 Jan 2016 20:02:57 +0000 (20:02 +0000)]
fix intermittent failing test on constraint validation
Aled Sage [Tue, 26 Jan 2016 12:54:19 +0000 (12:54 +0000)]
This closes #1165
Aled Sage [Mon, 25 Jan 2016 17:35:11 +0000 (17:35 +0000)]
SshFeed: if same cmd, then share result
- Fix the avoidance of executing the same command repeatedly, if an
SshFeed is configured with multiple sensors that use the output
of the same command.
Aled Sage [Mon, 25 Jan 2016 17:27:51 +0000 (17:27 +0000)]
SshFeedIntegrationTest: fix compile warnings
Aled Sage [Mon, 25 Jan 2016 17:26:15 +0000 (17:26 +0000)]
change-version: improve echo msg
Duncan Godwin [Mon, 25 Jan 2016 13:52:47 +0000 (13:52 +0000)]
Updated license for Glossarizer MIT statement
Duncan Godwin [Mon, 25 Jan 2016 13:26:51 +0000 (13:26 +0000)]
Finished Managing
Alex Heneveld [Mon, 25 Jan 2016 01:02:01 +0000 (01:02 +0000)]
This closes #1167
Alex Heneveld [Mon, 25 Jan 2016 01:01:38 +0000 (01:01 +0000)]
This closes #1171
John McCabe [Mon, 25 Jan 2016 00:57:47 +0000 (00:57 +0000)]
add README.md to rat excludes
John McCabe [Sun, 24 Jan 2016 23:41:26 +0000 (23:41 +0000)]
add -SNAPSHOT handling
- aborts starting brooklyn VM with a warning and pointer to README
- README describes how to update the Vagrantfile to point at the desired -SNAPSHOT source
John McCabe [Sun, 24 Jan 2016 22:24:50 +0000 (22:24 +0000)]
fix RAT violations
Aled Sage [Fri, 22 Jan 2016 17:53:45 +0000 (17:53 +0000)]
This closes #1172
Aled Sage [Fri, 22 Jan 2016 15:03:41 +0000 (15:03 +0000)]
Adds catalog item example to externalized-configuration.md
John McCabe [Fri, 22 Jan 2016 15:48:14 +0000 (15:48 +0000)]
load locations from catalog, strip unnecessary properties
- vagrant-catalog.bom loaded on startup in the systemd service unit
Duncan Godwin [Fri, 22 Jan 2016 14:44:45 +0000 (14:44 +0000)]
Concertina in managing, glossary & refactored names
Alex Heneveld [Fri, 22 Jan 2016 11:58:16 +0000 (11:58 +0000)]
revert generics change as it causes inconsistent failures in different JVM's
Alex Heneveld [Fri, 22 Jan 2016 11:46:50 +0000 (11:46 +0000)]
also improve jmx port allocation in tests
to fix another observed test failure,
at https://builds.apache.org/job/incubator-brooklyn-pull-requests/org.apache.brooklyn$brooklyn-software-base/2439/testReport/junit/org.apache.brooklyn.feed.jmx/JmxFeedTest/setUp/
Port already in use: 40125; nested exception is:
java.net.BindException: Address already in use
Alex Heneveld [Fri, 22 Jan 2016 09:41:00 +0000 (09:41 +0000)]
fix race in DSTTest.testCancel
seeing errors on jenkins server though it runs fine locally;
have patched what looks like one race, but not sure it explains the failure
at https://builds.apache.org/job/incubator-brooklyn-pull-requests/org.apache.brooklyn$brooklyn-core/2440/testReport/junit/org.apache.brooklyn.util.core.task/DynamicSequentialTaskTest/testCancelled/
where we are seeing an extra semaphore at the end of the test;
have added comments and logging in case it is seen again.
(locally all is well.)
John McCabe [Thu, 21 Jan 2016 22:57:21 +0000 (22:57 +0000)]
correct artifact staging dir path
John McCabe [Thu, 21 Jan 2016 22:50:59 +0000 (22:50 +0000)]
add getting started vagrant env to release artifacts
- following inclusion of Vagrant as a target in #1144
- previously at https://github.com/johnmccabe/vagrant-brooklyn-getting-started
John McCabe [Thu, 21 Jan 2016 22:03:41 +0000 (22:03 +0000)]
update release process docs for current repo structure
John McCabe [Thu, 21 Jan 2016 18:49:31 +0000 (18:49 +0000)]
add apache-brooklyn-VER-vagrant release artifact
John McCabe [Thu, 21 Jan 2016 18:42:08 +0000 (18:42 +0000)]
update make-release-artifacts to work with current repo structure
Duncan Grant [Thu, 21 Jan 2016 16:14:25 +0000 (16:14 +0000)]
Create Password Sensor
A simple initialiser for creating passwords in yaml as a sensor
Added a password generating function in the Identifiers class which uses
secure random
Alex Heneveld [Thu, 21 Jan 2016 14:10:09 +0000 (14:10 +0000)]
group software process tasks better
causes a much nicer tree to display, rather than lots of steps.
most are no-op and i think this structure makes it better to navigate.
unfortunately it is hard to tell if a step is no-op, as they are methods,
so we don't have a way just to not run empty steps.
it would be better to do away with most of them, finding a different mechanism
for subclasses to insert at the right point, but this helps in the short term.
Alex Heneveld [Thu, 21 Jan 2016 13:34:02 +0000 (13:34 +0000)]
start fleshing out release notes, including reference to the new parameters example
Alex Heneveld [Thu, 21 Jan 2016 13:17:08 +0000 (13:17 +0000)]
add more examples to `netcat` illustration,
showing port inference, parameters, catalog, and more.
Alex Heneveld [Thu, 21 Jan 2016 13:55:30 +0000 (13:55 +0000)]
support dynamic cluster restart
Alex Heneveld [Thu, 21 Jan 2016 13:24:15 +0000 (13:24 +0000)]
allow spec parameters to imply sensors as well as config keys;
mainly intended for AttributeSensorAndConfigKey -- especially ports.
this means param of type `port` given a range causes a sensor to be published with the actual value.
Alex Heneveld [Thu, 21 Jan 2016 13:22:21 +0000 (13:22 +0000)]
ensure install-label-salt-inferencing does not block
otherwise setting a shell env var to include a port will cause it to block prematurely.
also clean up javadoc around `getNonBlocking` behaviour.
Alex Heneveld [Thu, 21 Jan 2016 09:52:14 +0000 (09:52 +0000)]
fix location of yaml file read in by docs
docs build failed without this
Alex Heneveld [Thu, 21 Jan 2016 09:48:00 +0000 (09:48 +0000)]
This closes #1148
Alex Heneveld [Thu, 21 Jan 2016 09:41:44 +0000 (09:41 +0000)]
mark ConnectionFailureDetectorTest.java as Integration because it requires ports accessible
the failure log is recorded at:
https://gist.github.com/davidx/
1a21649a5e637b7b2a6a
Alex Heneveld [Thu, 21 Jan 2016 01:22:59 +0000 (01:22 +0000)]
This closes #1164
Alex Heneveld [Thu, 21 Jan 2016 01:19:12 +0000 (01:19 +0000)]
address minor shutdown cleanup code review comments
Alex Heneveld [Wed, 20 Jan 2016 20:49:13 +0000 (20:49 +0000)]
suppress explicit termination in main thread;
the shutdown hook is sufficient and it's a bit of work to terminate properly in-thread
Alex Heneveld [Wed, 20 Jan 2016 18:26:56 +0000 (18:26 +0000)]
background the dev-mode web server shutdown,
and Entities.destroyAll is more graceful on concurrent shutdown
Alex Heneveld [Wed, 20 Jan 2016 18:13:35 +0000 (18:13 +0000)]
prevent deadlock if requests coming in during startup
Alex Heneveld [Wed, 20 Jan 2016 15:56:07 +0000 (15:56 +0000)]
better shutdown
call Main.terminate() in the main thread, rather than relying on shutdown hooks
fixes rest-initiated shutdown when using BrooklynJavascriptGuiLauncher
(looks like that has been broken since #771)
Alex Heneveld [Wed, 20 Jan 2016 21:04:20 +0000 (21:04 +0000)]
This closes #1160
Alex Heneveld [Wed, 20 Jan 2016 21:04:15 +0000 (21:04 +0000)]
This closes #1162
Alex Heneveld [Wed, 20 Jan 2016 21:01:20 +0000 (21:01 +0000)]
code review for task-cancellation mode
Alex Heneveld [Wed, 20 Jan 2016 20:53:04 +0000 (20:53 +0000)]
address code review for #1162
Alex Heneveld [Tue, 19 Jan 2016 12:48:15 +0000 (12:48 +0000)]
clearer semantics for cancel, and cancel dependent submitted tasks by default
prevents leaks where dependent tasks (eg resolveValue) are submitted in the background,
then the caller is cancelled; the interruption was not propagated. now by default it is,
to children tasks and to submitted transients, with options for other (weaker and stronger) cancellations.
see TaskInternal.cancel(TaskCancellationOptions), and new tests for cancelling children in DynamicSequentialTaskTest.
also remove deprecated loose-typing ExecutionUtils.invoke,
more TRACE logging for activities,
and wrap batch config in a task so more resolutions are nested
Aled Sage [Wed, 20 Jan 2016 16:09:17 +0000 (16:09 +0000)]
This closes #1163
Alex Heneveld [Wed, 20 Jan 2016 12:08:31 +0000 (12:08 +0000)]
for chained references, prefer outer catalog item id, and outer tags
as described in changes to release-notes.md
Aled Sage [Tue, 19 Jan 2016 14:57:47 +0000 (14:57 +0000)]
Adds EmptyWindowsProcess
- Includes EmptyWindowsProcess.USE_WINRM_MONITORING, for disabling
checking of WinRM connectivity.
- Adds EmptySoftwareProcess.USE_SSH_MONITORING, for disabling checking
of ssh connectivity.
With EmptyWindowsProcess, one can provision an entity that will not
execute anything on the box. That makes it usable even if there is
no direct WinRM connectivity to the box.
Aled Sage [Tue, 19 Jan 2016 14:55:28 +0000 (14:55 +0000)]
Fix EmptySoftwareProcessYamlTest
See https://github.com/brooklyncentral/brooklyn/issues/1377
Aled Sage [Wed, 20 Jan 2016 10:27:02 +0000 (10:27 +0000)]
This closes #1158
Aled Sage [Mon, 18 Jan 2016 21:29:13 +0000 (21:29 +0000)]
winrm: switch to winrm4j v0.2.0, from 0.1.0
- This is a pure-java WinRM client, so removes the jython depenpdency.
- Also changes WinRmTool.executeScript(...) to executeCommand(…),
and WinRmMachineLocation.executeScript to executeCommand.
- Fixes WindowsPerformanceCounterFeedLiveTest
- Renames Winrm4jTool’s package (from pywinrm to winrm4j).
- Fixes imports that used org.python
Alex Heneveld [Tue, 19 Jan 2016 15:50:59 +0000 (15:50 +0000)]
This closes #1161
Alex Heneveld [Tue, 19 Jan 2016 15:36:07 +0000 (15:36 +0000)]
This closes #1123
Duncan Godwin [Tue, 19 Jan 2016 15:34:25 +0000 (15:34 +0000)]
Fixed stray end tag
Duncan Godwin [Tue, 19 Jan 2016 15:25:12 +0000 (15:25 +0000)]
Updated blueprints and managing
Alex Heneveld [Tue, 19 Jan 2016 13:52:09 +0000 (13:52 +0000)]
tidy several other places start(Collection<Location>) is assuming locations are always passed in, not inherited
Alex Heneveld [Tue, 19 Jan 2016 14:38:48 +0000 (14:38 +0000)]
This closes #1155
Alex Heneveld [Tue, 19 Jan 2016 14:38:40 +0000 (14:38 +0000)]
This closes #1132
Guglielmo Nigri [Tue, 19 Jan 2016 14:34:12 +0000 (15:34 +0100)]
Add more tests. Correct typo.
Alex Heneveld [Tue, 19 Jan 2016 13:33:05 +0000 (13:33 +0000)]
clean up how start(Location) works, for Dynamic{Cluster,Fabric}
Alex Heneveld [Tue, 19 Jan 2016 13:08:13 +0000 (13:08 +0000)]
This closes #1159
Aled Sage [Tue, 19 Jan 2016 12:20:09 +0000 (12:20 +0000)]
Fix DynamicFabric locations
- When locations are defined at the YAML top-level, then ensure the
DynamicFabric finds those.
Aled Sage [Mon, 18 Jan 2016 22:14:51 +0000 (22:14 +0000)]
This closes #1157
Andrew Kennedy [Mon, 18 Jan 2016 17:15:23 +0000 (17:15 +0000)]
This closes #1154
* github/pr/1154:
Updated JClouds to 1.9.2
Valentin Aitken [Mon, 18 Jan 2016 13:04:18 +0000 (15:04 +0200)]
Set error logging for MySqlNode
Yavor Yanchev [Mon, 18 Jan 2016 15:51:22 +0000 (17:51 +0200)]
Additional security for MySQL
- it changes the default of sql_mode to include "NO_AUTO_CREATE_USER"
- it will prevent the GRANT statement from automatically creating new
user accounts unless authentication information is specified.
Sam Corbett [Mon, 18 Jan 2016 12:15:50 +0000 (12:15 +0000)]
This closes #1131
WinRm documentation - In Powershell use Start-Process ... -Wait
Sam Corbett [Mon, 18 Jan 2016 12:12:51 +0000 (12:12 +0000)]
This closes #1153
WinRM docs for correct preparation of windows templates
Sam Corbett [Mon, 18 Jan 2016 12:09:04 +0000 (12:09 +0000)]
This closes #1141
Fixed issue with exceptions in Rest Client
Graeme-Miller [Mon, 18 Jan 2016 10:59:59 +0000 (10:59 +0000)]
Updated JClouds to 1.9.2
Yavor Yanchev [Mon, 18 Jan 2016 10:41:43 +0000 (12:41 +0200)]
WinRM docs for correct preparation of windows template
- Short troubleshooting section that incorrect windows template can
cause timeouts or fail some deployments
- Settings to Use for an Unattended Installation in known limitations
section
Andrew Kennedy [Mon, 18 Jan 2016 00:37:05 +0000 (00:37 +0000)]
This closes #1142
* github/pr/1142:
deprecate group.members.delegate and prevent delegate creation when adding to quarantine - use of delegate to denote quarantine group membership in the jsgui is no longer required due to #929
Ciprian Ciubotariu [Mon, 18 Jan 2016 00:30:04 +0000 (02:30 +0200)]
This closes #1152
Cristian Tarsoaga [Sat, 16 Jan 2016 01:26:52 +0000 (03:26 +0200)]
[BROOKLYN-183] Add karaf features
Add brooklyn-software-base, brooklyn-software-winrm and brooklyn-policy features.
Ignore for now python imports in brooklyn-software-base.
Aled Sage [Fri, 15 Jan 2016 22:37:24 +0000 (22:37 +0000)]
This closes #1130
Alex Heneveld [Fri, 15 Jan 2016 15:11:05 +0000 (15:11 +0000)]
This closes #1151
Alex Heneveld [Fri, 15 Jan 2016 15:07:50 +0000 (15:07 +0000)]
update licenses with latest metadata and dependencies
Alex Heneveld [Fri, 15 Jan 2016 15:04:11 +0000 (15:04 +0000)]
correct references used in license-readme-generation for new project structure
Aled Sage [Fri, 15 Jan 2016 14:54:57 +0000 (14:54 +0000)]
This closes #1136