GitHub user neykov opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/312
Versioning catalog items (take 2)
Leaving here for early feedback.
Supersedes #92
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/neykov/incubator-brooklyn
feature/catalog-versions2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/312.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #312
----
commit f5c4d2855ed289210eb98e08a62725604189eb3a
Author: Svetoslav Neykov <[email protected]>
Date: 2014-07-17T15:37:42Z
REST API catalog versioning
commit fc019e58c8da791dd654f3b3f4eb33a0263cf8f4
Author: Svetoslav Neykov <[email protected]>
Date: 2014-11-05T16:45:55Z
Catalog items versioning - groundwork changes
commit 48f8f146dbe1c39ebab38af25e1157c358947c58
Author: Svetoslav Neykov <[email protected]>
Date: 2014-07-18T16:32:32Z
jsgui catalog versioning
commit 698f7d5396247af61c930f51a16f68516fee3ba2
Author: Svetoslav Neykov <[email protected]>
Date: 2014-07-21T16:08:02Z
Reference installed OSGi bundles by name+version
Also fix failing tests from previous commits.
commit 40499366d4a992b3ea39c47f348f44ab04621080
Author: Svetoslav Neykov <[email protected]>
Date: 2014-07-24T09:29:31Z
Using AssemblyTemplate.getName() for getting catalog items is wrong.
Catalog items are registered by id+version in the brooklyn.config section,
the name is unrelated which means that the items were never found.
The code path in BrooklynEntityMatcher is not needed anyway, already
handled by the instantiator.
commit 06a2c4dcc3359c39ec4620ae673c152b99f802ed
Author: Svetoslav Neykov <[email protected]>
Date: 2014-07-23T20:44:03Z
Fail on adding catalog item with same version.
Allow for override if forceUpdate is set.
commit 373fe74875275f953291c0ea87135cb6c67caf89
Author: Svetoslav Neykov <[email protected]>
Date: 2014-11-10T15:27:56Z
Clean up the CatalogItem interface
* override id to return getCatalogItemId()
* introduce symbolicName (analogous to old id/registeredTypeName)
* deprecate registeredTypeName in favor of symbolicName
* getCatalogItemId() should return symbolicName:version
* deprecate useless CatalogLibraries interface
* keep backwards compatibility for deserialization (registeredTypeName,
libraries)
* remove CONGIGURATION catalog item type
Clean up the CatalogItemSymmary REST interface and udate JSGUI to match
* add symbolicName
* remove registeredTypeName
* keep id, but construct from other arguments
* keep type, but alias to symbolicName
commit be68dd105f5786fbe2a91e996a7b63cfa5553f10
Author: Svetoslav Neykov <[email protected]>
Date: 2014-11-10T16:56:39Z
Versioning - groundwork for returning the latest version if no version
specified
commit f9faefb3af84b0f645bfb6e7b7948596698e032d
Author: Svetoslav Neykov <[email protected]>
Date: 2014-11-10T17:39:35Z
Versioning - when no explicit version use the highest version (preferring
non-snapshot)
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---