🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Define Radoop Connection through Macro

User: "Jugi"
New Altair Community Member
Updated by Jocelyn

Hi,

the Radoop Nest Connection Selector is a dropdown list that is not editable.

I would like to insert the connection string through a macro to easily switch between different Clusters for development and deployment.

Is that somehow possible?

Best regards

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "phellinger"
    New Altair Community Member

    Hi Jugi,

     

    this is an interesting question.

     

    Although, it is not as convenient as if the connection parameter were editable, but you can achieve your goal by directly setting the parameter value in the XML that describes the process. You can add the XML panel to the Studio interface via View -> Show Panel -> XML. In the process XML, look for the connection parameter of the radoop:radoop_nest operator (see attached screenshot). Replace the value with the macro. During process execution, the connection parameter value will be the one that the macro defines. 

     

    Be careful though that clicking on the dropdown arrow of the connection parameter will immediately reset the parameter value, so then you must go back to the XML panel to fix it. Another thing to keep in mind is that metadata validation during process design time already uses the connection (so you can see attributes, etc. on different ports), so if the macro value changes, it may be impossible to figure out that during process design time, so the metadata may come from another cluster. But the process execution should work as expected.

     

    Screen Shot 2016-11-04 at 13.17.53.png

     

    Best,

    Peter