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

Dependency graph visualization #19

Merged
merged 5 commits into from
Oct 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .jhipster/Dependency.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "Dependency",
"fields": [
{
"fieldName": "name",
"fieldType": "String",
"fieldValidateRules": [
"required"
]
},
{
"fieldName": "description",
"fieldType": "byte[]",
"fieldTypeBlobContent": "text"
}
],
"relationships": [
{
"relationshipType": "many-to-one",
"otherEntityName": "microservice",
"otherEntityRelationshipName": "dependency",
"relationshipValidateRules": "required",
"relationshipName": "source",
"otherEntityField": "id"
},
{
"relationshipType": "many-to-one",
"otherEntityName": "microservice",
"otherEntityRelationshipName": "dependency",
"relationshipValidateRules": "required",
"relationshipName": "target",
"otherEntityField": "id"
}
],
"changelogDate": "20201005051343",
"entityTableName": "dependency",
"dto": "no",
"pagination": "no",
"service": "no",
"jpaMetamodelFiltering": false,
"fluentMethods": true,
"readOnly": false,
"embedded": false,
"clientRootFolder": "",
"applications": "*"
}
7 changes: 7 additions & 0 deletions microcatalog.jdl
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,15 @@ entity Microservice {
gitUrl String required
}

entity Dependency {
name String required
description TextBlob
}

relationship ManyToOne {
Microservice{team required} to Team
Microservice{status required} to Status
Dependency{source required} to Microservice
Dependency{target required} to Microservice
}

Loading