dbaccess
To build an assembly, run:
mvn clean assembly:assembly
This creates a jar at:
target/dbaccess-0.1.0-SNAPSHOT.jar
which can be placed in:
$BROOKLYN_HOME/lib/dropins
Opening in an IDE
To open this project in an IDE, you will need maven support enabled (e.g. with the relevant plugin). You should then be able to develop it and run it as usual. For more information on IDE support, visit:
https://brooklyn.incubator.apache.org/v/latest/dev/env/ide/
Customizing the Assembly
The artifacts (directory and tar.gz by default) which get built into
target/ can be changed. Simply edit the relevant files under
src/main/assembly.
To Test
Testing requires DB's created. Brooklyn blueprints are one good way to do this.
To test quickly locally, you can also use:
docker run -e MYSQL_ROOT_PASSWORD=password -e MYSQL_ROOT_HOST=172.17.0.1 -P -d mysql/mysql-server:latest
docker ps # note the port, and use that below, eg 32771
mysql -u root -ppassword -h 127.0.0.1 -P 32771
In MySQL, create a DB, e.g. create database foo (or even this demo),
and then you're ready to go; use the data above to create a blueprint.
Note you may need to pay attention to the CF-accessible IP address when you do the actual test --
hence the use of the 172.* address above (for Docker; if registering with PCF Dev you need to use
the interface it sees in your actual blueprint, e.g. 192.168.11.1).
More About Apache Brooklyn
Apache Brooklyn is a code library and framework for managing applications in a cloud-first dev-ops-y way. It has been used to create this sample project which shows how to define an application and entities for Brooklyn.
This project can be extended for more complex topologies and more interesting applications, and to develop the policies to scale or tune the deployment depending on what the application needs.
For more information consider:
- Visiting the Apache Brooklyn home page at https://brooklyn.incubator.apache.org
- Finding us on IRC #brooklyncentral or email (click "Community" at the site above)
- Forking the project at http://github.com/apache/incubator-brooklyn/
A sample Brooklyn project should specify its license.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
