Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from NodeJS/Gitbook back to Ruby/Jekyll, using latest Ruby #315

Merged
merged 42 commits into from
May 21, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
173148c
Revert "This closes #222"
ahgittin Sep 4, 2018
73f2627
ignore stuff from gitbook
ahgittin Sep 4, 2018
c26c8b9
Merge commit '5d11e405' into release-5.0-reverted-222
ahgittin Sep 4, 2018
22ef529
Merge commit 'ba27cf1b' into release-5.0-reverted-222
ahgittin Sep 4, 2018
90ef120
Revert "Merge commit 'ba27cf1b' into release-5.0-reverted-222"
ahgittin Sep 4, 2018
d1efaf7
Merge commit 'ba01df1a' into release-5.0-reverted-222
ahgittin Sep 4, 2018
b40c7ed
Merge commit '68ec56c3' into release-5.0-reverted-222
ahgittin Sep 4, 2018
f970695
Merge commit '3772c215' into release-5.0-reverted-222
ahgittin Sep 4, 2018
2698dbc
Merge commit '9d9028de' into release-5.0-reverted-222
ahgittin Sep 4, 2018
7d808f6
Merge commit '40c59c6c' into release-5.0-reverted-222
ahgittin Sep 4, 2018
15afba3
Merge commit '892400e4' into release-5.0-reverted-222
ahgittin Sep 4, 2018
b726b16
Merge commit '7402753b' into release-5.0-reverted-222
ahgittin Sep 4, 2018
42f4eba
Merge commit 'cd6242aa' into release-5.0-reverted-222
ahgittin Sep 4, 2018
499186d
Merge commit '62cf36a7' into release-5.0-reverted-222
ahgittin Sep 4, 2018
1f518ac
Merge commit '6c4d98ed' into release-5.0-reverted-222
ahgittin Sep 4, 2018
c28417f
Merge commit 'd00c98a7' into release-5.0-reverted-222
ahgittin Sep 4, 2018
a75819e
Merge commit '2c20b30f' into release-5.0-reverted-222
ahgittin Sep 4, 2018
d4f7185
Merge commit '5b78602c' into release-5.0-reverted-222
ahgittin Sep 4, 2018
cf28bf4
Merge commit '2f2ed97c' into release-5.0-reverted-222
ahgittin Sep 4, 2018
a0314df
Merge commit '1a922025' into release-5.0-reverted-222
ahgittin Sep 4, 2018
d616fbf
Merge remote-tracking branch 'origin/latest-upstream' into release-5.…
ahgittin Sep 4, 2018
a7dbdc2
Merge branch 'master' of github.com:apache/brooklyn-docs
nakomis Feb 5, 2019
c08d9b8
Merge apache-brooklyn/master as at commit c0b4ab45
richardcloudsoft Feb 25, 2021
dae7d77
Merge apache-brooklyn/master as at commit 42aa8274
richardcloudsoft Feb 25, 2021
1e0f1be
Merge apache-brooklyn/master as at commit f38fb8bb
richardcloudsoft Feb 25, 2021
93fa774
Merge apache-brooklyn/master as at commit edc13bd6
richardcloudsoft Feb 25, 2021
a6c7aaf
Merge apache-brooklyn/master as at commit 5237ea65
richardcloudsoft Feb 25, 2021
06230ce
Merge apache-brooklyn/master as at commit 6b410121
richardcloudsoft Feb 25, 2021
28a107a
Merge apache-brooklyn/master as at commit 84156e39
richardcloudsoft Feb 26, 2021
a116321
Resolve issues from merge
richardcloudsoft Mar 12, 2021
f8243c7
Merge branch 'master' into ruby-3
ahgittin May 20, 2021
f2f2f61
updating to latest ruby - 3.0.1 - ruby installs but doesn't yet run
ahgittin May 20, 2021
18c08d2
making new jekyll run - it needs a theme installed
ahgittin May 20, 2021
199567d
add webrick gem - needed to serve
ahgittin May 20, 2021
9772a69
remove package.json stuff - leftover from gitbook
ahgittin May 20, 2021
0eda085
fix some paths from gitbook
ahgittin May 20, 2021
484143d
restore title of available / off-the-shelf policies
ahgittin May 20, 2021
ce81908
fix various jekyll run problems
ahgittin May 20, 2021
8cbdb82
apply similar liquid cache workaround for page
ahgittin May 20, 2021
8c3b55e
avoid use of assign tag in liquid
ahgittin May 20, 2021
0b6a90c
fix instructions
ahgittin May 20, 2021
9b13e52
add a few dangling pages to the tree
ahgittin May 21, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge commit '62cf36a7' into release-5.0-reverted-222
  • Loading branch information
ahgittin committed Sep 4, 2018
commit 499186d2ca19b8d6183841ff1b3b07b388698706
50 changes: 50 additions & 0 deletions guide/ops/upgrades/_blueprints.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@

## Upgrading Blueprints and Bundles

You can install and deploy new versions of blueprints at any time.
Brooklyn tracks multiple versions of the blueprints you install, as can be seen in the catalog.


### Defining and Forcing Upgrade Paths

Bundles can declare what bundles and types they can upgrade,
and they can also force the removal of installed bundles and types on startup/rebind.
Forcing can be useful when upgrading Brooklyn to replace any installed bundle
not compatible with the newer version of Brooklyn.

To add these definitions, use the following headers in the bundle's OSGi `META-INF/MANIFEST.MF`:

* `Brooklyn-Catalog-Force-Remove-Bundles`
* `Brooklyn-Catalog-Force-Remove-Legacy-Items`
* `Brooklyn-Catalog-Upgrade-For-Bundles`
* `Brooklyn-Catalog-Upgrade-For-Types`

The most common patterns are to indicate that a bundle can replace all previous versions of itself
and all types therein with types in the current bundle of the same name, using:

```
Brooklyn-Catalog-Upgrade-For-Bundles: *
```

And you can indicate that previous bundles should be uninstalled, forcing the above upgrades,
with:

```
Brooklyn-Catalog-Force-Remove-Bundles: *
```

The above items can also take a range syntax, e.g. `"*:[1,2)"` when releasing a `2.0.0` to restrict to
versions equal to or greater than `1.0.0` but less than `2.0.0`. (Note that ranges must be quoted.)
Entries can also take comma-separated lists, and in the case of replacements, they can define
explicit renamed targets using `sourceNameAndVersionRanges=targetNameAndVersion` entries.
These fields are defined in full in the
[`BundleUpgradeParser`'s javadoc]({{book.url.brooklyn_javadoc}}/org/apache/brooklyn/core/typereg/BundleUpgradeParser.html).


### Upgrading the Version of Deployed Blueprints

New versions of blueprints are not automatically applied to existing deployments from
older versions. This requires a rebind using the above techniques, or programmatic intervention:
please ask on the mailing list for more information
(and to help us identify the most common wishes in this area!).

15 changes: 3 additions & 12 deletions guide/ops/upgrade.md → guide/ops/upgrades/_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,7 @@ title: Upgrade
layout: website-normal
---

This guide provides all necessary information to upgrade Apache Brooklyn for both the RPM/DEB and Tarball packages.

## Backwards Compatibility

Apache Brooklyn version 0.12.0 onward runs primarily inside a Karaf container. When upgrading from 0.11.0 or below,
this update changes the mechanisms for launching Brooklyn.
This will impact any custom scripting around the launching of Brooklyn, and the supplying of command line arguments.

Use of the `lib/dropins` and `lib/patch` folders will no longer work (because Karaf does not support that kind of classloading).
Instead, code must be built and installed as [OSGi bundles](https://en.wikipedia.org/wiki/OSGi#Bundles).

## Upgrading
## Upgrading Brooklyn

* Use of RPM and DEB is now recommended where possible, rather than the tar.gz. This entirely replaces the previous install.

Expand Down Expand Up @@ -353,3 +342,5 @@ If binding to existing persisted state, an additional command is required to upd

All existing custom jars previously added to lib/plugins (e.g. for Java-based entities) need to be converted to OSGi bundles,
and installed in Karaf. The use of the "brooklyn.libraries" section in catalog.bom files will continue to work.


24 changes: 24 additions & 0 deletions guide/ops/upgrades/_systems-under-mgmt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

## Upgrading Systems Under Management

Blueprints can encode update processes for the systems they describe.
The mechanisms for updating systems vary, depending whether it is stateless or stateful,
whether following an immutable pattern (replacing components)
or doing it on box (traditional, possibly taking systems out of action while upgrading),
and whether applying an upgrade to many resources on a rolling fashion (repaving, blue-green).
For this reason there is not a one-size-fits-all upgrade pattern to use in blueprints,
but there are some common patterns that may be applicable:

* Defining an `upgrade` effector on nodes, and on a cluster to apply to all nodes
* Using a config key such as `version` which can be updated and reapplied
* Exposing a `deploy` effector to pass files that should be run, such as WAR files,
and invoking this effector with newer versions of WAR files to install

There are many more, and if you've written some good pieces to share,
please consider contributing them so others can take advantage of them!






22 changes: 22 additions & 0 deletions guide/ops/upgrades/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: Upgrades
---

This section provides all necessary information to upgrade Apache Brooklyn for both the RPM/DEB and Tarball packages.

## Backwards Compatibility

Apache Brooklyn version 0.12.0 onward runs primarily inside a Karaf container. When upgrading from 0.11.0 or below,
this update changes the mechanisms for launching Brooklyn.
This will impact any custom scripting around the launching of Brooklyn, and the supplying of command line arguments.

Use of the `lib/dropins` and `lib/patch` folders will no longer work (because Karaf does not support that kind of classloading).
Instead, code must be built and installed as [OSGi bundles](https://en.wikipedia.org/wiki/OSGi#Bundles).


{% include '_server.md' %}

{% include '_blueprints.md' %}

{% include '_systems-under-mgmt.md' %}

You are viewing a condensed version of this merge commit. You can view the full changes here.