Giter Club home page Giter Club logo

django-interop's Introduction

Django-Interop

This docker-compose project is a playful attempt to develop useful tools to interoperate Django and InterSystems Iris in a bi-directional way.

Prerequisites

Installation

Clone/git pull the repo into any local directory

git clone https://github.com/FernandoVianaMaia/Django-Interop.git && cd Django-Interop

Build the images with docker compose:

docker-compose build

Run the services (IRIS, Django and Postgres):

docker-compose up

Intended requirements

Requirement Description
ORM Django list users Operation to list current users.
Workflow IRIS x Admin Send a request from IRIS Interoperability to Django, then Send the response from Django to IRIS when the request is approved
Management Command Pending -Config a service in IRIS to run a Django management command at some schedule.

Credentials

  • IRIS - User _SYSTEM, Password SYS
  • Django Admin - User django_admin, Password 12345
  • Default credential values are available in the .env file.

How to Test it

  1. Go to Interoperability portal http://localhost:54773/csp/djint/EnsPortal.ProductionConfig.zen, select the request_service_approval component and submit a test request.
  1. Open Django Admin http://localhost:8000/admin/service/serviceauthorization/, select the checkbox corresponding to your approval request, then select the action Approve request - send the response to IRIS and click go.
  2. Go back to IRIS interoperability and check the response in the Visual Trace page http://localhost:54773/csp/djint/EnsPortal.MessageViewer.zen?SOURCEORTARGET=request_service_approval

django-interop's People

Contributors

fernandovianamaia avatar

Watchers

 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.