-
Notifications
You must be signed in to change notification settings - Fork 3
pic sure api resources
Bria Morgan edited this page Aug 16, 2018
·
2 revisions
This module contains a submodule for every resource PICSURE-2.0 knows how to communicate with. The submodule pic-sure-resource-api
contains the data objects, some utility classes, the ResourceWebClient, and the IResourceRS interface.
This class is called by the Picsure services. It is an intermediary between the service layer and the resource services, so that RSs do not need to be installed in the same system. Any endpoints on any system that can handle Picsure requests can be called by the ResourceWebClient. Each method sends the request body to the URL sent to it and returns the response in a form recognized by Picsure.
Any Resource Service that is to be used by Picsure needs to implement the IResourceRS interface.