web stats
LDAP inbound connector - Mirth Community

Go Back   Mirth Community > Open Source HIT > General Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 08-27-2008, 06:33 AM
swafflart swafflart is offline
What's HL7?
 
Join Date: May 2008
Posts: 1
swafflart
Default LDAP inbound connector

is it plan to develop inbound connector for LDAP as ldap reader (database reader like)?
Reply With Quote
  #2  
Old 10-14-2008, 07:08 AM
Antaris Antaris is offline
OBX.1 Kenobi
 
Join Date: Oct 2006
Posts: 50
Antaris
Default Re:LDAP inbound connector

Hi !

I'm agree with you ! It could be VERY VERY useful !
AND We all also know that the Mirth Project is VERY VERY busy BUT it could be really great expanding possibilities of Mirth !
In this case implementation of LDAP over ssl could be a great add too ! :-D
Put it in the Jira as a functionnality request guy !
Thx

Antaris
Reply With Quote
  #3  
Old 10-14-2008, 07:42 AM
quimicefa quimicefa is offline
Mirth Guru
 
Join Date: Dec 2007
Location: Barcelona
Posts: 235
quimicefa is on a distinguished road
Default Re:LDAP inbound connector

What kind of scenarios would need this LDAP reader ? I just can't figure it out!
Reply With Quote
  #4  
Old 10-16-2008, 02:53 AM
albertosaez albertosaez is offline
 
Join Date: Sep 2006
Location: Valladolid, Spain
Posts: 842
albertosaez is an unknown quantity at this point
Default Re:LDAP inbound connector

I think it woulb be more useful the inclusion of an API to manage LDAP queries, than an LDAP channel.
Reply With Quote
  #5  
Old 10-16-2008, 05:33 AM
jbartels jbartels is offline
Mirth Guru
 
Join Date: Oct 2006
Posts: 726
jbartels is on a distinguished road
Default Re:LDAP inbound connector

quimicefa wrote:
Quote:
What kind of scenarios would need this LDAP reader ? I just can't figure it out!
Contact information for physicians and staff. Thats very likely to be in LDAP, but may not be in every message or medical system.
__________________
Jon Bartels

Zen is hiring!!!!
http://consultzen.com/careers/
Talented healthcare IT professionals wanted. Engineers to sales to management.
Good benefits, great working environment, genuinely interesting work.
Reply With Quote
  #6  
Old 10-17-2008, 11:03 AM
jacobb jacobb is offline
Mirth Employee
 
Join Date: Aug 2006
Location: Irvine, CA
Posts: 1,218
jacobb is an unknown quantity at this point
Default Re:LDAP inbound connector

This would make more sense as a Transformer step type or some JavaScript code templates, since I don't see a use for polling LDAP to get messages. As jbartels said, you would likely be looking up things for certain messages, but it wouldn't be the message source.
__________________
Jacob Brauer
Director, Software Development
NextGen Healthcare

Reply With Quote
  #7  
Old 10-17-2008, 11:24 AM
jbartels jbartels is offline
Mirth Guru
 
Join Date: Oct 2006
Posts: 726
jbartels is on a distinguished road
Default Re:LDAP inbound connector

So the first step for swafflart and Antaris would be to load up a Java LDAP client in a javascript step. Get it working there to meet your needs, then post your channels and see if theres enough demand to make the request for it in 1.8.x or 1.9.
__________________
Jon Bartels

Zen is hiring!!!!
http://consultzen.com/careers/
Talented healthcare IT professionals wanted. Engineers to sales to management.
Good benefits, great working environment, genuinely interesting work.
Reply With Quote
  #8  
Old 10-28-2008, 06:25 AM
Antaris Antaris is offline
OBX.1 Kenobi
 
Join Date: Oct 2006
Posts: 50
Antaris
Default Re:LDAP inbound connector

Yes jbartels i agree with you, but my questions are :
What example of client could be compatible with Mirth (give me the jar / project)
I unsuccessfully tried to expand capabilities of Mirth and combining it for IHE profiles by using some jar files ... but :
Where to place this jar files in the Mirth directory ?
=> Ok have to place it in the Mirth/lib/custom/MyBeautyfulCustomJarFile.jar ?

How to force Mirth using this jar ? :-) (Is there some guide available ?)
Maybe by modifying the /Mirth/conf/custom/dbdrivers.xml Am i on the wrong way ? :-D
Is it automatically recognized ? ...

Does anybody have a example of project for this Java LDAP Client API ?
Maybe ? ... http://www.openldap.org/jldap/

And after that how to call and "play" with it inside our Filters/Transformers ?
Code:
var object = Packages.[fully-qualified name];

Code:
var MyLdapClient = Packages.MyBeautyfulLdapClientJarFile;
.... ? :whistle:
Like here ? http://www.mirthproject.org/index.ph...5&catid=5#6455


Please jbartels Drive me on this task ! LOL Help ! I need somebody help ! ... ;-)

Thx

Antaris
(Mirth 1.6.1 build 2750)

Post edited by: Antaris, at: 10/28/2008 06:59
Reply With Quote
  #9  
Old 10-28-2008, 09:54 AM
jbartels jbartels is offline
Mirth Guru
 
Join Date: Oct 2006
Posts: 726
jbartels is on a distinguished road
Default Re:LDAP inbound connector

A simple example of how to use a JAR from Javascript in Mirth that works: http://www.mirthproject.org/index.ph...0&limitstart=0
__________________
Jon Bartels

Zen is hiring!!!!
http://consultzen.com/careers/
Talented healthcare IT professionals wanted. Engineers to sales to management.
Good benefits, great working environment, genuinely interesting work.
Reply With Quote
  #10  
Old 10-28-2008, 10:09 AM
quimicefa quimicefa is offline
Mirth Guru
 
Join Date: Dec 2007
Location: Barcelona
Posts: 235
quimicefa is on a distinguished road
Default Re:LDAP inbound connector

I've packed this dummy code into a jar file:

Code:
package org.azufre.test;

public class JarTest {

	public JarTest() {
		System.out.println("hello world");
	}
	
	public void Repeat() {
		System.out.println("I said: hello world");
	}

}
And, in a channel, into a JS Writer:

Code:
var ud = new Packages.org.azufre.test.JarTest();
ud.Repeat();
Note that you must specify the fully qualified name of the class, not the jar filename!

That results in the following lines in the logs:
Quote:
INFO | jvm 1 | 2008/10/28 17:34:31 | hello world
INFO | jvm 1 | 2008/10/28 17:34:31 | I said: hello world
INFO | jvm 1 | 2008/10/28 17:34:36 | hello world
INFO | jvm 1 | 2008/10/28 17:34:36 | I said: hello world
So, it seems to be easy to have a jar file with some custom made classes and call them from a channel!

BTW, I put the jar file in the lib/custom folder.

Hope that helps!!

Post edited by: quimicefa, at: 10/28/2008 10:12
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inbound Lab HL7 repeated segments srinivasay Support 7 04-07-2011 04:42 AM
Inbound Message Template XML-HL7 mbarroso Support 5 03-29-2011 07:48 AM
Inbound as xml but no header in raw peisima Support 4 11-26-2008 10:40 AM
inbound hl7 transformed to my XML schema caultonpos Support 3 04-20-2007 01:00 PM
Can't process inbound messages coffde Support 4 12-27-2006 06:06 PM


All times are GMT -8. The time now is 09:53 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation