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

Proposal: add support to expose functions on a public domain #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wpjunior
Copy link
Member

Each function could have a new boolean attribute named exposed, besides that, the server could accept connection on a public domain specified by the environment variable.

All exposed function may be accessible onhttp://${EXPOSABLE_HOST}/${namespace}/${functionID}, avoiding to expose the private API on the same domain.

@coveralls
Copy link

coveralls commented Mar 16, 2018

Coverage Status

Coverage decreased (-1.0%) to 89.462% when pulling 41b402a on http-invocator into 06e4845 on master.

Copy link
Contributor

@heitorsilva heitorsilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also miss some linting on the entire Functions code...

data.exposed = 'true';
} else if (code.exposed === false) {
data.exposed = 'false';
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@mateuspontes mateuspontes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice-to-have feature. Please, fix conflicts, lint your files and follow recommendations from @heitorsilva

@markiing markiing force-pushed the master branch 3 times, most recently from 8dee678 to eab0f61 Compare December 20, 2022 19:44
@ceelsoin ceelsoin force-pushed the master branch 4 times, most recently from c3c3f61 to 9297c26 Compare May 23, 2023 18:43
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.

None yet

4 participants