Commit graph

674 commits

Author SHA1 Message Date
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
Alex Tselegidis
ac7d877411 Created parent API controller class. 2016-07-08 21:14:38 +02:00
Alex Tselegidis
a33594a17e Added dynamic routes for the API controllers. 2016-07-08 21:13:40 +02:00
Alex Tselegidis
550cee6765 Added v1 for first version controllers. 2016-07-07 22:05:10 +02:00
Alex Tselegidis
2afe0b903b Added route registration for the available resources. 2016-07-07 22:04:51 +02:00
Alex Tselegidis
39b79d8824 Added sample API routes into the project (will be updated soon). 2016-07-06 22:12:48 +02:00
Alex Tselegidis
52f592c027 Created new controllers directory for the API. 2016-07-06 22:12:21 +02:00
Alex Tselegidis
95353e3df1 Added new project directories. 2016-07-06 22:09:12 +02:00
Alex Tselegidis
e214c5dc68 Added npm-debug.log to .gitignore 2016-07-06 22:03:01 +02:00