Skip to content

Commit

Permalink
update adocs with changes since July 2020
Browse files Browse the repository at this point in the history
  • Loading branch information
djencks committed May 11, 2021
1 parent 6c1674f commit 7a8120f
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 4 deletions.
Expand Up @@ -215,6 +215,9 @@ If the vote passes:

If you are not a member of the Apache Felix PMC you might have to ask a member of the PMC to execute this step.

NOTE: It is recommended to use the check_staged_release.sh script to download your release prior to releasing the staging repository.
This will make the task of uploading the release to the Felix releases repository easier.

We use the distribution mechanism as described in https://www.apache.org/dev/release.html#upload-ci[How do I upload a release (newer way)?]

. Check out the https://dist.apache.org/repos/dist/release/felix[Felix releases repository];
Expand Down
Expand Up @@ -146,8 +146,8 @@ The Apache Felix Event Admin implementation is trying the deliver the events as
Events sent from different threads are sent in parallel.
Events from the same thread are sent in the order they are received (this is according to the spec).
A timeout can be configured which is used for event handlers.
If an event handler takes longer than the configured timeout to process an event, it is blacklisted.
Once a handler is in a blacklist, it doesn't get sent any events anymore.
If an event handler takes longer than the configured timeout to process an event, it is denied.
Once a handler is in a denylist, it doesn't get sent any events anymore.
The Felix Event Admin can be configured either through framework properties or through the configuration admin using PID `org.apache.felix.eventadmin.impl.EventAdmin`.
This is a list of configuration properties:

Expand Down Expand Up @@ -180,11 +180,11 @@ Applications with higher number of post operations should have a higher ratio.

_Property_: org.apache.felix.eventadmin.Timeout + _Default_: 5000 + _Type_: Integer

The black-listing timeout in milliseconds.
The deny-listing timeout in milliseconds.
The default value is 5000.
Increase or decrease at own discretion.
A value of less then 100 turns timeouts off.
Any other value is the time in milliseconds granted to each event handler before it gets blacklisted.
Any other value is the time in milliseconds granted to each event handler before it gets denied.

'''

Expand Down
Expand Up @@ -316,11 +316,16 @@ The parameter `factoryPid` might contain the factory pid.
The parameter `propertyList` contains a comma-separated list of all configuration property names that will be changed by this POST.
For each name, the value of the corresponding request parameter is used to set the value.
If such a parameter is missing, the property is not changed.
Any existing property not listed in the property list will be removed from the configuration.

For example to use `curl` to apply a configuration the following command line can be used:

curl -u admin:admin -X POST -d "apply=true" -d "propertylist=foo,bar" -d "foo=51" -d "bar=hello" http://localhost:8080/system/console/configMgr/com.acme.MyPid

If the configuration contains property where the names clash with the commands of the rest api like `apply` or `propertyList` the request parameter name must be prefixed with a dollar sign:

curl -u admin:admin -X POST -d "apply=true" -d "propertylist=update" -d "$update=yes" http://localhost:8080/system/console/configMgr/com.acme.mypid

To create a factory configuration, the special PID `[Temporary PID replaced by real PID upon save]` must be used, URL encoded.
So to create a new factory configuration for a factoryPid `com.acme.MyFactoryPid` the following can be used:

Expand Down
19 changes: 19 additions & 0 deletions modules/ROOT/pages/news.adoc
@@ -1,5 +1,24 @@
= News

* Apache Felix Configuration Admin 1.9.22 and Http Jetty 4.1.8 (May 7th, 2021)
* Apache Felix Http Jetty 4.1.6 (March 18th, 2021)
* Apache Felix Configurator 1.0.14 (March 6th, 2021)
* Apache Felix Atomos 1.0.0 (February 23rd, 2021)
* Apache Felix SCR 2.1.26 (February 22th, 2021)
* Apache Felix CM Json 1.0.6 released (February 3rd, 2021)
* Apache Felix CM Json 1.0.4 released (January 29th, 2021)
* Apache Felix Dependency Manager r16 released (January 25th, 2021)
* Apache Felix Metatype 1.2.4 released (January 18th, 2021)
* Apache Felix Event Admin 1.6.2 released (January 11th, 2021)
* Apache Felix Configadmin 1.9.20 released (January 7th, 2021)
* Apache Felix Framework 7.0.0 and Framework Security 2.8.0 released (December 25th, 2020)
* Apache Felix Webconsole 4.6.0 and EventAdmin 1.6.0 released (December 17th, 2020)
* Apache Felix Framework 6.0.4 and Resolver 2.0.2 released (December 15th, 2020)
* Apache Felix Http Jetty 4.1.4 (November 28th, 2020)
* Apache Felix Gogo - Jline 1.1.8, BOM 1.0.6
* Apache Felix Http Jetty 4.1.2, Http Bridge 4.1.2, and Http Base 4.1.2 (October 11th, 2020)
* Apache Felix Gogo - Runtime 1.1.4, Shell 1.1.4, Command 1.1.2, BOM 1.0.4
* Apache Felix Http Jetty 4.1.0, Http Bridge 4.1.0, and Http Base 4.1.0 (September 26th, 2020)
* Apache Felix Configurator 1.0.12 (July 23rd, 2020)
* Apache Felix Webconsole 4.5.4, Configadmin 1.9.18, and Http Jetty 4.0.20 (July 20th, 2020)
* Apache Felix Maven Bundle Plugin 5.1.1 (July 14th, 2020)
Expand Down

0 comments on commit 7a8120f

Please sign in to comment.