This Perl script is a proof of concept for monitoring the deprecation of Genesys Cloud (formerly Purecloud) features. It fetches the RSS feed of Genesys Cloud's feature deprecations and announcements webpage and compares the results to an internal microservice. If the dates are different, the Perl script will execute a PATCH on the microservice with the lastBuildDate from the vendor and include an authorization token.
This script is not production-ready and is provided as-is without any guarantees or warranty. Use at your own risk. The microservice included in this script is unnecessary and was included only as an idea for maintaining versioning in some enterprise operationals portal. Each enterprise to their own.
The script can be automated with crontab.
Genesys Cloud Services, Inc. does not officially advertise their RSS feed. Instead, this is included on behalf of their content management system (CMS) PublishPress. As such, this RSS feed may be unavailable in the future. To accommodate this, additional evaluation procedures should be done to ensure that valid XML is being passed.
One source is none. Two is one. Therefore, checking Genesys Cloud's sitemap for the feature deprecation's last modified time should be done as well. This was excluded from the proof of concept.
This script does not have a method to notify of failure to retrieve vendor's RSS feed. This was excluded from the proof of concept.
- Perl 5.10 or higher
- LWP::UserAgent
- HTTP::Request
- JSON
- XML::Simple
- Log::Log4perl
This script requires the following Perl modules:
$ cpan LWP::UserAgent HTTP::Request JSON XML::Simple Log::Log4perl
Make sure you have these modules installed before running the script:
$ perl genesys-deprecations-monitor.pl
This script is a proof of concept and should not be used in production environments and was instead a quick mock-up explaining how this could be done. This is provided as-is without any guarantees or warranty. Use at your own risk.