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

Create vagrant cloud http client #12866

Open
1 of 3 tasks
chrisroberts opened this issue Aug 29, 2022 · 0 comments
Open
1 of 3 tasks

Create vagrant cloud http client #12866

chrisroberts opened this issue Aug 29, 2022 · 0 comments

Comments

@chrisroberts
Copy link
Member

chrisroberts commented Aug 29, 2022

Description

We need to create an http client for interacting with Vagrant Cloud. Should be defined within the SDK. It should support having the authentication token set and automatically apply the auth header on requests. Should include conditional application of header based on destination host (like how we do it in the cloud middleware for adding auth in the Ruby implementation).

Ideally we should also have a way for plugins to request the client (so an endpoint somewhere and mappers) but depending we can cut that into a separate ticket.

Use case (optional)

The user and plugins will be able to interact with Vagrant Cloud

Supporting materials

Will require hooks to be implemented #12853
Pre-existing work: #287 and hashicorp/vagrant-plugin-sdk#172

Estimated task complexity time-frame (does not guarantee a delivery date)

  • 1 day
  • 1 week
  • 2-3 weeks

Estimated user impact

Major

@chrisroberts chrisroberts added this to the 2.3 milestone Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant