GithubHelp home page GithubHelp logo

ccd-annotations's Introduction

CCD Annotations

CCD Annotations API

Building

Dependencies

  • CCD DB v0.6.3
  • CCD OAuth2 v1.3.4

All commands shown use the included Gradle wrapper executable. If you want to run a command with your system's Gradle installation, replace ./gradlew with gradle. This option requires Gradle version 3.1 or greater.

If you are using Windows, there is a Gradle batch script included (gradlew.bat). You may also use your system's Gradle installation following the requirement(s) as stated above.

Build
To build CCD Annotations: ./gradlew clean build.
To update documentation: ./gradlew asciidoctor.

Install
To install CCD Annotations to your your local maven repository: ./gradlew install

Customizing

You may edit the application.properties file in src/main/resources/ to change the server settings and select a database (HSQLDB or MySQL). Additionally, edit the appropriate properties file to change database settings.

Running

To start the server with documentation, ./gradlew start. This is a custom command that is identical to the following: ./gradlew build asciidoctor; java -jar build/libs/ccd-annotations-0.8.0.jar.

Other

To view a list of all available Gradle tasks with descriptions: ./gradlew tasks.

ccd-annotations's People

Contributors

marksilvis avatar kvb2univpitt avatar johnsome avatar yuanzhou avatar

Watchers

Harry Hochheiser avatar Jessi Espino avatar James Cloos avatar Jeremy R. Easton-Marks avatar Michael Tommie McDuffie avatar Xinghua Lu avatar Chirayu (Kong) Wongchokprasitti avatar Alexandros Labrinidis avatar Joseph Ramsey avatar  avatar Nick Nystrom avatar Takis Benos avatar jitskeVs avatar

ccd-annotations's Issues

Remove security

Remove security and replace with Causal-Web's AppUser. Secured endpoints should use Causal-Web's secured/ path.

Annotation error caused by file name

@marksilvis there's a small bug I noticed when testing the annotation service on ccd4. I uploaded a dataset file named "data_%20.txt" and after adding a new annotation, I had to refresh the page to see it being added. And my debugger says a 500 error as well. It must be caused by the file name since there's a percentage sign. I discovered similar issue with Causal Web and @kvb2univpitt has fixed that by encoding the file name in the request and decode it later.

Click the screenshot to view full size version.

capture

Annotation size limit

There should be an error response when an annotation is created that is too large (> 1000 characters).

Add to Causal-Web 2.0

This should be moved to Causal-Web 2.0. Ideally, ccd-annotations will remain a separate dependency, however, this might not be possible due to requiring shiro authentication and Causal-Web's AppUser class for authorization.

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.