You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following two files may be helpful in understanding how to go about generating a GUI from the FileThis "complex" question data, and in constructing an answer string from what the user enters:
These are taken from the FileThis Flex web client. Both files define classes that mediate between passive presentation views and data models.
The first manages a user dialog view whose content will contain one of several view/mediator pairs, depending on the type of question that has been posed. See the onRegister method of the QuestionDialogMediator class.
FileThis uses a service called Terracotta for session management and as a cluster-wide lock manager to protect certain resources that can be shared by multiple processes and hosts. Terracotta is built for high availability environments and can easily handle the kind of loads that we put on it. To get the benefit of its architecture, however, there must be two or more instances in its server pool, and we currently have only one. We plan to provision, configure, and test a second one before completing our contract.
When the kind property of Question resources has the value complex, the question property of the resource will have a JSON value that describes how the question parts must be posed to the user. This document defines the schema of those values and also the schema of the expected answer to the questions parts.
FileThis provides a notification system which allows clients to receive notifications when the resources exposed in our API change state (eg. accounts, connections, etc).
Each subscription to the notification system specifies a resource pattern that closely matches the REST paths used by the FileThis Resource API.
When a subscriber responds successfully to a notification request, the set of resource change notifications in the request will all be removed from the FileThis notification queue. If the client does not respond, or responds with a failure code, FileThis will try again to deliver the notifications, with an exponential-backoff to increase the interval of time between attempts.