Giter Site home page Giter Site logo

dropwizard-fileupload-service's Introduction

This is a RESTful service implemented using Dropwizard.

All configurations are mentioned in the file 'fileupload.yml'.

Few things to note:

  1. Make sure the port that are mentioned in the YAML file are free when trying to run the service
  2. Make sure the log file location is present when running the application

To run the application:

  1. Run gradle:installApp task. NOTE: This uses a gradle wrapper to refer to the distribution we need to use. Ensure the distribution URL(mentioned in gradle-wrapper.properties) is not blocked or update it to a appropriate one.
  2. Once the task completes, from the 'build/install/mediamath/bin' folder run the appropriate start script as follows:

'./mediamath server '

Ideally the YAML file would be wrapped up with the distribution.

  1. Once the server starts successfully as indicated from the logs, open a browser and hit: http://localhost:8888/file/uploadFile

Service should be good to go.

  1. To get details of all files uploaded, hit: http://localhost:8888/file/all

Also, please make sure the mavenCentral() location is set for the gradle plugin in use.

dropwizard-fileupload-service's People

Contributors

codologist avatar

Watchers

James Cloos avatar  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.