Skip to content

Intersystems IRIS interoperability custom upload adapter

License

Notifications You must be signed in to change notification settings

yurimarx/upload-adapter

Repository files navigation

InterSystems IRIS Interoperability Upload Service

This is an InterSystems IRIS Interoperability Upload Service to send files to the server using a multipart request from form or http request.

What The the service does

This application receive a http multipart request with a file and saves to disk

Prerequisites

Make sure you have git and Docker desktop installed.

Installation: ZPM

Open IRIS Namespace with Interoperability Enabled. Open Terminal and call: USER>zpm "install upload-service"

Installation: Docker

Clone/git pull the repo into any local directory

$ git clone https://github.com/yurimarx/upload-adapter.git

Open the terminal in this directory and run:

$ docker-compose build
  1. Run the IRIS container with your project:
$ docker-compose up -d

How to Run the Sample

  1. Open the production

  2. Set host destination folder to the uploaded files. See:

folder

  1. Start the production.

  2. Now Open Postman or create a multipart request into a form pointing to localhost:9980/ using POST with a form-data file attribute. See sample:

postman

About

Intersystems IRIS interoperability custom upload adapter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published