Answered step by step
Verified Expert Solution
Question
1 Approved Answer
- libjacksonz-core-java ; - libjacksonz-databind-java ; - libmysql-java. Example For the following table rules You are given an API endpoint that shows the status of
- libjacksonz-core-java ; - libjacksonz-databind-java ; - libmysql-java. Example For the following table rules You are given an API endpoint that shows the status of a remote device. Make a GET request to receive a JSON-formatted response containing the name and the status of the device in the following format: \{ "devicename": "mydevice", "devicestatus": "mystatus" You are also given a table rules in a MySQL database that contains records, where each one has a devicename, devicestatus and action . the necessary action based on the device name and status received from the API call. Output ambiguous if there are multiple records found forme the device name and status, and unknown if there are no records found - API credentials - API endpoint for the GET request - Database credentials - Host: - Username: test - Password: empty (no password) - Database name: Note: if using Java to solve, the following libraries are available to import for JSON parsing: - libjacksonz-core-java ; - libjacksonz-databind-java ; - libmysql-java. Example For the following table rules You are given an API endpoint that shows the status of a remote device. Make a GET request to receive a JSON-formatted response containing the name and the status of the device in the following format: \{ "devicename": "mydevice", "devicestatus": "mystatus" You are also given a table rules in a MySQL database that contains records, where each one has a devicename, devicestatus and action . the necessary action based on the device name and status received from the API call. Output ambiguous if there are multiple records found forme the device name and status, and unknown if there are no records found - API credentials - API endpoint for the GET request - Database credentials - Host: - Username: test - Password: empty (no password) - Database name: Note: if using Java to solve, the following libraries are available to import for JSON parsing
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started