├── .gitignore ├── .idea ├── .name ├── compiler.xml ├── gradle.xml ├── libraries │ ├── Gradle__com_amazonaws_aws_lambda_java_core_1_1_0.xml │ ├── Gradle__com_amazonaws_aws_lambda_java_events_2_0_1.xml │ ├── Gradle__com_amazonaws_aws_lambda_java_log4j2_1_0_0.xml │ ├── Gradle__com_fasterxml_jackson_core_jackson_annotations_2_8_5.xml │ ├── Gradle__com_fasterxml_jackson_core_jackson_core_2_8_5.xml │ ├── Gradle__com_fasterxml_jackson_core_jackson_databind_2_8_5.xml │ ├── Gradle__joda_time_joda_time_2_6.xml │ ├── Gradle__org_apache_logging_log4j_log4j_api_2_8_2.xml │ ├── Gradle__org_apache_logging_log4j_log4j_core_2_8_2.xml │ └── Gradle__org_jetbrains_annotations_13_0.xml ├── misc.xml ├── modules.xml ├── modules │ ├── com.myblockbuster.iml │ ├── com.myblockbuster_main.iml │ └── com.myblockbuster_test.iml ├── sonarIssues.xml ├── sonarlint │ └── issuestore │ │ └── index.pb ├── vcs.xml └── workspace.xml ├── LICENSE ├── README.md ├── build.gradle ├── docker-compose.yml ├── gradle └── wrapper │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── localstack.json ├── out ├── production │ ├── classes │ │ └── META-INF │ │ │ └── com.myblockbuster_main.kotlin_module │ └── resources │ │ ├── helloEvent.json │ │ ├── log4j2.xml │ │ └── routes.yml └── test │ ├── classes │ └── META-INF │ │ └── com.myblockbuster_main.kotlin_module │ └── resources │ └── eventMovieGET.json ├── package-lock.json ├── package.json ├── serverless.yml ├── settings.gradle └── src ├── main ├── kotlin │ └── com │ │ └── myblockbuster │ │ ├── ApiGatewayResponse.kt │ │ ├── Handler.kt │ │ ├── Response.kt │ │ ├── core │ │ ├── controllers │ │ │ └── Controller.kt │ │ ├── dispatchers │ │ │ ├── Dispatcher.kt │ │ │ └── RequestDispatcher.kt │ │ ├── exceptions.kt │ │ ├── factories │ │ │ ├── Factory.kt │ │ │ └── ServiceFactory.kt │ │ ├── models.kt │ │ └── services │ │ │ └── Service.kt │ │ └── movies │ │ ├── controllers │ │ └── MovieController.kt │ │ ├── exceptions.kt │ │ ├── models.kt │ │ └── services │ │ └── MovieService.kt └── resources │ ├── helloEvent.json │ ├── log4j2.xml │ └── routes.yml └── test ├── kotlin ├── .gitkeep └── com │ └── myblockbuster │ ├── TestHandler.kt │ └── models.kt └── resources └── eventMovieGET.json /.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | .gradle 3 | /build/ 4 | /bin/ 5 | /.settings/ 6 | .project 7 | .classpath 8 | 9 | # Package Files 10 | *.jar 11 | *.war 12 | *.ear 13 | 14 | # Serverless directories 15 | .serverless 16 | 17 | # SAM-Local 18 | template.yml 19 | 20 | # NODE JS 21 | 22 | # Logs 23 | logs 24 | *.log 25 | npm-debug.log* 26 | yarn-debug.log* 27 | yarn-error.log* 28 | 29 | # Runtime data 30 | pids 31 | *.pid 32 | *.seed 33 | *.pid.lock 34 | 35 | # Directory for instrumented libs generated by jscoverage/JSCover 36 | lib-cov 37 | 38 | # Coverage directory used by tools like istanbul 39 | coverage 40 | 41 | # nyc test coverage 42 | .nyc_output 43 | 44 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 45 | .grunt 46 | 47 | # Bower dependency directory (https://bower.io/) 48 | bower_components 49 | 50 | # node-waf configuration 51 | .lock-wscript 52 | 53 | # Compiled binary addons (https://nodejs.org/api/addons.html) 54 | build/Release 55 | 56 | # Dependency directories 57 | node_modules/ 58 | jspm_packages/ 59 | 60 | # Typescript v1 declaration files 61 | typings/ 62 | 63 | # Optional npm cache directory 64 | .npm 65 | 66 | # Optional eslint cache 67 | .eslintcache 68 | 69 | # Optional REPL history 70 | .node_repl_history 71 | 72 | # Output of 'npm pack' 73 | *.tgz 74 | 75 | # Yarn Integrity file 76 | .yarn-integrity 77 | 78 | # dotenv environment variables file 79 | .env 80 | 81 | # next.js build output 82 | .next 83 | 84 | # Exclude Test logs 85 | test.log 86 | apt-cyg 87 | outfile 88 | 89 | # Exclude IntelliJ files 90 | .idea 91 | 92 | # Exclude .localstack folder 93 | .localstack 94 | -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | com.myblockbuster -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 16 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_amazonaws_aws_lambda_java_core_1_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_amazonaws_aws_lambda_java_events_2_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_amazonaws_aws_lambda_java_log4j2_1_0_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_fasterxml_jackson_core_jackson_annotations_2_8_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_fasterxml_jackson_core_jackson_core_2_8_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__com_fasterxml_jackson_core_jackson_databind_2_8_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__joda_time_joda_time_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_apache_logging_log4j_log4j_api_2_8_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_apache_logging_log4j_log4j_core_2_8_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/libraries/Gradle__org_jetbrains_annotations_13_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/modules/com.myblockbuster.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | -------------------------------------------------------------------------------- /.idea/modules/com.myblockbuster_main.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 53 | -------------------------------------------------------------------------------- /.idea/modules/com.myblockbuster_test.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 71 | -------------------------------------------------------------------------------- /.idea/sonarIssues.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 288 | 289 | -------------------------------------------------------------------------------- /.idea/sonarlint/issuestore/index.pb: -------------------------------------------------------------------------------- 1 | 2 | 7 3 | gradlew,5/b/5bbfa66edb4db3c7c33c5181f43510990d3307f9 4 | ; 5 | gradlew.bat,2/a/2a45a911a8f1836b0b6c5b758962572012d8f8c3 6 | < 7 | build.gradle,f/0/f07866736216be0ee2aba49e392191aeae700a35 8 | R 9 | "src/main/resources/helloEvent.json,9/5/9551bcc38cd3ea08dbd238b9b34a87908ad4b6ec 10 | \ 11 | ,src/main/kotlin/com/myblockbuster/Handler.kt,7/d/7d63cd8fd8ae6f8a3dd6e3dce14ee4396745b15b 12 | 9 13 | README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d 14 | _ 15 | /node_modules/serverless-sam/lib/SamGenerator.js,e/e/eedceba5a276f2b78bc0cef968ed646afbe8a823 16 | d 17 | 4node_modules/serverless-sam/lib/FunctionConverter.js,f/4/f4821f5e18cc3438e29e6dbf4d35f31367414c7f 18 | > 19 | serverless.yml,5/9/5948f757250f0c470b076eb7741987cdad7a536f 20 | ? 21 | settings.gradle,0/5/05efc8b1657769a27696d478ded1e95f38737233 22 | < 23 | template.yml,8/1/819c91fe9ef2286228daa192ef9a65ce74bf3ef0 24 | Q 25 | !.serverless/serverless-state.json,a/f/afb2f6df63255fd98fce321fd51401205576d934 26 | : 27 | 28 | .gitignore,a/5/a5cc2925ca8258af241be7e5b0381edf30266302 29 | < 30 | package.json,7/0/7030d0b2f71b999ff89a343de08c414af32fc93a 31 | A 32 | package-lock.json,f/a/fa288d1472d29beccb489a676f68739ad365fc47 33 | U 34 | %src/test/resources/eventMovieGET.json,7/c/7cffdcf34cff9646ad917c1b06ff45c49cb1577e 35 | e 36 | 5.serverless/cloudformation-template-update-stack.json,7/e/7e51251bde10cbffad666261b08344da1f050e4a 37 | B 38 | docker-compose.yml,3/5/35b8c13cf2eb2a194eada000eb310d65aed53b2a 39 | ? 40 | localstack.json,a/8/a8991ef63cc43515476e6239b143e1fc40b912a7 41 | 7 42 | apt-cyg,7/f/7f043a009e04981f721fa89d6f0b7e97dc7645d4 43 | p 44 | @src/main/kotlin/com/myblockbuster/core/dispatchers/Dispatcher.kt,7/b/7b4fc241ed64848b5e58c773e9c52c24b1904e98 45 | w 46 | Gsrc/main/kotlin/com/myblockbuster/core/dispatchers/RequestDispatcher.kt,b/a/baae4da613795bae98fb2cc5858b5d1e80197ca7 47 | ] 48 | -src/main/kotlin/com/myblockbuster/Response.kt,1/5/1587f858e40c45f40e35610ca73ca148b6fc0d4b 49 | g 50 | 7src/main/kotlin/com/myblockbuster/ApiGatewayResponse.kt,7/4/74868ba4f4229cfb0b5833a9f3361fae98badadc 51 | d 52 | 4src/main/kotlin/com/myblockbuster/core/exceptions.kt,2/b/2b15987564cd19245eb7ffa4b5d809940a009ed9 53 | p 54 | @src/main/kotlin/com/myblockbuster/core/controllers/Controller.kt,d/c/dcfd4c3b970682df894ffd319e483a28d5360051 55 | j 56 | :src/main/kotlin/com/myblockbuster/core/services/Service.kt,e/d/ed7956c19aaf428988c52a7fc964868a6a6c5d15 57 | ` 58 | 0src/main/kotlin/com/myblockbuster/core/models.kt,2/5/25eeadc2174494c949f75525e935b56323c75e46 59 | q 60 | Asrc/main/kotlin/com/myblockbuster/movies/services/MovieService.kt,1/a/1aa0fb19e1a51ced7a1f63bfec1b423fa53ab6ef 61 | f 62 | 6src/main/kotlin/com/myblockbuster/movies/exceptions.kt,a/9/a98bb1a3253f2361966f54701853546fb0a84bb6 63 | b 64 | 2src/main/kotlin/com/myblockbuster/movies/models.kt,4/7/4762c245f394ad30d3c52c2cebca29efc514ab5d 65 | k 66 | ;src/main/kotlin/com/myblockbuster/core/factories/Factory.kt,5/e/5e89280a1fa28daf0e34b1e4b39003a94fa6ecf1 67 | r 68 | Bsrc/main/kotlin/com/myblockbuster/core/factories/ServiceFactory.kt,6/a/6a51d6e416c0924386bb16497747cb3db14b909d 69 | w 70 | Gsrc/main/kotlin/com/myblockbuster/movies/controllers/MovieController.kt,7/0/7013e38aa8e719236ddb35fa205f9dab1a9522a3 71 | 7 72 | LICENSE,0/3/0398ccd0f49298b10a3d76a47800d2ebecd49859 73 | M 74 | src/main/resources/routes.yml,9/a/9ad275fc10498d8fc3acefbe80720c889d1ad370 75 | [ 76 | +src/test/kotlin/com/myblockbuster/models.kt,4/5/45153ea1dc137b9f84ff067bb68ccfa1f4c89fa8 77 | ` 78 | 0src/test/kotlin/com/myblockbuster/TestHandler.kt,a/f/af77dfaef409d7c18e6342822d08731e93a2ac1d -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 133 | 134 | 135 | 136 | this.serverless.service 137 | memo 138 | plugins 139 | sh 140 | api 141 | zip 142 | dev 143 | BaseM 144 | 145 | 146 | 147 | 149 | 150 | 155 | 160 | 180 | 368 | 378 | 603 | 609 | 610 | 611 | 649 | 650 | 651 | 652 | 653 | true 654 | DEFINITION_ORDER 655 | 656 | 657 | 658 | 659 | 660 | 661 | 662 | 663 | 664 | 665 | 668 | 669 | 670 | 671 | 672 | 673 | 674 | 675 | 676 | 677 | 678 | 679 | 680 | 681 | 682 | 683 | 684 | 685 | 686 | 687 | 688 | 689 | 690 | 691 | 692 | 693 | 694 | 695 | 696 | 697 | 698 | 699 | 700 | 701 | 702 | 703 | 704 | 705 | 706 | 707 | 708 | 709 | 710 | 711 | 712 | 713 | 714 | 715 |