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 Post request to jarvis node/edge/bulk #2214

Closed
Tracked by #2168
kevkevinpal opened this issue Dec 17, 2024 · 2 comments · Fixed by #2224
Closed
Tracked by #2168

Create Post request to jarvis node/edge/bulk #2214

kevkevinpal opened this issue Dec 17, 2024 · 2 comments · Fixed by #2224
Assignees

Comments

@kevkevinpal
Copy link
Contributor

kevkevinpal commented Dec 17, 2024

This is dependent on #2187

Description

We want to take what we have gotten from the InternalServerErrorMiddleware and send it to a jarvis
So what we should do is first

  • Check that JARVIS_URL is not an empty string
  • Check that JARVIS_TOKEN is not an empty string
  • Then if they do exist then we will attempt a POST request to /node/edge/bulk
  • edge_list will be the body of the request
  • If it fails give an error
  • If it succeeds give a success message
  • use JARVIS_TOKEN as the value for the x-api-token header
@aliraza556
Copy link
Contributor

@kevkevinpal assign me

@MahtabBukhari
Copy link
Contributor

@kevkevinpal please assign

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.

3 participants