mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
ACS-2391: StorageObjectProps - add version content specific endpoints (#863)
* ACS-2391: StorageObjectProps - add version content specific endpoints - GET /nodes/{nodeId}/versions/{versionId}/storage-info/{contentPropQName} - POST /nodes/{nodeId}/versions/{versionId}/storage-info/{contentPropQName}/archive - POST /nodes/{nodeId}/versions/{versionId}/storage-info/{contentPropQName}/archive-restore - since versioned content nodes are not in default workspace://SpaceStore ... - updated existing ContentStorageInfomation (and related tests) to handle nodeRef instead of nodeId - also fixed REST framework for operation/property for 2nd-level relationship (inc extra fix, eg. for "revert" version regression) - update based on PR feedback (thanks SA) - also update lic header to 2022 for new/changed Java files - update based on PR feedback (thanks MP) - minor: rename local variable (and similarly across codebase)
This commit is contained in:
@@ -993,6 +993,11 @@
|
||||
<constructor-arg name="storageInformation" ref="ContentStorageInformation" />
|
||||
</bean>
|
||||
|
||||
<bean class="org.alfresco.rest.api.nodes.NodeVersionsStorageInfoRelation">
|
||||
<constructor-arg name="storageInformation" ref="ContentStorageInformation" />
|
||||
<constructor-arg name="nodeVersions" ref="nodeVersionsRelation" />
|
||||
</bean>
|
||||
|
||||
<bean class="org.alfresco.rest.api.nodes.NodeSecondaryChildrenRelation" parent="baseNodeRelation"/>
|
||||
|
||||
<bean class="org.alfresco.rest.api.nodes.NodeParentsRelation" parent="baseNodeRelation"/>
|
||||
|
Reference in New Issue
Block a user