[#12536] - User / Server attributes in JRS for dynamic dataource giving error

Category:
Bug report
Priority:
High
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
N/A
Assigned to:
0

Hi,

I followed the Admin guide and tested with a new user on JRS 6.4.0 and JRS 7.5.0.

I tried with the attributes at the user level or server level, both reacts the same with the error below : " 'host' attribute not defined at User/Server profile".
ERROR ProfileAttributesResolverImpl,http-apr-8080-exec-12:307 - Erreur de substitution dans la ressource /datasources/JDBC_PGDH, champ 'url'. Attribut 'host' non défini dans le Server Profile.

Here is how the URL looks like : jdbc:postgresql://{attribute('host','Server')}:{attribute('port','Server')}/{attribute('db','Server')}

I attach 2 screenshots of the user attributes and the data source when I tried to use server attributes.

I need to connect to a different schema depending on the user connected but id doesn't seem to be functional.

Thanks beforehand,

Yann

AttachmentSize
Image icon user_attribute.png17.61 KB
v7.5
Yann22300's picture
Joined: Apr 29 2015 - 1:10am
Last seen: 1 month 4 days ago

1 Comment:

#1
AttachmentSize
Image icon attribute.png33.79 KB
Feedback