Manage the endpoint infrastructure
Before the arrival of a container-based architecture, the scoring agent was a free-standing entity; now, depending on yourendpoint infrastructure, it may bestandaloneor it may be packaged within aDocker image.
When managing the endpoint infrastructure, recall that configuration occurs at multiple levels, similar to the situation forRapidMiner AI Hub.
The landing page
On RapidMiner AI Hub, there is anEndpoints landing pagefor Web API endpoints.
The scoring agent's REST API
The complete REST API documentation of the Scoring Agent is available as
OpenApi 3.0
specification and is published onSwaggerHub.The platform's environment file
If your scoring agent is containerized, you can configure it via the环境文件fordocker-compose.
See the table of system settings for
Within containers
If your scoring agent is containerized, and you want to modify its files, you must firstget access to the container.
The landing page
Web API endpoints
From thelanding page of RapidMiner AI Hub, selectProjectsand locate theEndpointspage:
Note that this page only displays theWeb API endpointsprovided by RapidMiner AI Hub'sWeb API agents. Regularendpoints, provided by regularscoring agents, are not included in this list.
Within this list, you can takeEndpoint Actions:
as well asDeployment Actions-- note however that when you edit or delete a deployment, your action affectseveryendpoint connected with thatdeployment.
- Edit the deployment
- Redeploy the deployment
- Delete the deployment
If you only wish to edit or delete one specific endpoint, not the whole deployment, you must
- first edit the deployment, then
- edit or delete the endpoint in question.
Editing files within containers: the home directory
When the scoring agent is containerized and you want to make changes, you must first get access to the container.
Find the container runningscoring-agent:
$ docker container ls | grep rapidminer-scoringagent CONTAINER ID IMAGE 63b24f5fb5c9 rapidminer/rapidminer-scoringagent:10.1.3
Enter the running container:
$ docker exec -it
bash Within the container, find the home directory
rapidminer@scoring-agent:/$ ls scoring-agent/home config deployments log pid resources tmp
Edit the file of interest with an available editor, such as
nano
orvim
.Exit the container:
rapidminer@scoring-agent:/$ exit
Restartscoring-agent:
$ docker-compose restart scoring-agent