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

HTTP API to CD mirroring #154

Open
trustin opened this issue Mar 12, 2018 · 0 comments · May be fixed by #821
Open

HTTP API to CD mirroring #154

trustin opened this issue Mar 12, 2018 · 0 comments · May be fixed by #821

Comments

@trustin
Copy link
Member

trustin commented Mar 12, 2018

It would be very useful to set up a simple mirror that mirrors the result of an HTTP query into a repository, just like IFTTT.

trustin added a commit to trustin/centraldogma that referenced this issue Mar 13, 2023
Motivation:

It would be very useful to set up a simple mirror that mirrors the
result of an HTTP query into a repository, just like IFTTT.

Modifications:

- Added support for the following two new URL schemes:
  - `http`
  - `https`
- Renamed `Mirror.remotePath` to `remoteSubpath` to better reflect what
  it actually does.
- Made `Mirror.remoteSubpath` nullable because HTTP-to-CD mirror doesn't
  need it.
- Added `HttpMirror` and `HttpMirrorTest`.

Result:

- A user can mirror a certain HTTP endpoint into a file in Central Dogma.
- Closes line#154

Future works:

- Add support for basic and token-based authentication
- Add documentation
@trustin trustin linked a pull request Mar 13, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant