Giter Site home page Giter Site logo

dataprep's Introduction

Dataprep

The project aims to provide a collection of helper classes that prepares and loads test data, using Alfresco's API.

Usage

a) clone the repository

   $ git clone https://github.com/AlfrescoTestAutomation/dataprep.git   

b) run the tests using Makefile

   $ make test
  • this will install ACS using docker-compose according to pom profile selected
  • and run the API tests over it

c) cleanup and kill the ACS instance

   $ make clean
  • this will clean the target folder and kill all docker-compose servicess according to pom profile selected

release

   $ make release
  • this will auto-increase the version in pom.xml and prepare it for next development iteration.

dataprep's People

Contributors

aforascu avatar alfresco-build avatar bogdanbocancea avatar caxinte avatar cristinaaxinte avatar cristinaj avatar jphuynh avatar michaelsuzukisagi avatar paulbrodner avatar subaprasanna avatar tpage-alfresco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dataprep's Issues

Logout functionality

Using alfresco api, we would like to logout a user who is logged in to alfresco.

Feature Request: ContentService createDocumentAtPath method

In RM, we would like to be able to create content outside of a site context (e.g. in My Files, Shared Files or straight into the Repository). I don't think this is currently possible in the ContentService as all the createDocument methods require a site id.

createDocument itself uses the siteId to build a path which it passes into session.getObjectByPath. My hope is that a very similar method could be created quite easily that takes an absolute path as a string in the arguments rather than a site id.

Assign a user to a group does not work

UserService addUserToGroup method does not add the user to an existing group.
To reproduce

  1. Create new user.
  2. A user to ALFRESCO_ADMINISTRATORS
    outcome 404

Tidy up exceptions

Remove and tidy up checked exceptions
For example:
userService.userExists
userService.create
siteService.exists
siteService.create
userService.delete
AlfrescoHttpClient.executeRequest

Permissions not inherited for users in a private site

Using dataprep create a private site and add users with roles to site: SiteContributor, SiteCollaborator, SiteManager, Site Consumer. But their permissions won't be inherited ("permissions":{"inherited":false,"roles":[]). User with contributor role will not see in document library the files created by other users.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.