diff options
author | Magdalena GrodziĆska <mag.grodzinska@gmail.com> | 2019-12-25 16:08:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-25 16:08:05 +0100 |
commit | a4c5b93eca9966f3816ebc3e82d5ef344768a1cb (patch) | |
tree | 1db8718f5e53d981249e34a9c97a4cdef26350c1 /src/main/java/pl | |
parent | 08bd4342ae7ac18b21843a1c61c0023455d94d65 (diff) | |
parent | f51288ab6ac7b968be99a19784cd9c8de068f18c (diff) |
Merge pull request #72 from m-chrzan/client_tests
Client tests
Diffstat (limited to 'src/main/java/pl')
-rw-r--r-- | src/main/java/pl/edu/mimuw/cloudatlas/client/ClientController.java | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/client/ClientController.java b/src/main/java/pl/edu/mimuw/cloudatlas/client/ClientController.java index db9c09f..120d80d 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/client/ClientController.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/client/ClientController.java @@ -13,16 +13,21 @@ import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; import java.util.*; -/* -should enable reading attribute values stored by the agent -installing and -uninstalling queries, and -setting fallback contacts. - -Apart from providing forms for queries and fallback contacts, -and presenting the information fetched from the agent in a textual form (with automatic refreshment), -plotting the attributes with numeric values as real-time graphs. -*/ +/** + * APIs + * / + * /query - displays query submission form + * /installQuery - posts query installation data + * /uninstallQuery - posts query uninstallation data + * /contacts - GET - displays contacts submission form + * /contacts - POST - posts contacts installation data + * /attribs - GET - displays attribute submission form + * /attribs - POST - posts attribute submission data + * /values - GET - displays attributes values + * /values - POST - posts zone change data + * /attribNumValues - REST API to get numerical attribute values + * /attribAllValues - REST API to get all attribute values + */ @Controller public class ClientController { |