Skip to content

Latest commit

 

History

History
executable file
·
56 lines (39 loc) · 1.37 KB

README.md

File metadata and controls

executable file
·
56 lines (39 loc) · 1.37 KB

GitHub release License

play-teedy plugin

This plugin adds Teedy support to Play! Framework 1 applications.

Features

How to use

Add the dependency to your dependencies.yml file

require:
    - teedy -> teedy 1.2.0

repositories:
    - sismicsNexusRaw:
        type: http
        artifact: "https://nexus.sismics.com/repository/sismics/[module]-[revision].zip"
        contains:
            - teedy -> *

Set configuration parameters

Add the following parameters to application.conf:

# Teedy configuration
# ~~~~~~~~~~~~~~~~~~~~
teedy.mock=false
teedy.api.url=https://teedy.example.com/api
teedy.authToken=12345678

Use the API

DocumentListResponse response = TeedyClient.get().getDocumentservice().listDocument("tag:Imported");

Mock the Teedy server in dev

We recommand to mock Teedy in development mode and test profile.

Use the following configuration parameter:

teedy.mock=true

License

This software is released under the terms of the Apache License, Version 2.0. See LICENSE for more information or see https://opensource.org/licenses/Apache-2.0.