You are viewing the RapidMiner Hub documentation for version 9.9 -Check here for latest version
Usage and injection
In RapidMiner AI Hub there are two ways to list all connections which are accessible by the currently logged in user.
The first approach is to click on the menu itemRepositoryand then on连接in the web interface. All available connections are then shown in a list which also contains additional information if there are parameters where the currently logged in user has to set values in order to use the connection within a process.
The second approach is to use the default repository web view by clicking onBrowse Repositoryand then navigating to the folder pre-defined/Connections
folder which contains all the connections RapidMiner AI Hub has stored.
The following image shows the first approach's overview page and contains the example connection we've created in thecreating connectionarticle.
When clicking on the location or the connection name, you will be redirected to the connections details page.
The details page of a connection shows is a tabbed view of all information stored within a connection. Additionally you canset injected values准备connection to be run by you. This is outlined in the following section.
Inject user-specific parameter values during process execution
Values of parameters which are set toinjectedin a connection are retrieved by thesourcewhich has been selected in RapidMiner Studio. This section will outline RapidMiner AI Hub as source for these injected user-specific values.
As long as no values are set for the user which browses the details page of a connection, a warning will be displayed that not all values have been set. To be able to run a process which uses this connection the currently logged in user needs to set their values for all injected parameters of the browsed connection.
Following our example from thecreationsection, we have to sethost
in thedb_config
选项卡,user
andpassword
in thecredentials
tab by clicking on theset injected valuesbutton in the connections details page on RapidMiner AI Hub.
When all required values are set aTest connectionbutton is displayed. It can be used to test if a connection can be successfully established with the injected values from RapidMiner AI Hub.
When the connection has been prepared successfully by setting required injected parameter values, the connection can be used in process execution issued by the user. To use it, simply drag the connection from the repository view in RapidMiner Studio into the process editor panel. This will insert the connection into the current process with the help of the检索operator. You can alsoshare your used connection by setting appropriate permissions.