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

Handler to take single event param & ret w/ compojure dispatch #24

Merged

Conversation

ccfontes
Copy link
Owner

No description provided.

… commands

✨ feat(faas_fn_build_invoke.yml): add support for process.env.PORT environment variable
📝 docs(README.adoc): update third party code section with derived files from ring-clojure
🐛 fix(handler.clj): update handler function to destructure body from request
🐛 fix(Dockerfile): add bb print-deps command to Dockerfile
🐛 fix(bb.edn): add "lib" directory to paths in bb.edn
🐛 fix(index.clj): update ->app function to use wrap-friendly-headers middleware
📝 docs(compojure/response.clj): add compojure.response namespace with Renderable and Sendable protocols
📝 docs(ring/middleware/head.clj): add ring.middleware.head namespace with wrap-head middleware

✨ feat(headers.clj): add wrap-friendly-headers middleware

✨ feat(headers.clj): add wrap-lowercase-headers middleware

✨ feat(json.clj): add wrap-json-body-request middleware

✨ feat(json.clj): add wrap-json-params middleware

✨ feat(json.clj): add wrap-json-response middleware

✨ feat(io.clj): add piped-input-stream function

✨ feat(io.clj): add string-input-stream function

✨ feat(io.clj): add close! function

✨ feat(io.clj): add last-modified-date function

📦 chore(mime_type.clj): add mime-type utility functions for determining file extensions and mime-types
📦 chore(parsing.clj): add regular expressions for parsing HTTP headers and finding content-type charset

✨ feat(response.clj): add functions for generating and augmenting response maps
🐛 fix(response.clj): fix typo in function name redirect-after-post
✨ feat(response.clj): add function for returning a 400 'bad request' response
✨ feat(response.clj): add function for returning a 404 'not found' response
✨ feat(response.clj): add function for returning a skeletal response with given body
✨ feat(response.clj): add function for updating status of a response
✨ feat(response.clj): add function for updating header of a response
✨ feat(response.clj): add function for setting charset of a response
✨ feat(response.clj): add function for getting charset of a response
✨ feat(response.clj): add function for setting a cookie on the response
✨ feat(response.clj): add function for finding a header in a response
✨ feat(response.clj

📝 chore(ring.util.time.clj): add time utility functions for dealing with HTTP requests
📝 chore(ring.util.walk.clj): add utility functions for manipulating maps and strings
📝 chore(tests.clj): add tests for ring.util.walk and ring.util.string functions
🔧 chore(response.clj): remove unnecessary metadata from ns declaration
🔥 remove(head.clj): remove unused middleware
🔧 chore(headers.clj): add author and license metadata to ns declaration
🔧 chore(parsing.clj): remove unnecessary metadata from ns declaration
🔧 chore(string.clj): add author and license metadata to ns declaration
🔧 chore(walk.clj): add author and license metadata to ns declaration
🔧 chore(tests.clj): remove unnecessary metadata from ns declaration
🔧 chore(tests.clj): add author and license metadata to ns declaration
🔧 chore(tests.clj): add tests for ring-string/read-string
🔧 chore(tests.clj): add tests for ring-string/write-string
🔧 chore(tests.clj): add tests for ring-walk/read-val-
template/bb/lib/ring/util/mime_type.clj Outdated Show resolved Hide resolved
template/bb/lib/ring/util/response.clj Outdated Show resolved Hide resolved
template/bb/lib/ring/util/response.clj Outdated Show resolved Hide resolved
…h conventional style

🐛 fix(response.clj): add conditional check to canonical-path to handle directories correctly
…unction

🐛 fix(handler.clj): destructure the body from the request map in the handler function
🐛 fix(handler.clj): destructure the body from the request map in the handler function
🐛 fix(Dockerfile): remove unnecessary directory in the COPY command
🐛 fix(index.clj): add wrap-text-body middleware to handle text/plain requests
✨ feat(text.clj): add wrap-text-body middleware to handle text/plain requests
🐛 fix(handler.clj): update destructuring keys to match context variable names
🐛 fix(mime_type.clj): change if-let to when-let for file extension check
…in payload body

🐛 fix(Dockerfile): update bb prepare command to include function/handler directory and print dependencies
🐛 fix(ring.middleware.text): add missing metadata to namespace declaration
✅ test(middleware-text): add tests for text-request? function
📝 docs(headers.clj): update metadata formatting and add URL
📝 docs(json.clj): update metadata formatting and add URL
📝 docs(text.clj): update metadata formatting and add URL
📝 docs(io.clj): update metadata formatting and add URL
📝 docs(mime_type.clj): update metadata formatting and add URL
📝 docs(parsing.clj): update metadata formatting and add URL
📝 docs(response.clj): update metadata formatting and add URL
📝 docs(string.clj): update metadata formatting and add URL
📝 docs(time.clj): update metadata formatting and add URL
📝 docs(walk.clj): update metadata formatting and add URL
📝 docs(tests.clj): update metadata formatting and add URL
@ccfontes ccfontes merged commit a24c37d into main Aug 30, 2023
10 checks passed
@ccfontes ccfontes deleted the handler-to-take-one-event-arg-and-compojure-ret-dispatch branch August 30, 2023 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant