sismics / play-youtrack

This plugin adds YouTrack API support to Play! Framework 1 applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub release License

play-youtrack plugin

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

Features

How to use

Add the dependency to your dependencies.yml file

require:
    - youtrack -> youtrack 1.2.0

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

Set configuration parameters

Add the following parameters to application.conf:

# Youtrack configuration
# ~~~~~~~~~~~~~~~~~~~~
youTrack.mock=false
youTrack.url=https://youtrack.example.com
youTrack.token=perm:12345678

Use the API

YouTrackClient.get().getUserService().createUser("test", "test@example.com", "Full Name", "12345678")

Mock the Youtrack server in dev

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

Use the following configuration parameter:

youtrack.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.

About

This plugin adds YouTrack API support to Play! Framework 1 applications.

License:Apache License 2.0


Languages

Language:Java 89.9%Language:Python 10.1%