Question-Reading component properties from dynamic list js

Question-Reading component properties from dynamic list js

0 Votes

Brief Description:
Question-Reading component properties from dynamic list js
Benefits / Value:
We got a querry regarding the use of JavaScript vs JSP for dynamic lists in CSA.
While I know its maybe not a pure support querry,in case some of you has tested different scenarios, any inputs would be appreciated.
We are preparing migration to js instead of jsp for dynamic lists.

In past we using CSAIntegrationDelegate to work with csa api to retrieve properties from components for jsp
Example:
<%@page import="com.hp.csa.web.util.CSAIntegrationDelegate"%>

CSAIntegrationDelegate.executeCSAREST("csa/rest/artifact/"+SVC_INSTANCE_ID+"?userIdentifier=90d96588360da0c701360da0f1d600a1")

Which allowed us pretty secure way to address csa api from jsp.
However for js there are only certain classes allowed and none of them offers functionality of CSAIntegrationDelegate class.

Can you please advise what is recommended way to access csa.api from js.

Preferred solution should fit following requirements:
1) No csa host/hosts entering to scripts / additional configs (similar to our previous solution).
2) No credentials in script if possible.

We use the current solution for js is using HTTPClient.call class but that does violate both of requirements.

If there is no solution available, it is possible to get CSAIntegrationDelegate to /rhino/extensions/ similar to CSAIntegrationHelper.class?

We have researched the subject, it seems that's the way JS works, so we are not sure we have alternative to the HttpURLConnection class in java
 

Design details:
Explain how would you like this idea designed / implemented

Tags (3)
1 Comment
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
Status changed to: Waiting for Votes
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.