Commit graph

682 commits

Author SHA1 Message Date
Alex Tselegidis
a0680db34d Added issue #24 to changelog. 2016-07-10 15:35:33 +02:00
Alex Tselegidis
0bd1da56e1 Implemented providers API resource controller and parser. 2016-07-10 14:17:29 +02:00
Alex Tselegidis
ccf92fe784 Added ticket to changelog for upcoming release. 2016-07-10 14:14:05 +02:00
Alex Tselegidis
bc6e6df8d8 Added state property to provider.json fixture. 2016-07-10 14:01:57 +02:00
Alex Tselegidis
f3df54fd1a The minimize processor will trim the whitespaces from the 'fields' parameter value. 2016-07-10 14:01:25 +02:00
Alex Tselegidis
b56c3495f9 Updated delete messages in other API controllers. 2016-07-10 13:24:05 +02:00
Alex Tselegidis
d8c5eae39f Implemented the services API resource controller. 2016-07-10 13:23:04 +02:00
Alex Tselegidis
17e74d80eb The search processor must check for occurences inside strings and not for a complete match. 2016-07-10 13:16:52 +02:00
Alex Tselegidis
6f25d3af17 The processors should not work if the response is empty. 2016-07-10 13:15:14 +02:00
Alex Tselegidis
97e1b670ed Removed unnecessary docblocks. 2016-07-10 13:05:54 +02:00
Alex Tselegidis
0a8e70f2ec Updated appointments API resource controller with the newest helper methods. 2016-07-10 13:00:42 +02:00
Alex Tselegidis
c39c7c3df2 Implemented customers API resource controller. 2016-07-10 13:00:07 +02:00
Alex Tselegidis
ba4aa48e47 Added new method for returning common 404 exceptions. 2016-07-10 12:59:04 +02:00
Alex Tselegidis
f999716969 Modified the customer.json fixture. 2016-07-10 12:58:33 +02:00
Alex Tselegidis
5f142b0c74 Created customers parser class. 2016-07-10 12:52:21 +02:00
Alex Tselegidis
e75f3e2e83 Corrected pagination processor results. 2016-07-10 12:51:37 +02:00
Alex Tselegidis
eed53d44cd Changed the 'singleEntry' response method in order to avoid writing the ID condition in every API controller. 2016-07-10 11:38:22 +02:00
Alex Tselegidis
ff558f99c4 Added new Request class for handling the common request operations. 2016-07-10 11:12:16 +02:00
Alex Tselegidis
6ebe484abd Added dockblock comments to new classes. 2016-07-10 10:59:39 +02:00
Alex Tselegidis
94d805f68a The Appointments parser must cast the ID values into integers. 2016-07-10 10:37:30 +02:00
Alex Tselegidis
f99d729830 Implemented sort processor. 2016-07-10 10:37:11 +02:00
Alex Tselegidis
520b8d75e0 Added comment for skipping filtering processor feature (at least for now). 2016-07-09 23:04:06 +02:00
Alex Tselegidis
43089fede5 Implemented for Sort Processor (work in progress). 2016-07-09 23:03:27 +02:00
Alex Tselegidis
f2e1af7cb4 Implemented search processor. 2016-07-09 22:43:31 +02:00
Alex Tselegidis
4a8111566d Implemented pagination controller. 2016-07-09 22:34:45 +02:00
Alex Tselegidis
4189bcb459 Implemented minimize response processor and updated the ProcessorsInterface. 2016-07-09 22:27:24 +02:00
Alex Tselegidis
bfc96409bc Implemented the DELETE method and corrected not-found exceptions for GET and PUT. 2016-07-09 22:07:26 +02:00
Alex Tselegidis
4c1ec9ea2f Implemented the PUT method of appointments resource. 2016-07-09 22:01:03 +02:00
Alex Tselegidis
a40bb1ae4c Implemented the POST method of the appointments resource. 2016-07-09 21:53:28 +02:00
Alex Tselegidis
de4bc1217a Added API method for getting a single appointment. 2016-07-09 21:11:33 +02:00
Alex Tselegidis
02ac330b3b Corrected exception handling, the app must stop the execution and through the exception response. 2016-07-09 13:19:07 +02:00
Alex Tselegidis
523f4a3e76 Moved the response operations into their own namespace 'Processors' and bundled up the appointments GET request. 2016-07-09 13:14:08 +02:00
Alex Tselegidis
013e8ca4fe Created initial files for required classes of the API. 2016-07-09 12:26:13 +02:00
Alex Tselegidis
425c661631 Added custom API exception class. 2016-07-09 12:25:21 +02:00
Alex Tselegidis
512d56b7ea Corrected API authorization procedure. 2016-07-09 12:24:52 +02:00
Alex Tselegidis
57f5f70448 The API_V1_Controller will request authentication. 2016-07-09 11:17:39 +02:00
Alex Tselegidis
5362c30784 Implemented scalar types for the app. 2016-07-09 11:03:34 +02:00
Alex Tselegidis
64cc62ea9c Implemented Int type. 2016-07-09 10:33:13 +02:00
Alex Tselegidis
ea47793dc3 Corrected EA autoload function. 2016-07-09 10:23:40 +02:00
Alex Tselegidis
1a651fc718 Created base files for value types. 2016-07-09 10:05:33 +02:00
Alex Tselegidis
a1011a67eb Created files for common API operations. 2016-07-09 09:02:25 +02:00
Alex Tselegidis
34fd460d4b Created unit tests bootstrap file. 2016-07-09 09:02:06 +02:00
Alex Tselegidis
364f6522e1 Created resource examples for the API. 2016-07-09 08:24:08 +02:00
Alex Tselegidis
73c8728182 Added unavailabilities resource to the app. 2016-07-09 07:47:01 +02:00
Alex Tselegidis
0c1b504f56 Created structure for unit tests. 2016-07-08 21:42:51 +02:00
Alex Tselegidis
a624e53e97 Added engine structure for use in the API. 2016-07-08 21:35:48 +02:00
Alex Tselegidis
ad59ffeb35 Added PSR4 autoload function for the project. 2016-07-08 21:35:07 +02:00
Alex Tselegidis
d31535627b Updated docblock namespace. 2016-07-08 21:26:52 +02:00
Alex Tselegidis
f669f86294 Added initial controller files for all API resources. 2016-07-08 21:23:03 +02:00
Alex Tselegidis
cf0cbaf75c Added template content for API resource controllers. 2016-07-08 21:17:06 +02:00