This integration is a web service. It is called via a batch job. Data will be retrieved from Aim, via a web service. The data is in JSON format. The batch job will execute using Spring Batch to retrieve the data, insert or update records in the database, and send an email with a report file attached. The Aim links are in the Batch Properties file on the AEWEB server. The
AIM links
Test URL | https://aimdev.uconn.edu/api/index?key=[API KEY]&method=BLDG_UPDATES&days=7&format=json |
Stage URL | https://aimtest.uconn.edu/api/index?key=[API KEY]&method=BLDG_UPDATES&days=7&format=json |
Prod URL | https://aim.uconn.edu/api/index?key=[API KEY]&method=BLDG_UPDATES&days=7&format=json |
The Aim links are included in the Batch Properties file on the AEWEB server. The days= parameter can be modified to capture data for a longer period of time or for a lesser period of time. It is currently set at 7.
Aim Web Service Documentation
...
Control-M Schedule and Job
UAT | UAT_AEWEB_AIM_SCHEDULE_1 | UAT_AEWEB_FROM_AIM_BUILDING |
PRD | PRD_AEWEB_AIM_SCHEDULE | PRD_AEWEB_FROM_AIM_BUILDING |
The UAT job is manually loaded and run. The production job is scheduled to run every Friday evening. If this job is to be moved, the days= parameter in the batch properties files may need to be adjusted.