This project includes an extension for Alfresco Repository REST API that provides a new all
endpoint for Content Services retrieving every Node Id from STORE_REF_WORKSPACE_SPACESSTORE
using a pagination mechanism.
- alfresco-remote-api-ext is an ACS Repository Java 17 addon that extends alfresco-community-repo adding a new REST endpoint
all
that acceptsskipCount
andmaxItems
to get a paginated list of Node Is - docker is a Docker Compose template to deploy ACS 7.4 with the
alfresco-remote-api-ext
addon applied - alfresco-js-api-ext is a NodeJS 18 extension for (alfresco-js-api)[https://github.com/Alfresco/alfresco-js-api] that adds the new
all
REST API endpoint- The test folder includes NodeJS sample code to use the new REST API endpoint together with other useful invocations (like get nodes by query, get node metadata and get renditions)
- Building alfresco-remote-api-ext with Maven (Java 17 is required)
cd alfresco-remote-api-ext
mvn clean package
cp cp target/alfresco-remote-api-ext-0.8.0.jar ../docker/alfresco/modules/jars
- Starting ACS with Docker Compose (Docker is required)
cd docker
docker compose up --build --force-recreate
...
docker-alfresco-1 | INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [24237] milliseconds
Verify that ACS is up and running accessing to http://locahost:8080/alfresco (default credentials are admin/admin
)
- Running NodeJS tests (NodeJS 18 is required)
cd alfresco-js-api-ext
nvm use 18
npm test
...
6 passing (756ms)