Skip to content

feat(devenv): wip basic running capability#20

Merged
MStreet3 merged 8 commits into
mainfrom
cappl-76/run-capability-local
Oct 4, 2024
Merged

feat(devenv): wip basic running capability#20
MStreet3 merged 8 commits into
mainfrom
cappl-76/run-capability-local

Conversation

@MStreet3

@MStreet3 MStreet3 commented Sep 26, 2024

Copy link
Copy Markdown
Contributor

This PR adds a devenv package, which implements a simple web server that proxies calls to a standard capability.

For now this app exposes three routes:

  • GET /infos - gets the info for all capabilities registered in the app
  • POST /capability/get/info - gets the info for a single capability by its ID
  • POST /capability/target/execute - calls the execute method of a target capability given its ID

See the readme for details on running the app.

Demo

Screen.Recording.2024-10-02.at.12.00.30.PM.mov

@MStreet3 MStreet3 force-pushed the cappl-76/run-capability-local branch 5 times, most recently from 55d1d2f to 92b1dc4 Compare October 2, 2024 15:47
@MStreet3 MStreet3 marked this pull request as ready for review October 2, 2024 16:02
@MStreet3 MStreet3 force-pushed the cappl-76/run-capability-local branch from e700d05 to 1735d7b Compare October 2, 2024 16:02
@MStreet3 MStreet3 requested a review from nolag October 2, 2024 16:08
Comment thread devenv/http/handler.go Outdated
@MStreet3 MStreet3 added this pull request to the merge queue Oct 4, 2024
Merged via the queue into main with commit 910c957 Oct 4, 2024
@MStreet3 MStreet3 deleted the cappl-76/run-capability-local branch October 4, 2024 16:59
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.

2 participants