Created
April 28, 2023 01:23
-
-
Save dhanji/098965256a895dd8971df6cc48125b36 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val notifyCustomerSchema = Ftl.schema { | |
verb(::notifyCustomer) | |
connectors { | |
http { | |
routes("/notify", "/notify-customer") | |
formats(Format.JSON) | |
} | |
grpc() | |
} | |
runtime { | |
autoscale() | |
} | |
resources { | |
mysql { | |
name("jdbc://...") | |
capacity(read = 20, write = 5) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment