jgagnon
Active Member
I have managed to achieve a fair amount of success in setting up the following:
So, there's the problem: I need to be able to pass information to the Java program, which is then passed along in the REST call to the orchestration. I'm not seeing a way to do it. I'm asking the community if they know if there is a way to do this.
Here is the information that I need to be able to obtain:
I'm so close on this, and yet so far away, because I cannot figure out how to do this last piece.
- Creating a Java-based web application (using Spring Boot and Vaadin) that displays a GUI to receive user input. When the GUI is "submitted" it makes a REST call to an E1 orchestration that receives the input data and executes actions that result in changes in E1. Why am I doing this? Because there appears to be no way to prompt the user for input data that is not available from an E1 application.
- Making the Java application available in an E1 CAFE1 "pane" associated with an E1 application. CAFE1 allows for displaying an E1 application or specifying a URL. When the Java program is run, it is available as a web application accessible via a URL.
So, there's the problem: I need to be able to pass information to the Java program, which is then passed along in the REST call to the orchestration. I'm not seeing a way to do it. I'm asking the community if they know if there is a way to do this.
Here is the information that I need to be able to obtain:
- The AIS server address and port. E.g. http://server
ort. This is part of the REST call URL.
- The orchestrator REST path. E.g. /jderest/orchestrator. This is part of the REST call URL.
- The orchestration name. This is part of the REST call URL.
- The JDE user role. E.g. *ALL. The AIS server expects this in the REST request.
- The JDE environment. E.g. JPD920. The AIS server expects this in the REST request.
- The user name and password for JDE user authentication. This is also expected in the REST request.
I'm so close on this, and yet so far away, because I cannot figure out how to do this last piece.