In this article we will learn how to install and use OIC connectivity agent on our local windows machine.
· Login to OIC integration Instance
· Click on “Integrations” as shown in
below screenshot
· Click on “Agents”
· Now click on “Create Agent Group”
· Provide details for Agent group
· Now we need to download the
connectivity agent. To download click on “Download” and then “Connectivity
Agent”. It will download a zip file with name “oic_conn_agent_installer.zip”
We need to edit only below fields.
oic_URL=
https://hostname:sslPort
Example- https://xxTest-xxxxxxx-ia.integration.ocp.oraclecloud.com:443
agent_GROUP_IDENTIFIER=XXTEST_AGENT
oic_USER=OIC_username
oic_PASSWORD=Password
Note:-
Username and password are needed only
for the first time when we are starting/installing agent.
It would also be needed when there is
a network problem and we need to restart the agent. At this time the user which
we will be using its password should not be expired.
If username and password not entered
in file then it will prompt us to enter at runtime when we start/install the
agent.
- Change the directory to where the agent installer file resides.
· To check enter “javac” in command prompt. If JAVA_HOME is set, then it would give list of possible options.
Enter
the command as:
java
-jar connectivityagent.jar
Monitoring->Integrations->Agents
- The agent should be in Green colour in Agent Monitoring page and should show status as “Available” and “Active”.
-------------Creating connection using the Agent---------
Create a connection to file adapter
- Select the “File Adapter” from the adapter list.
Create
an Integration using file adaper as trigger to poll for new file
· In the homepage click on Integrations->Integrations
- Click on “Create” button
· Add Tracking Var for integration, then the highlighted error would go away.
· Activate the integration with payload.
·
· · The integration should poll the folder in every 60 seconds and should get triggered when a new file is placed in the folder. In the OIC homepage click on Monitoring->Integrations->Tracking
· The file “test_polling.txt” should come as the primary tracking var.
· We can see the activity stream as well
No comments:
Post a Comment