This is an automated email from the ASF dual-hosted git repository.
iuliana pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git.
from c37c1b6 This closes #1189
new 7a0b7a2 Couple of unit-tests for the logbook resource and tidy up
new 508c250 restrict access with 'user' entitlement to access logbook
new 5f61ba9 Unit-tests for 'user' entitlement and logbook permission
new 355915d Unit-tests for unauthorized access on logbook resource access
new dd8cf37 Throw 'unauthorized' error instead 'forbidden' on
unauthorized access to logbook resource
new 5723f43 Temporarily disable logbook resource happy-path unit-test
new 486f780 Enable back logbook resource happy-path unit-test
new ae9eb3a Use log file sample for logbook unit-tests; trim log level
key when parsing logs
new 04a58ce Merge pull request #1192 from
algairim/logbook-resource-improvements
The 12998 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../core/mgmt/entitlement/Entitlements.java | 5 +-
.../util/core/logbook/DelegatingLogStore.java | 3 +-
.../util/core/logbook/file/FileLogStore.java | 2 +-
.../core/mgmt/entitlement/EntitlementsTest.java | 16 ++
.../util/core/logbook/file/FileLogStoreTest.java | 25 ++-
.../org/apache/brooklyn/rest/api/LogbookApi.java | 1 -
.../brooklyn/rest/resources/LogbookResource.java | 12 +-
.../rest/resources/LogbookResourceTest.java | 188 +++++++++++++++++++++
.../brooklyn/rest/testing/BrooklynRestApiTest.java | 6 +-
.../src/test/resources/logbook.test.log | 5 +
10 files changed, 247 insertions(+), 16 deletions(-)
create mode 100644
rest/rest-resources/src/test/java/org/apache/brooklyn/rest/resources/LogbookResourceTest.java
create mode 100644 rest/rest-resources/src/test/resources/logbook.test.log