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

fix: Register both (Vanguard and Connect) handlers #92

Merged
merged 5 commits into from
Jan 13, 2024

Conversation

kevinmichaelchen
Copy link
Owner

@kevinmichaelchen kevinmichaelchen commented Jan 7, 2024

Goals

Resolves #82

  • Connect handlers should work
  • REST handlers should work

Connect

Here we're invoking a Connect API, and it works 🎉

pkgx http POST \                                                           
  http://localhost:8081/temporal.v1beta1.TemporalService/CreateOnboardingWorkflow <<<'
  {
    "license": {
      "start": "2023-11-16T12:00:00Z",
      "end": "2024-01-16T12:00:00Z"
    },
    "org": {
      "name": "Org 1"
    },
    "profile": {
      "full_name": "Kevin Chen"
    }
  }
  '

REST

Now we want to test our REST annotations in orgapis/**/api.proto:

curl http://localhost:9090/orgs/123

@kevinmichaelchen kevinmichaelchen force-pushed the fix-vanguard-transcoding branch from 372e659 to 80574c4 Compare January 13, 2024 20:21
@kevinmichaelchen kevinmichaelchen merged commit bcaaa31 into main Jan 13, 2024
4 checks passed
@kevinmichaelchen kevinmichaelchen deleted the fix-vanguard-transcoding branch January 13, 2024 20:49
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.

REST Support
1 participant