Hi, I am attempting to write a DACS integration for a middleware product. The middleware product itself does not directly interact with the subscription infrastructure and has no way to get at the DACS locks for particular instruments.
What I am attempting to do is to collect the User's PE list upon login to our middleware product and then use that to permission data that is plumbed through the system to end users. I have two problems:
1) I need to look up the DACS loc to get the PE List and condition for a particular Instrument (say AAPL.O). I have access to the set of subscribed instrument names for this particular part. While I have looked at the examples in the java library, I can only find ways to map PE's to known subservices (say NYS), not a particular instrument. Again, I am _not_ performing subscriptions and do not have another way to get access to the DACS lock for the instrument.
~~2) I have been unable to get getPEList() to return anything other than an empty list for any user, even using the example java programs. I have gone through the DACS API to ensure that there are, indeed, permissions enabled for the user I am using to test with, log-in is working and if I just happen to know a PE for something (CSCO.O. PE 74 (NAS1)) I can get a permission allowed response from the example with a properly configured UI, and if I revoke the permissions in the UI can see that change to a permission denied for the same user.~~
My questions are the following:
1) How do I get the PE List + Condition for a particular instrument . (DACSLock) given only the instrument name.
~~2) What needs to be done to get a non-empty PE list?~~ . I have figured this one out, My permissions from the UI were missing an item.
I am more than happy to provide code snippets from my integration efforts to illustrate what I have tried.