brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [4/4] brooklyn-server git commit: Closes #11
Date Wed, 10 Feb 2016 10:49:11 GMT
Closes #11

Initial work to simplify the rest server

- remove JsonNode from API interfaces
- refactor consistently toStringand hashCode and equals for the domain objects
- remove deprecated code
- simplified pom dependencies
- remove com.codehaus.jackson dependency and promote com.fasterxml.jackson usage
- adjust BrooklynJacksonSerializer to use jackson 2 api
- fix web.xml for rest-api and rest-client
- update feature.xml dependencies, following maven dependency changes


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/5c8bb4eb
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/5c8bb4eb
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/5c8bb4eb

Branch: refs/heads/master
Commit: 5c8bb4ebbc5b480226aa2c45ce167b3e950cb38f
Parents: 46ae223 1a53a3f
Author: Svetoslav Neykov <svetoslav.neykov@cloudsoftcorp.com>
Authored: Wed Feb 10 12:48:24 2016 +0200
Committer: Svetoslav Neykov <svetoslav.neykov@cloudsoftcorp.com>
Committed: Wed Feb 10 12:48:24 2016 +0200

----------------------------------------------------------------------
 camp/camp-server/pom.xml                        |   5 -
 core/pom.xml                                    |   8 --
 .../apache/brooklyn/core/mgmt/BrooklynTags.java |   7 +-
 .../brooklyn/core/mgmt/BrooklynTaskTags.java    |   2 +-
 .../ha/dto/BasicManagementNodeSyncRecord.java   |   5 +-
 .../rebind/dto/BasicCatalogItemMemento.java     |   2 +-
 .../mgmt/rebind/dto/BasicEntityMemento.java     |   5 +-
 .../mgmt/rebind/dto/MutableBrooklynMemento.java |   5 +-
 karaf/features/src/main/feature/feature.xml     |  25 ++--
 parent/pom.xml                                  |  27 +---
 pom.xml                                         |   7 +-
 rest/rest-api/pom.xml                           |  15 ++-
 .../apache/brooklyn/rest/api/ActivityApi.java   |   1 -
 .../brooklyn/rest/api/ApplicationApi.java       |  14 +-
 .../brooklyn/rest/domain/AccessSummary.java     |  19 +--
 .../apache/brooklyn/rest/domain/ApiError.java   |  83 ++++++------
 .../brooklyn/rest/domain/ApplicationSpec.java   |  63 ++++-----
 .../rest/domain/ApplicationSummary.java         |  29 ++--
 .../rest/domain/BrooklynFeatureSummary.java     |  37 +++++-
 .../rest/domain/CatalogEntitySummary.java       |  50 ++++---
 .../rest/domain/CatalogItemSummary.java         |  69 ++++++----
 .../rest/domain/CatalogLocationSummary.java     |  27 +++-
 .../rest/domain/CatalogPolicySummary.java       |  32 +++--
 .../brooklyn/rest/domain/ConfigSummary.java     |  50 ++++---
 .../brooklyn/rest/domain/EffectorSummary.java   |  60 ++++-----
 .../rest/domain/EntityConfigSummary.java        |  31 +++--
 .../brooklyn/rest/domain/EntityDetail.java      |  80 +++++++++++
 .../apache/brooklyn/rest/domain/EntitySpec.java |  38 ++----
 .../brooklyn/rest/domain/EntitySummary.java     |  38 +++---
 .../rest/domain/HighAvailabilitySummary.java    |  51 +++++---
 .../brooklyn/rest/domain/LinkWithMetadata.java  |  55 ++++----
 .../rest/domain/LocationConfigSummary.java      |  32 +++--
 .../brooklyn/rest/domain/LocationSpec.java      |  35 +++--
 .../brooklyn/rest/domain/LocationSummary.java   |  34 +++--
 .../rest/domain/PolicyConfigSummary.java        |  34 +++--
 .../brooklyn/rest/domain/PolicySummary.java     |  43 +++---
 .../rest/domain/ScriptExecutionSummary.java     |  48 +++++--
 .../brooklyn/rest/domain/SensorSummary.java     |  49 +++----
 .../brooklyn/rest/domain/TaskSummary.java       | 123 +++++++++++------
 .../brooklyn/rest/domain/UsageStatistic.java    |  38 +++---
 .../brooklyn/rest/domain/UsageStatistics.java   |  26 ++--
 .../brooklyn/rest/domain/VersionSummary.java    |  30 ++++-
 rest/rest-api/src/main/webapp/WEB-INF/web.xml   |   4 +-
 .../rest/domain/AbstractDomainTest.java         |  44 +++++++
 .../brooklyn/rest/domain/ApiErrorTest.java      |  18 ++-
 .../rest/domain/ApplicationSpecTest.java        |  37 ++----
 .../rest/domain/EffectorSummaryTest.java        |  37 ++----
 .../brooklyn/rest/domain/EntitySpecTest.java    |  20 ++-
 .../brooklyn/rest/domain/EntitySummaryTest.java |  35 ++---
 .../rest/domain/LocationSummaryTest.java        |  41 ++++++
 .../rest/domain/VersionSummaryTest.java         |  51 +++-----
 .../brooklyn/rest/util/RestApiTestUtils.java    |   5 +-
 rest/rest-client/pom.xml                        |   2 +-
 .../rest-client/src/test/webapp/WEB-INF/web.xml |   2 +-
 rest/rest-server/pom.xml                        |  41 ++----
 .../resources/AbstractBrooklynRestResource.java |   3 +-
 .../rest/resources/ApplicationResource.java     | 131 +++++++------------
 .../brooklyn/rest/util/WebResourceUtils.java    |   2 +-
 .../rest/util/json/BidiSerialization.java       |  41 +++---
 .../util/json/BrooklynJacksonJsonProvider.java  |  31 ++---
 .../json/ConfigurableSerializerProvider.java    |  52 ++++----
 .../ErrorAndToStringUnknownTypeSerializer.java  |  41 +++---
 .../rest/util/json/MultimapSerializer.java      |  62 ---------
 ...StrictPreferringFieldsVisibilityChecker.java |  19 +--
 .../rest-server/src/main/webapp/WEB-INF/web.xml |   2 +-
 .../brooklyn/rest/domain/ApplicationTest.java   |  17 +--
 .../rest/domain/LocationSummaryTest.java        |  55 --------
 .../rest/resources/DescendantsTest.java         |   4 +-
 .../rest/resources/EntityResourceTest.java      |   4 +-
 .../rest/testing/BrooklynRestApiTest.java       |   2 +-
 .../rest/testing/BrooklynRestResourceTest.java  |   2 +-
 .../json/BrooklynJacksonSerializerTest.java     |   6 +-
 72 files changed, 1156 insertions(+), 1087 deletions(-)
----------------------------------------------------------------------



Mime
View raw message