sonatype/nexus — pull request #75 by cstamas (2011-11-16 18:22:31+00:00)
Title: NXCM-3525: create vs update events

Adding possibility to have events distinct between create vs update content changes.

Before this change
----------------------

Hosted:

* GET: RepositoryItemEventRetrieve
* PUT: RepositoryItemEventStore
* DELETE: RepositoryItemEventDelete

Proxy:

* GET (and not proxying happens): RepositoryItemEventRetrieve
* GET (and proxying happens because it's asked first time): RepositoryItemEventCache, RepositoryItemEventRetrieve
* GET (and proxying happens because it's stale and new remote version exists): RepositoryItemEventCache,RepositoryItemEventRetrieve

After
-----

Hosted:

* GET: RepositoryItemEventRetrieve
* PUT (create): RepositoryItemEventStoreCreate
* PUT (update): RepositoryItemEventStoreUpdate
* DELETE: RepositoryItemEventDelete

Proxy:

* GET (and not proxying happens): RepositoryItemEventRetrieve
* GET (and proxying happens because it's asked first time): RepositoryItemEventCacheCreate, RepositoryItemEventRetrieve
* GET (and proxying happens because it's stale and new remote version exists): RepositoryItemEventCacheUpdate,RepositoryItemEventRetrieve