Sign In   Register
  Tuesday, 30 October 2018
  4 Replies
  221 Visits
0
Votes
Undo
  Subscribe

Hey, I am using TM 5.1.10 and am writing a Fluent service in which I want to be able to add/update/delete service parameters, but I can't seem to find a method in the fluent api that does this.

Is this possible?

Alternatively I was going to call a non-fluent service to do the updating but I get an error when trying to use a ServiceInvoker because it says the service is not a fluent service. So is there any way to call a regular groovy service from a fluent service?

EDIT: Okay, there is a GroovyServiceInvoker class that I missed for the second question

0
Votes
Undo

Hi Chris, sorry for the late reply, was having trouble logging on.

Trevor's answer was along the lines of what I was doing but I had already edited my post to show I found that class.

3 years ago
·
#13543
0
Votes
Undo

Hi , were either of Julio or Trevor's answers helpful for you?

0
Votes
Undo

Hi Patrick,

I am uncertain how to do this via current Fluent, I believe I have seen it done, but can't find the source.

If you have to call a Groovy Service you can do it through "GroovyServiceInvoker", but note:

"Please note Fluent Service can only invoke Dynamic Groovy Services if the install time Groovy Secure API restriction is not enforced."

The Groovy option is also being depreciated, so should be used with caution on new development. 

Trevor

Hi Patrick,

Not sure if I understood properly what you are trying to achieve but:

With the REST APi there's a method:

https://<tm server>/manager/secure/rest/service-definitions/v1/<service ID>/serviceParameters/<service parameter ID>

Example:

PUT https://transact.maguire.com/manager/secure/rest/service-definitions/v1/215/serviceParameters/953

In your class I believe you can use:

ServDef adding the parameters needed to call the other service, but if you are trying to persist a value in exinting parameters... I didn't find anything in fluent yet... Only for Srvconn

Let me know if it's helpful.

Cheers,

Julio.

  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!

Q&A Forum - Tips

The purpose of the Temenos Journey Manager platform (TJM) Q&A forum is for all clients and partners to seek help...

Read More

Not a member?

Register to ask a question and access to more content.

Join now

Looking for something else?

You can request access to:

  • Courses
  • Full Release Notes
  • Product Downloads
  • SDK

Request access

Leader Board

1
Mark Murray
User's Points: 1376
2
Lin Vanoevelen
User's Points: 1046
3
Julio Berrueco Pinto
User's Points: 715
4
Matthew White
User's Points: 398
5
Chad Thomas
User's Points: 300