-
Notifications
You must be signed in to change notification settings - Fork 266
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
Option to allow HTTP request to host running the current application #957
Comments
Expanding on this issue a bit more, here is where I am currently at:
|
Do we want to restrict which components can requests to each other in the future or do we recommend people use the Spin application boundary for that (i.e if you want to restrict access, create a new Spin app for that component)? |
Arguably the component model way of looking at the world is "if you want to use the thing then you have to declare the thing as an import"; on the other hand, for HTTP, we do permissions at the host level, which would suggest the application as a boundary. |
+ add ability for one component to make outbound calls to another component in the same Spin app + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ add ability for one component to make outbound calls to another component in the same Spin app + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ add ability for one component to make outbound calls to another component in the same Spin app + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ add ability for one component to make outbound calls to another component in the same Spin app + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ add ability for one component to make outbound calls to another component in the same Spin app + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ add ability for one component to make outbound calls to another component in the same Spin app + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ add ability for one component to make outbound calls to another component in the same Spin app + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ add ability for one component to make outbound calls to another component in the same Spin app + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ add ability for one component to make outbound calls to another component in the same Spin app + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ add ability for one component to make outbound calls to another component in the same Spin app + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ use special value `self.local` in allowed_http_hosts to allow components in the same spin app to make outbound http requests to each other + make requests with relative routes in app once self.local is set + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 + resolves spinframework#1533 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ use special value `self` in allowed_http_hosts to allow components in the same spin app to make outbound http requests to each other + make requests with relative routes in app once self is set + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 + resolves spinframework#1533 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ use special value `self` in allowed_http_hosts to allow components in the same spin app to make outbound http requests to each other + make requests with relative routes in app once self is set + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 + resolves spinframework#1533 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ use special value `self` in allowed_http_hosts to allow components in the same spin app to make outbound http requests to each other + make requests with relative routes in app once self is set + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 + resolves spinframework#1533 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ use special value `self` in allowed_http_hosts to allow components in the same spin app to make outbound http requests to each other + make requests with relative routes in app once self is set + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 + resolves spinframework#1533 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ use special value `self` in allowed_http_hosts to allow components in the same spin app to make outbound http requests to each other + make requests with relative routes in app once self is set + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 + resolves spinframework#1533 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ use special value `self` in allowed_http_hosts to allow components in the same spin app to make outbound http requests to each other + make requests with relative routes in app once self is set + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 + resolves spinframework#1533 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ use special value `self` in allowed_http_hosts to allow components in the same spin app to make outbound http requests to each other + make requests with relative routes in app once self is set + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 + resolves spinframework#1533 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ use special value `self` in allowed_http_hosts to allow components in the same spin app to make outbound http requests to each other + make requests with relative routes in app once self is set + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 + resolves spinframework#1533 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ use special value `self` in allowed_http_hosts to allow components in the same spin app to make outbound http requests to each other + make requests with relative routes in app once self is set + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 + resolves spinframework#1533 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ use special value `self` in allowed_http_hosts to allow components in the same spin app to make outbound http requests to each other + make requests with relative routes in app once self is set + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 + resolves spinframework#1533 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ use special value `self` in allowed_http_hosts to allow components in the same spin app to make outbound http requests to each other + make requests with relative routes in app once self is set + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 + resolves spinframework#1533 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ use special value `self` in allowed_http_hosts to allow components in the same spin app to make outbound http requests to each other + make requests with relative routes in app once self is set + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 + resolves spinframework#1533 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
+ use special value `self` in allowed_http_hosts to allow components in the same spin app to make outbound http requests to each other + make requests with relative routes in app once self is set + update example for rust outbound http to demonstrate capability + adds e2e + resolves spinframework#957 + resolves spinframework#1533 Signed-off-by: Michelle Dhanani <michelle@fermyon.com>
I am trying to build the following scenario: I have two components, and am trying to make requests from one to the other.
Because I don't know the actual URL the application will be available at before hand, every time the application is moved I need to change the
allowed_http_hosts
configuration if I want to continue to be able to send request to another component of the same application.There are two options I see:
insecure:allow-all
option, add aself
optionThe text was updated successfully, but these errors were encountered: