Skip to content

A plugin for ManyWho that allows integration of flows with Box

License

Notifications You must be signed in to change notification settings

josecollazzi/service-box

 
 

Repository files navigation

ManyWho Box Service

This service is currently in development, and not yet recommended for use in production environments

Build Status

This service allows you to integrate your Flows with Box.

Java Cryptography Extension (JCE) Unlimited Strength

Running

The service is compatible with Heroku, and can be deployed by clicking the button below:

Deploy to Heroku

To build the service, you will need to have Apache Ant, Maven 3 and a Java 8 implementation installed, OpenJDK or Oracle JDK with Java Cryptography Extension (JCE) Unlimited

You will need to generate a configuration file for the service by running the provided build.xml script with Ant, and passing in a valid URL to a Redis instance:

To keep the attached files during the flow this service use aws s3.

$ ant -Dsecure.privateKeyLocation=xxx \
-Dsecure.privateKeyPassword=xxx \
-Doauth2.contentApi.clientId=xxx \
-Doauth2.contentApi.clientSecret=xxx \
-Doauth2.developerEdition.clientId=xxx \
-Doauth2.developerEdition.clientSecret=xxx \
-Dwebhook.signature.primary.key=xxx \
-Dwebhook.signature.secondary.key=xxx \
-Dassignment.flowId=xxx \
-Dassignment.flowVersionId=xxx \
-Dassignment.tenantId=xxx \
-Dredis.url=xxx \

Now you can build the runnable shaded JAR

Defaults

Running the following command will start the service listening on 0.0.0.0:8080/api/box/3:

$ java -jar target/demo-1.0-SNAPSHOT.jar
Custom Port

You can specify a custom port to run the service on by passing the server.port property when running the JAR. The following command will start the service listening on port 9090 (0.0.0.0:9090/api/box/3):

$ java -Dserver.port=9090 -jar target/demo-1.0-SNAPSHOT.jar

Contributing

Contribution are welcome to the project - whether they are feature requests, improvements or bug fixes! Refer to CONTRIBUTING.md for our contribution requirements.

License

This service is released under the MIT License.

About

A plugin for ManyWho that allows integration of flows with Box

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%