Skip to content

IBM/Domino-to-Cloudant-HTTP-Requests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lotus Notes/Domino V9 to Cloudant (Bluemix) HTTP Requests

This open source utility describes the solution to send HTTP GET and PUT requests from IBM Notes/Domino to Cloudant db. This will be useful for teams who are planning to re-write their Lotus Notes applications to modern technology (NodeJs, Angular etc) and deploy in Bluemix.
Explore the docs »

Scope · Report Bug · Request Feature

Table of Contents

About The Project

IBM introduced CORS supports for Domino REST API in Domino V10. Domino versions prior to V10 (V9.0.1 and above) don't have CORS support and we can not send Cross-Origin REST requests from Domino v9.0 (Not in easy way at least). So it becomes very challenging to interact with Cloudant from Lotus Notes applications. You may have a need to get data from Cloudant and store it in Lotus Notes database, but without CORS support sending a REST request is very difficult.

This solution has a Java Agent that you can run from your Lotus Notes application. This agent can send HTTP GET and PUT requests to Cloudant, get JSON response and then create document in your Lotus Notes database. You can modify this agent to send UPDATE and DELETE requests as well. Included "java-json" jar file is used to convert JSON to Java Object and vice versa.

Built With

  • Lotus Notes V9.0.1
  • Lotus Notes Java Agent
  • Cloudant

Getting Started

To get a local copy up and running follow these simple steps.

Instruction and Usage

Please refer to the Documentation. This documentation explains in detail how you can setup your domino environment, jar files, Java Agent and how you can run the agent. This also has the Java Agent code.

As Java Agents can only be created and run from Lotus Notes, I have attached the code sample in the documentation.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This code pattern is licensed under the Apache Software License, Version 2. Separate third party code objects invoked within this code pattern are licensed by their respective providers pursuant to their own separate licenses. Contributions are subject to the Developer Certificate of Origin, Version 1.1 (DCO) and the Apache Software License, Version 2.

Apache Software License (ASL) FAQ

Contact

Kirti Jha - kirtijha@in.ibm.com

Project Link: https://github.com/IBM/Domino-to-Cloudant-HTTP-Requests

About

This utility can be used to send HTTP requests from Domino V9 to Cloudant (Bluemix)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published