GithubHelp home page GithubHelp logo

simhaonline / reva Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cs3org/reva

0.0 0.0 0.0 13.54 MB

IOP (Inter Operability Platform)

Home Page: https://reva.link

License: Apache License 2.0

Go 95.60% Makefile 0.17% Gherkin 4.17% PHP 0.06%

reva's Introduction

License GoDoc Gitter chat Build Status Go Report Card codecov FOSSA Status

REVA Logo

REVA is an interoperability platform. It connects storage, sync and share platforms and application providers, and it does it in a vendor and platform neutral way by using the CS3 APIS.

Installation

Head to Documentation for documentation or download to get the latest available release.

Documentation & Support

Read the getting started guide and the other feature guides.

Build and run it yourself

You need to have Go, git and make installed.

$ git clone https://github.com/cs3org/reva
$ cd reva
$ make deps
$ make
$ cd examples/separate
$ ../../cmd/revad/revad -dev-dir .

You can also read the build from sources guide.

Run tests

unit tests / GRPC tests

make test

litmus tests

  1. start the needed services

    cd tests/oc-integration-tests/local
    ../../../cmd/revad/revad -c frontend.toml &
    ../../../cmd/revad/revad -c gateway.toml &
    ../../../cmd/revad/revad -c storage-home.toml &
    ../../../cmd/revad/revad -c storage-oc.toml &
    ../../../cmd/revad/revad -c users.toml
    
  2. run litmus tests:

    docker run --rm --network=host\
        -e LITMUS_URL=http://localhost:20080/remote.php/webdav \
        -e LITMUS_USERNAME=einstein \
        -e LITMUS_PASSWORD=relativity \
        owncloud/litmus:latest
    
    • add TESTS env. variable to test only a subset of tests e.g -e TESTS="basic http copymove props"
    • change LITMUS_URL for other tests e.g. -e LITMUS_URL=http://localhost:20080/remote.php/dav/files/einstein or to a public-share link

ownCloud legacy integration tests

  1. start an LDAP server

    docker run --rm --hostname ldap.my-company.com \
        -e LDAP_TLS_VERIFY_CLIENT=never \
        -e LDAP_DOMAIN=owncloud.com \
        -e LDAP_ORGANISATION=ownCloud \
        -e LDAP_ADMIN_PASSWORD=admin \
        --name docker-slapd \
        -p 127.0.0.1:389:389 \
        -p 636:636 -d osixia/openldap
    
  2. start a REDIS server

    docker run --rm -e REDIS_DATABASES=1 -p 6379:6379 -d webhippie/redis:latest
    
  3. start the needed services

    cd tests/oc-integration-tests/local
    ../../../cmd/revad/revad -c frontend.toml &
    ../../../cmd/revad/revad -c gateway.toml &
    ../../../cmd/revad/revad -c shares.toml &
    ../../../cmd/revad/revad -c storage-home.toml &
    ../../../cmd/revad/revad -c storage-oc.toml &
    ../../../cmd/revad/revad -c storage-publiclink.toml &
    ../../../cmd/revad/revad -c ldap-users.toml
    
  4. clone ownCloud 10 git clone https://github.com/owncloud/core.git ./testrunner

  5. clone the testing app git clone https://github.com/owncloud/testing.git ./testrunner/apps/testing

  6. run the tests

    cd testrunner
    TEST_SERVER_URL='http://localhost:20080' \
    OCIS_REVA_DATA_ROOT='/var/tmp/reva/' \
    SKELETON_DIR='./apps/testing/data/apiSkeleton' \
    TEST_WITH_LDAP='true' \
    REVA_LDAP_HOSTNAME='localhost' \
    TEST_REVA='true' \
    BEHAT_FILTER_TAGS='~@skipOnOcis&&~@skipOnOcis-OC-Storage' \
    make test-acceptance-api
    

    This will run all tests that are relevant to reva.

    To run a single test add BEHAT_FEATURE= and specify the path to the feature file and an optional line number. For example: BEHAT_FEATURE='tests/acceptance/features/apiWebdavUpload1/uploadFile.feature:12'

Daily releases

On every commit on the master branch (including merged Pull Requests) a new release will be created and available at daily releases.

Run it using Docker

See https://hub.docker.com/r/cs3org/reva.

Plugin development

Checkout the Tutorials.

License

To promote free and unrestricted adoption of CS3 APIs and the reference implementation REVA by all EFSS implementations and all platforms and application providers, both community and commercial, Open Source and Open Core, CERN released the source code repositories under Apache 2.0 license.

Further evolution of the CS3 APIs will be driven by the needs of the Educational and Research community with the goal of maximizing the portability of the applications and service extensions.

REVA is distributed under Apache 2.0 license.

Logo

REVA logo's have been designed and contributed to the project by Eamon Maguire.

Disclaimer

There is no backward compatibility promises and semantic versioning yet. Semantic versioning will be added once v1.0.0 is reached.

If you want to use it, vendor it. It is always OK to change things to make things better. The API is not 100% correct in the first commit.

reva's People

Contributors

labkode avatar butonic avatar dependabot-preview[bot] avatar ishank011 avatar phil-davis avatar dependabot[bot] avatar refs avatar c0rby avatar madsi1m avatar daniel-wwu-it avatar lovisalugnegard avatar individual-it avatar glpatcern avatar mohitty avatar iljan avatar unixlab avatar mirekys avatar redblom avatar samualfageme avatar kulmann avatar ffurano avatar kerins avatar dagl avatar tboerger avatar swoichha avatar karakayasemi avatar pferreir avatar kiranparajuli589 avatar jarcz avatar dbergstrom8 avatar

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.