What is the best way to implement a mobile app that will record the time spent in maintenance? Is the OSLC integration the best way to do this connection?
I have an issue where it is not possible for non-Admin users to trigger the Create state transition through our OSLC interface. Instead, we get the following error:
2017-06-27 13:08:10.301 UTC ERROR [com.tririga.platform.integration.oslc.OslcRequestDispatcherImpl](Default Executor-thread-34280) Failed to read message: null
2017-06-27 13:08:10.301 UTC ERROR [com.tririga.platform.integration.oslc.OslcRequestDispatcherImpl](Default Executor-thread-34280) Exception in OSLC call: com.tririga.platform.integration.oslc.OslcException. message=java.lang.ClassCastException: com.tririga.platform.metadata.domain.BoStateTransitionId incompatible with com.tririga.platform.metadata.domain.gui.GuiStateTransitionMetadata
The fact that I am able to create and associate the record using an Admin user says to me that this is related to permissions, but I’ve made sure that the user has full security access for both the BO/form it is trying to create, the BO/form that it is attaching it to, and all other BOs/forms that are associated to it, and it still gives me the error above.
When I open the created record that my Admin user created, it looks to be correct. But when I open the one that the non-Admin user tried to create, it shows an empty record. None of the fields are saved in a null state, which of course is because it didn’t get created, the Create state transition was not triggered. Any idea of what is causing this issue? And how to resolve it?
[Admin: To see other related posts, use the OSLC tag.]
Is there any way we can specify the sequence of resource attributes to appear in the JSON-formatted Get query output? We are looking for a pre-defined set of ordered resource attributes to appear in the OSLC Get query output.
You should be able to use the oslc.orderBy parameter to define the ordering of results. If you are talking about the default ordering without that parameter, then I think the query definition of the query capability should define the ordering.
We are looking for a way to send web service data including attachments (binary objects). Can an integration object help with that? If not, what else? OSLC or CBA? We need to send requests to web service through digitally signed mail…
The attachment will be generated by BIRT report and stored in binary fields. Then we’ll send it via integration object (web service). The binary field in the output is represented as a DM_CONTENT (Document Manager Content) ID… As I understand it, we can use the keyword “CONTENT” in the data map when using the database scheme, but it doesn’t work for web services. How can this be solved?
Not sure about using the TRIRIGA integration object or Connector for Business Applications (CBA), but it looks like OSLC has an API for this.
I am having an issue with logging out users through an OSLC consumer application.
I am using the native authentication because the customer requires the Base64 encoded string. So when I shut down my consumer application, I call the /logout command and get a 200 response back, but I can still see the session in the Users Manager of the TRIRIGA Admin Console. I think the problem is that the /logout command does not take any parameter, like the session ID, username, login ID, or even the JSESSIONID.
In addition to this, if I am creating 5 sessions for the “system” user to handle processing for the consumer application, then this /logout command would almost have to accept some parameters to allow you to manually logout each session based on a unique ID, like the session ID found in the TRIRIGA Admin Console or the JSESSIONID…
We have defined a OSLC query capability that takes the name in the query parameter, and tries to find the exact match in the system. Everything works okay with the proper encoding in the string, except one scenario where the string identifier carries the special character “%” in it, for example, “XYZ 50%”.
In such cases, with “%” in the string identifier, the TRIRIGA application is responding with results based on the pattern matched against the string identifier, instead of the exact match. From what I understand from encoding HTTP is that it converts “%” to “%25”. So TRIRIGA OSLC uses “%25” for its pattern search. Has anyone encountered such behavior? How do you handle this?
Is it possible to create a document record via OSLC that isn’t associated to an existing record? It seems easy enough to upload a document against a record, but in my case, I want an isolated document record with some content. Any clues?