├── .gitignore ├── .travis.yml ├── CMakeLists.txt ├── Dockerfile ├── LICENSE.md ├── README.md ├── ci.properties ├── data └── settings │ ├── datasources.ini │ └── poco.load ├── database ├── migration │ ├── 001CreateQuestionTable.sql │ ├── 002CreateQuestionOptionTable.sql │ └── 003CreateQuestionVoteTable.sql ├── sample_data │ └── Poll.sql ├── scripts │ └── create_changelog_table.sql └── targets.xml ├── dev.properties ├── docker-compose.yml ├── docs ├── api │ ├── ReferenceGuide.md │ ├── question.post.json │ ├── question.put.json │ └── vote.post.json ├── assets │ └── css │ │ └── style.css └── index.html ├── include ├── Application │ ├── Factory │ │ └── PollServiceFactory.h │ ├── IPollService.h │ └── PollService.h ├── Domain │ ├── Model │ │ └── Poll │ │ │ ├── IQuestionRepository.h │ │ │ ├── Option.h │ │ │ ├── Question.h │ │ │ ├── QuestionNotFoundException.h │ │ │ └── Vote.h │ ├── Service │ │ └── IQuestionVotingService.h │ └── Shared │ │ ├── Entity.h │ │ └── IEntity.h ├── Infrastructure │ └── Persistence │ │ ├── ConnectionManager.h │ │ ├── Factory │ │ ├── QuestionRepositoryFactory.h │ │ └── QuestionVotingServiceFactory.h │ │ ├── ITableGateway.h │ │ ├── OptionTableGateway.h │ │ ├── QuestionRepository.h │ │ ├── QuestionVotingService.h │ │ └── TableGateway.h └── Interface │ ├── Container.h │ ├── Handling │ ├── Assembler │ │ └── QuestionAssembler.h │ ├── ErrorJSONParser.h │ ├── IResourceBuilder.h │ ├── JSONAPI │ │ ├── IJsonAPIError.h │ │ ├── IJsonAPIErrorBuilder.h │ │ ├── IJsonAPIRelatedResource.h │ │ ├── IJsonAPIResource.h │ │ ├── IJsonAPIResourceBuilder.h │ │ ├── IJsonAPIResourceCollection.h │ │ ├── IJsonAPIResourceCollectionBuilder.h │ │ ├── IRelatedResourceBuilder.h │ │ ├── JsonAPIAbstractRelatedResourceBuilder.h │ │ ├── JsonAPIAbstractResourceBuilder.h │ │ ├── JsonAPIAbstractRootResourceBuilder.h │ │ ├── JsonAPIErrorBuilder.h │ │ └── JsonAPIResourceCollectionBuilder.h │ └── JsonAPIResourceBuilder.h │ ├── Resource │ ├── AbstractResource.h │ ├── Application.h │ ├── Exception.h │ ├── Factory │ │ ├── ApplicationFactory.h │ │ ├── Factory.h │ │ ├── IFactory.h │ │ ├── PollFactory.h │ │ └── VoteFactory.h │ ├── Poll │ │ ├── Poll.h │ │ └── Vote.h │ └── ResourceNotFound.h │ └── Router.h ├── lib ├── ant-jsch.jar ├── ant.jar ├── dbdeploy-ant-3.0M3.jar ├── jsch.jar └── mysql-jdbc5.jar ├── scripts └── shell │ ├── apache-setup-for-dockerfile.sh │ ├── deploy.sh │ └── push-docker-image.sh ├── src ├── Application │ ├── Factory │ │ └── PollServiceFactory.cpp │ └── PollService.cpp ├── Domain │ ├── Model │ │ └── Poll │ │ │ ├── Option.cpp │ │ │ ├── Question.cpp │ │ │ ├── QuestionNotFoundException.cpp │ │ │ └── Vote.cpp │ └── Shared │ │ └── Entity.cpp ├── Infrastructure │ └── Persistence │ │ ├── ConnectionManager.cpp │ │ ├── Factory │ │ ├── QuestionRepositoryFactory.cpp │ │ └── QuestionVotingServiceFactory.cpp │ │ ├── OptionTableGateway.cpp │ │ ├── QuestionRepository.cpp │ │ ├── QuestionVotingService.cpp │ │ └── TableGateway.cpp ├── Interface │ ├── Container.cpp │ ├── Handling │ │ ├── Assembler │ │ │ └── QuestionAssembler.cpp │ │ ├── JSONAPI │ │ │ ├── JsonAPIAbstractRelatedResourceBuilder.cpp │ │ │ ├── JsonAPIAbstractResourceBuilder.cpp │ │ │ ├── JsonAPIAbstractRootResourceBuilder.cpp │ │ │ ├── JsonAPIErrorBuilder.cpp │ │ │ └── JsonAPIResourceCollectionBuilder.cpp │ │ └── JsonAPIResourceBuilder.cpp │ ├── Resource │ │ ├── AbstractResource.cpp │ │ ├── Application.cpp │ │ ├── Exception.cpp │ │ ├── Factory │ │ │ ├── ApplicationFactory.cpp │ │ │ ├── Factory.cpp │ │ │ ├── PollFactory.cpp │ │ │ └── VoteFactory.cpp │ │ ├── Poll │ │ │ ├── Poll.cpp │ │ │ └── Vote.cpp │ │ └── ResourceNotFound.cpp │ └── Router.cpp └── main.cpp └── tests ├── CMakeLists.txt ├── Domain ├── Model │ └── Poll │ │ ├── OptionTest.cpp │ │ └── QuestionTest.cpp └── Service │ └── QuestionVotingServiceTest.cpp ├── Infrastructure └── Persistence │ ├── QuestionRepositoryTest.cpp │ └── TableGatewayTest.cpp ├── Interface └── Handling │ ├── JsonAPIErrorBuilderTest.cpp │ └── QuestionResourceTest.cpp └── Runner.cpp /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/.travis.yml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/README.md -------------------------------------------------------------------------------- /ci.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/ci.properties -------------------------------------------------------------------------------- /data/settings/datasources.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/data/settings/datasources.ini -------------------------------------------------------------------------------- /data/settings/poco.load: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/data/settings/poco.load -------------------------------------------------------------------------------- /database/migration/001CreateQuestionTable.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/database/migration/001CreateQuestionTable.sql -------------------------------------------------------------------------------- /database/migration/002CreateQuestionOptionTable.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/database/migration/002CreateQuestionOptionTable.sql -------------------------------------------------------------------------------- /database/migration/003CreateQuestionVoteTable.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/database/migration/003CreateQuestionVoteTable.sql -------------------------------------------------------------------------------- /database/sample_data/Poll.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/database/sample_data/Poll.sql -------------------------------------------------------------------------------- /database/scripts/create_changelog_table.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/database/scripts/create_changelog_table.sql -------------------------------------------------------------------------------- /database/targets.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/database/targets.xml -------------------------------------------------------------------------------- /dev.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/dev.properties -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/api/ReferenceGuide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/docs/api/ReferenceGuide.md -------------------------------------------------------------------------------- /docs/api/question.post.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/docs/api/question.post.json -------------------------------------------------------------------------------- /docs/api/question.put.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/docs/api/question.put.json -------------------------------------------------------------------------------- /docs/api/vote.post.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/docs/api/vote.post.json -------------------------------------------------------------------------------- /docs/assets/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/docs/assets/css/style.css -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/docs/index.html -------------------------------------------------------------------------------- /include/Application/Factory/PollServiceFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Application/Factory/PollServiceFactory.h -------------------------------------------------------------------------------- /include/Application/IPollService.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Application/IPollService.h -------------------------------------------------------------------------------- /include/Application/PollService.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Application/PollService.h -------------------------------------------------------------------------------- /include/Domain/Model/Poll/IQuestionRepository.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Domain/Model/Poll/IQuestionRepository.h -------------------------------------------------------------------------------- /include/Domain/Model/Poll/Option.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Domain/Model/Poll/Option.h -------------------------------------------------------------------------------- /include/Domain/Model/Poll/Question.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Domain/Model/Poll/Question.h -------------------------------------------------------------------------------- /include/Domain/Model/Poll/QuestionNotFoundException.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Domain/Model/Poll/QuestionNotFoundException.h -------------------------------------------------------------------------------- /include/Domain/Model/Poll/Vote.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Domain/Model/Poll/Vote.h -------------------------------------------------------------------------------- /include/Domain/Service/IQuestionVotingService.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Domain/Service/IQuestionVotingService.h -------------------------------------------------------------------------------- /include/Domain/Shared/Entity.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Domain/Shared/Entity.h -------------------------------------------------------------------------------- /include/Domain/Shared/IEntity.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Domain/Shared/IEntity.h -------------------------------------------------------------------------------- /include/Infrastructure/Persistence/ConnectionManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Infrastructure/Persistence/ConnectionManager.h -------------------------------------------------------------------------------- /include/Infrastructure/Persistence/Factory/QuestionRepositoryFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Infrastructure/Persistence/Factory/QuestionRepositoryFactory.h -------------------------------------------------------------------------------- /include/Infrastructure/Persistence/Factory/QuestionVotingServiceFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Infrastructure/Persistence/Factory/QuestionVotingServiceFactory.h -------------------------------------------------------------------------------- /include/Infrastructure/Persistence/ITableGateway.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Infrastructure/Persistence/ITableGateway.h -------------------------------------------------------------------------------- /include/Infrastructure/Persistence/OptionTableGateway.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Infrastructure/Persistence/OptionTableGateway.h -------------------------------------------------------------------------------- /include/Infrastructure/Persistence/QuestionRepository.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Infrastructure/Persistence/QuestionRepository.h -------------------------------------------------------------------------------- /include/Infrastructure/Persistence/QuestionVotingService.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Infrastructure/Persistence/QuestionVotingService.h -------------------------------------------------------------------------------- /include/Infrastructure/Persistence/TableGateway.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Infrastructure/Persistence/TableGateway.h -------------------------------------------------------------------------------- /include/Interface/Container.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Container.h -------------------------------------------------------------------------------- /include/Interface/Handling/Assembler/QuestionAssembler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/Assembler/QuestionAssembler.h -------------------------------------------------------------------------------- /include/Interface/Handling/ErrorJSONParser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/ErrorJSONParser.h -------------------------------------------------------------------------------- /include/Interface/Handling/IResourceBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/IResourceBuilder.h -------------------------------------------------------------------------------- /include/Interface/Handling/JSONAPI/IJsonAPIError.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/JSONAPI/IJsonAPIError.h -------------------------------------------------------------------------------- /include/Interface/Handling/JSONAPI/IJsonAPIErrorBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/JSONAPI/IJsonAPIErrorBuilder.h -------------------------------------------------------------------------------- /include/Interface/Handling/JSONAPI/IJsonAPIRelatedResource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/JSONAPI/IJsonAPIRelatedResource.h -------------------------------------------------------------------------------- /include/Interface/Handling/JSONAPI/IJsonAPIResource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/JSONAPI/IJsonAPIResource.h -------------------------------------------------------------------------------- /include/Interface/Handling/JSONAPI/IJsonAPIResourceBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/JSONAPI/IJsonAPIResourceBuilder.h -------------------------------------------------------------------------------- /include/Interface/Handling/JSONAPI/IJsonAPIResourceCollection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/JSONAPI/IJsonAPIResourceCollection.h -------------------------------------------------------------------------------- /include/Interface/Handling/JSONAPI/IJsonAPIResourceCollectionBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/JSONAPI/IJsonAPIResourceCollectionBuilder.h -------------------------------------------------------------------------------- /include/Interface/Handling/JSONAPI/IRelatedResourceBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/JSONAPI/IRelatedResourceBuilder.h -------------------------------------------------------------------------------- /include/Interface/Handling/JSONAPI/JsonAPIAbstractRelatedResourceBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/JSONAPI/JsonAPIAbstractRelatedResourceBuilder.h -------------------------------------------------------------------------------- /include/Interface/Handling/JSONAPI/JsonAPIAbstractResourceBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/JSONAPI/JsonAPIAbstractResourceBuilder.h -------------------------------------------------------------------------------- /include/Interface/Handling/JSONAPI/JsonAPIAbstractRootResourceBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/JSONAPI/JsonAPIAbstractRootResourceBuilder.h -------------------------------------------------------------------------------- /include/Interface/Handling/JSONAPI/JsonAPIErrorBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/JSONAPI/JsonAPIErrorBuilder.h -------------------------------------------------------------------------------- /include/Interface/Handling/JSONAPI/JsonAPIResourceCollectionBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/JSONAPI/JsonAPIResourceCollectionBuilder.h -------------------------------------------------------------------------------- /include/Interface/Handling/JsonAPIResourceBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Handling/JsonAPIResourceBuilder.h -------------------------------------------------------------------------------- /include/Interface/Resource/AbstractResource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Resource/AbstractResource.h -------------------------------------------------------------------------------- /include/Interface/Resource/Application.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Resource/Application.h -------------------------------------------------------------------------------- /include/Interface/Resource/Exception.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Resource/Exception.h -------------------------------------------------------------------------------- /include/Interface/Resource/Factory/ApplicationFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Resource/Factory/ApplicationFactory.h -------------------------------------------------------------------------------- /include/Interface/Resource/Factory/Factory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Resource/Factory/Factory.h -------------------------------------------------------------------------------- /include/Interface/Resource/Factory/IFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Resource/Factory/IFactory.h -------------------------------------------------------------------------------- /include/Interface/Resource/Factory/PollFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Resource/Factory/PollFactory.h -------------------------------------------------------------------------------- /include/Interface/Resource/Factory/VoteFactory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Resource/Factory/VoteFactory.h -------------------------------------------------------------------------------- /include/Interface/Resource/Poll/Poll.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Resource/Poll/Poll.h -------------------------------------------------------------------------------- /include/Interface/Resource/Poll/Vote.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Resource/Poll/Vote.h -------------------------------------------------------------------------------- /include/Interface/Resource/ResourceNotFound.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Resource/ResourceNotFound.h -------------------------------------------------------------------------------- /include/Interface/Router.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/include/Interface/Router.h -------------------------------------------------------------------------------- /lib/ant-jsch.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/lib/ant-jsch.jar -------------------------------------------------------------------------------- /lib/ant.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/lib/ant.jar -------------------------------------------------------------------------------- /lib/dbdeploy-ant-3.0M3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/lib/dbdeploy-ant-3.0M3.jar -------------------------------------------------------------------------------- /lib/jsch.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/lib/jsch.jar -------------------------------------------------------------------------------- /lib/mysql-jdbc5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/lib/mysql-jdbc5.jar -------------------------------------------------------------------------------- /scripts/shell/apache-setup-for-dockerfile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/scripts/shell/apache-setup-for-dockerfile.sh -------------------------------------------------------------------------------- /scripts/shell/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "Deploying the Application..." 4 | -------------------------------------------------------------------------------- /scripts/shell/push-docker-image.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/scripts/shell/push-docker-image.sh -------------------------------------------------------------------------------- /src/Application/Factory/PollServiceFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Application/Factory/PollServiceFactory.cpp -------------------------------------------------------------------------------- /src/Application/PollService.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Application/PollService.cpp -------------------------------------------------------------------------------- /src/Domain/Model/Poll/Option.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Domain/Model/Poll/Option.cpp -------------------------------------------------------------------------------- /src/Domain/Model/Poll/Question.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Domain/Model/Poll/Question.cpp -------------------------------------------------------------------------------- /src/Domain/Model/Poll/QuestionNotFoundException.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Domain/Model/Poll/QuestionNotFoundException.cpp -------------------------------------------------------------------------------- /src/Domain/Model/Poll/Vote.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Domain/Model/Poll/Vote.cpp -------------------------------------------------------------------------------- /src/Domain/Shared/Entity.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Domain/Shared/Entity.cpp -------------------------------------------------------------------------------- /src/Infrastructure/Persistence/ConnectionManager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Infrastructure/Persistence/ConnectionManager.cpp -------------------------------------------------------------------------------- /src/Infrastructure/Persistence/Factory/QuestionRepositoryFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Infrastructure/Persistence/Factory/QuestionRepositoryFactory.cpp -------------------------------------------------------------------------------- /src/Infrastructure/Persistence/Factory/QuestionVotingServiceFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Infrastructure/Persistence/Factory/QuestionVotingServiceFactory.cpp -------------------------------------------------------------------------------- /src/Infrastructure/Persistence/OptionTableGateway.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Infrastructure/Persistence/OptionTableGateway.cpp -------------------------------------------------------------------------------- /src/Infrastructure/Persistence/QuestionRepository.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Infrastructure/Persistence/QuestionRepository.cpp -------------------------------------------------------------------------------- /src/Infrastructure/Persistence/QuestionVotingService.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Infrastructure/Persistence/QuestionVotingService.cpp -------------------------------------------------------------------------------- /src/Infrastructure/Persistence/TableGateway.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Infrastructure/Persistence/TableGateway.cpp -------------------------------------------------------------------------------- /src/Interface/Container.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Container.cpp -------------------------------------------------------------------------------- /src/Interface/Handling/Assembler/QuestionAssembler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Handling/Assembler/QuestionAssembler.cpp -------------------------------------------------------------------------------- /src/Interface/Handling/JSONAPI/JsonAPIAbstractRelatedResourceBuilder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Handling/JSONAPI/JsonAPIAbstractRelatedResourceBuilder.cpp -------------------------------------------------------------------------------- /src/Interface/Handling/JSONAPI/JsonAPIAbstractResourceBuilder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Handling/JSONAPI/JsonAPIAbstractResourceBuilder.cpp -------------------------------------------------------------------------------- /src/Interface/Handling/JSONAPI/JsonAPIAbstractRootResourceBuilder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Handling/JSONAPI/JsonAPIAbstractRootResourceBuilder.cpp -------------------------------------------------------------------------------- /src/Interface/Handling/JSONAPI/JsonAPIErrorBuilder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Handling/JSONAPI/JsonAPIErrorBuilder.cpp -------------------------------------------------------------------------------- /src/Interface/Handling/JSONAPI/JsonAPIResourceCollectionBuilder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Handling/JSONAPI/JsonAPIResourceCollectionBuilder.cpp -------------------------------------------------------------------------------- /src/Interface/Handling/JsonAPIResourceBuilder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Handling/JsonAPIResourceBuilder.cpp -------------------------------------------------------------------------------- /src/Interface/Resource/AbstractResource.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Resource/AbstractResource.cpp -------------------------------------------------------------------------------- /src/Interface/Resource/Application.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Resource/Application.cpp -------------------------------------------------------------------------------- /src/Interface/Resource/Exception.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Resource/Exception.cpp -------------------------------------------------------------------------------- /src/Interface/Resource/Factory/ApplicationFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Resource/Factory/ApplicationFactory.cpp -------------------------------------------------------------------------------- /src/Interface/Resource/Factory/Factory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Resource/Factory/Factory.cpp -------------------------------------------------------------------------------- /src/Interface/Resource/Factory/PollFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Resource/Factory/PollFactory.cpp -------------------------------------------------------------------------------- /src/Interface/Resource/Factory/VoteFactory.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Resource/Factory/VoteFactory.cpp -------------------------------------------------------------------------------- /src/Interface/Resource/Poll/Poll.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Resource/Poll/Poll.cpp -------------------------------------------------------------------------------- /src/Interface/Resource/Poll/Vote.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Resource/Poll/Vote.cpp -------------------------------------------------------------------------------- /src/Interface/Resource/ResourceNotFound.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Resource/ResourceNotFound.cpp -------------------------------------------------------------------------------- /src/Interface/Router.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/Interface/Router.cpp -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/src/main.cpp -------------------------------------------------------------------------------- /tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/tests/CMakeLists.txt -------------------------------------------------------------------------------- /tests/Domain/Model/Poll/OptionTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/tests/Domain/Model/Poll/OptionTest.cpp -------------------------------------------------------------------------------- /tests/Domain/Model/Poll/QuestionTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/tests/Domain/Model/Poll/QuestionTest.cpp -------------------------------------------------------------------------------- /tests/Domain/Service/QuestionVotingServiceTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/tests/Domain/Service/QuestionVotingServiceTest.cpp -------------------------------------------------------------------------------- /tests/Infrastructure/Persistence/QuestionRepositoryTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/tests/Infrastructure/Persistence/QuestionRepositoryTest.cpp -------------------------------------------------------------------------------- /tests/Infrastructure/Persistence/TableGatewayTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/tests/Infrastructure/Persistence/TableGatewayTest.cpp -------------------------------------------------------------------------------- /tests/Interface/Handling/JsonAPIErrorBuilderTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/tests/Interface/Handling/JsonAPIErrorBuilderTest.cpp -------------------------------------------------------------------------------- /tests/Interface/Handling/QuestionResourceTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/tests/Interface/Handling/QuestionResourceTest.cpp -------------------------------------------------------------------------------- /tests/Runner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edson-a-soares/poco_restful_webservice/HEAD/tests/Runner.cpp --------------------------------------------------------------------------------