This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git.
from 94a674b allow search of some entities even when unmanaged, and better
error messages
new a5362f2 Extend REST API to provide entity relations on GET request
new 7fadebf Merge commit '77ae64373497e6bace13b5e1e8786b708694e406' into
smart-143
new e926d63 Test to verify custom relationship via fetch request
new 0b8bef7 This closes #1168
The 4 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:
.../org/apache/brooklyn/rest/api/EntityApi.java | 9 ++
.../brooklyn/rest/domain/RelationSummary.java | 72 +++++++++
.../apache/brooklyn/rest/domain/RelationType.java | 79 ++++++++++
.../rest/resources/ApplicationResource.java | 5 +-
.../brooklyn/rest/resources/EntityResource.java | 22 +--
.../brooklyn/rest/util/EntityRelationUtils.java | 49 +++++++
.../rest/resources/ApplicationResourceTest.java | 11 --
.../resources/EntityRelationsResourceTest.java | 162 +++++++++++++++++++++
.../rest/testing/BrooklynRestResourceTest.java | 11 ++
9 files changed, 399 insertions(+), 21 deletions(-)
create mode 100644
rest/rest-api/src/main/java/org/apache/brooklyn/rest/domain/RelationSummary.java
create mode 100644
rest/rest-api/src/main/java/org/apache/brooklyn/rest/domain/RelationType.java
create mode 100644
rest/rest-resources/src/main/java/org/apache/brooklyn/rest/util/EntityRelationUtils.java
create mode 100644
rest/rest-resources/src/test/java/org/apache/brooklyn/rest/resources/EntityRelationsResourceTest.java