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: daemon service rest api not working #119

Merged
merged 4 commits into from
Jul 21, 2022
Merged

fix: daemon service rest api not working #119

merged 4 commits into from
Jul 21, 2022

Conversation

whynowy
Copy link
Member

@whynowy whynowy commented Jul 21, 2022

Signed-off-by: Derek Wang whynowy@gmail.com

Daemon service should be accessible through either gRPC or REST.

Signed-off-by: Derek Wang <whynowy@gmail.com>
Signed-off-by: Derek Wang <whynowy@gmail.com>
@@ -71,6 +71,6 @@ service DaemonService {
};

rpc GetVertexMetrics (GetVertexMetricsRequest) returns (GetVertexMetricsResponse) {
option (google.api.http).get = "/api/v1/namespace/{namespace}/pipelines/{pipeline}/vertices/{vertex}/metrics";
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need namespace in the url, as the daemon service is namespaced, which already have the namespace in the host url.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@whynowy whynowy marked this pull request as ready for review July 21, 2022 18:25
@whynowy whynowy requested a review from vigith as a code owner July 21, 2022 18:25
.
Signed-off-by: Derek Wang <whynowy@gmail.com>
Signed-off-by: Derek Wang <whynowy@gmail.com>
@vigith vigith merged commit ec02304 into numaproj:main Jul 21, 2022
@whynowy whynowy deleted the fff branch July 21, 2022 21:23
whynowy added a commit that referenced this pull request Aug 6, 2022
* fix: daemon service rest api not working

Signed-off-by: Derek Wang <whynowy@gmail.com>

* test cases

Signed-off-by: Derek Wang <whynowy@gmail.com>

* .

Signed-off-by: Derek Wang <whynowy@gmail.com>

* fix

Signed-off-by: Derek Wang <whynowy@gmail.com>
yhl25 pushed a commit to yhl25/numaflow that referenced this pull request Sep 1, 2022
* fix: daemon service rest api not working

Signed-off-by: Derek Wang <whynowy@gmail.com>

* test cases

Signed-off-by: Derek Wang <whynowy@gmail.com>

* .

Signed-off-by: Derek Wang <whynowy@gmail.com>

* fix

Signed-off-by: Derek Wang <whynowy@gmail.com>
Signed-off-by: Yashash H L <yashash_hl@intuit.com>
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.

None yet

3 participants