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

feat: display dependency graph on the "Resource Explorer" page #1005

Merged
merged 43 commits into from
Sep 27, 2023

Conversation

Traxmaxx
Copy link
Contributor

Problem

Added the dependency graph feature

Solution

We're now rendering the dependency graph with Cytoscapejs

Changes Made

  • add cytoscapejs
  • add API calls to fetch resources and their mappings/relations
  • update filter to be reused (somewhat) for the dependency graph

How to Test

Check out the repo, run npm install, start the backend and frontend server and visit http://localhost:3002/explorer/

Screenshots

Screenshot 2023-09-27 at 15 15 50
Screenshot 2023-09-27 at 15 15 58
Screenshot 2023-09-27 at 15 16 34
Screenshot 2023-09-27 at 15 16 41
Screenshot 2023-09-27 at 15 17 09

Notes

Since Inventory and Explorer now both share the Filter component we should refactor it someday in the future. I did not include it in this PR and only did the required changes for getting it to work!

Checklist

  • Code follows the contributing guidelines
  • Changes have been thoroughly tested
  • Documentation has been updated, if necessary
  • Any dependencies have been added to the project, if necessary

Reviewers

see reviewer list in the sidebar

AvineshTripathi and others added 30 commits September 18, 2023 16:26
* feat: initial commit
* feat: added dependency graph supoort for ec2 and eip
* feat: fixed migration changes
* docs: contributing steps in Dep graph section
---------

Co-authored-by: ShubhamPalriwala <spalriwalau@gmail.com>
…m paths and edge connectores. To be improved still
Collect additional AWS services connections
@Traxmaxx Traxmaxx added feature javascript Pull requests that update Javascript code go Pull requests that update Go code frontend labels Sep 27, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Hey, thank you for opening your Pull Request ! 🙂 While a Tailwarden team member takes a look at your PR we would like to invite you to join our official Discord server, where you can interact directly with other contributors and Tailwarden team members. Link here: https://discord.tailwarden.com

Copy link
Contributor

@ShubhamPalriwala ShubhamPalriwala left a comment

Choose a reason for hiding this comment

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

LOVE IT! 🚀

Copy link
Collaborator

@mlabouardy mlabouardy left a comment

Choose a reason for hiding this comment

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

@Traxmaxx Traxmaxx merged commit 7a3e8e0 into develop Sep 27, 2023
@Traxmaxx Traxmaxx deleted the wip-dep-graph branch September 27, 2023 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature frontend go Pull requests that update Go code javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants