Django-Interop

Downloads12
Subscribe
0
Bookmark
0
This application is not supported by InterSystems Corporation. Please be notified that you use it at your own responsibility.
Details
Releases
Reviews
Issues

What's new in this version

Initial Release - foundation for Django vs Iris interoperability

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
Rating
3 (1)
Category
Technology Example
Works with
InterSystems IRIS
Tags
Info
Version
1.0.0
Last updated
2022-02-26
Repository
Open
Documentation
Open
License
Link