Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fredrik Haupt #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .aws-sam/build.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file is auto generated by SAM CLI build command

[function_build_definitions.a9879f63-a832-4ddb-9b1e-4a0a2bd0aaf6]
codeuri = "C:\\Users\\FHaupt\\IdeaProjects\\java-cloud-aws-day-3"
runtime = "java21"
architecture = "x86_64"
handler = "com.booleanuk.StreamLambdaHandler::handleRequest"
manifest_hash = ""
packagetype = "Zip"
functions = ["FredrikHauptApp"]

[layer_build_definitions]
2 changes: 2 additions & 0 deletions .aws-sam/build/FredrikHauptApp/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Manifest-Version: 1.0

23 changes: 23 additions & 0 deletions .aws-sam/build/FredrikHauptApp/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
server:
port: 5000
error:
include-message: always
include-binding-errors: always
include-stacktrace: never
include-exception: false

spring:
datasource:
url: jdbc:postgresql://ep-nameless-wildflower-a2shgspg.eu-central-1.aws.neon.tech:5432/neondb
username: neondb_owner
password: 0kgcbNIr3PQi
max-active: 5
max-idle: 5
jpa:
hibernate:
ddl-auto: update
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
format_sql: true
show-sql: true
5 changes: 5 additions & 0 deletions .aws-sam/build/FredrikHauptApp/logback.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml" />
<logger name="org.springframework" level="ERROR"/>
</configuration>
31 changes: 31 additions & 0 deletions .aws-sam/build/template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: AWS Serverless Spring Boot 2 API
Globals:
Api:
EndpointConfiguration: REGIONAL
Resources:
FredrikHauptApp:
Type: AWS::Serverless::Function
Properties:
Handler: com.booleanuk.StreamLambdaHandler::handleRequest
Runtime: java21
CodeUri: FredrikHauptApp
MemorySize: 1512
Policies: AWSLambdaBasicExecutionRole
Timeout: 120
Events:
HttpApiEvent:
Type: HttpApi
Properties:
TimeoutInMillis: 20000
PayloadFormatVersion: '1.0'
Metadata:
SamResourceId: FredrikHauptApp
Outputs:
FredrikHauptApp:
Description: URL for application
Value:
Fn::Sub: https://${ServerlessHttpApi}.execute-api.${AWS::Region}.amazonaws.com/todos
Export:
Name: FredrikHauptApp
Binary file added .gradle/8.10.2/checksums/checksums.lock
Binary file not shown.
Binary file added .gradle/8.10.2/checksums/md5-checksums.bin
Binary file not shown.
Binary file added .gradle/8.10.2/checksums/sha1-checksums.bin
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file added .gradle/8.10.2/expanded/expanded.lock
Binary file not shown.
Binary file added .gradle/8.10.2/fileChanges/last-build.bin
Binary file not shown.
Binary file added .gradle/8.10.2/fileHashes/fileHashes.bin
Binary file not shown.
Binary file added .gradle/8.10.2/fileHashes/fileHashes.lock
Binary file not shown.
Binary file added .gradle/8.10.2/fileHashes/resourceHashesCache.bin
Binary file not shown.
Empty file added .gradle/8.10.2/gc.properties
Empty file.
Binary file added .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
2 changes: 2 additions & 0 deletions .gradle/buildOutputCleanup/cache.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#Fri Oct 11 09:20:10 CEST 2024
gradle.version=8.10.2
Binary file added .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Binary file added .gradle/file-system.probe
Binary file not shown.
Empty file added .gradle/vcs-1/gc.properties
Empty file.
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/java-cloud-aws-day-3.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/libraries/Gradle__ch_qos_logback_logback_classic_1_5_8.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/libraries/Gradle__ch_qos_logback_logback_core_1_5_8.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/libraries/Gradle__com_fasterxml_classmate_1_7_0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/libraries/Gradle__com_zaxxer_HikariCP_5_1_0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/libraries/Gradle__commons_io_commons_io_2_15_1.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading