Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Remove work item link category concept #2301

Merged
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
1 change: 0 additions & 1 deletion application/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ type Application interface {
TrackerQueries() remoteworkitem.TrackerQueryRepository
SearchItems() SearchRepository
Identities() account.IdentityRepository
WorkItemLinkCategories() link.WorkItemLinkCategoryRepository
WorkItemLinkTypes() link.WorkItemLinkTypeRepository
WorkItemLinks() link.WorkItemLinkRepository
Comments() comment.Repository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,6 @@
"related": "http:///api/users"
}
},
"workitemlinkcategories": {
"links": {
"related": "http:///api/workitemlinkcategories"
}
},
"workitemlinks": {
"links": {
"related": "http:///api/workitemlinks"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,34 +54,24 @@
},
"id": "00000000-0000-0000-0000-000000000002",
"relationships": {
"link_category": {
"data": {
"id": "00000000-0000-0000-0000-000000000006",
"type": "workitemlinkcategories"
},
"links": {
"related": "http:///api/workitemlinkcategories/00000000-0000-0000-0000-000000000006",
"self": "http:///api/workitemlinkcategories/00000000-0000-0000-0000-000000000006"
}
},
"space": {
"data": {
"id": "00000000-0000-0000-0000-000000000007",
"id": "00000000-0000-0000-0000-000000000006",
"type": "spaces"
},
"links": {
"related": "http:///api/spaces/00000000-0000-0000-0000-000000000007",
"self": "http:///api/spaces/00000000-0000-0000-0000-000000000007"
"related": "http:///api/spaces/00000000-0000-0000-0000-000000000006",
"self": "http:///api/spaces/00000000-0000-0000-0000-000000000006"
}
},
"space_template": {
"data": {
"id": "00000000-0000-0000-0000-000000000008",
"id": "00000000-0000-0000-0000-000000000007",
"type": "spacetemplates"
},
"links": {
"related": "http:///api/spacetemplates/00000000-0000-0000-0000-000000000008",
"self": "http:///api/spacetemplates/00000000-0000-0000-0000-000000000008"
"related": "http:///api/spacetemplates/00000000-0000-0000-0000-000000000007",
"self": "http:///api/spacetemplates/00000000-0000-0000-0000-000000000007"
}
}
},
Expand All @@ -98,7 +88,7 @@
"system.order": 1000,
"system.remote_item_id": null,
"system.state": "new",
"system.title": "work item 00000000-0000-0000-0000-000000000009",
"system.title": "work item 00000000-0000-0000-0000-000000000008",
"system.updated_at": "0001-01-01T00:00:00Z",
"version": 0
},
Expand All @@ -112,11 +102,11 @@
"assignees": {},
"baseType": {
"data": {
"id": "00000000-0000-0000-0000-000000000010",
"id": "00000000-0000-0000-0000-000000000009",
"type": "workitemtypes"
},
"links": {
"self": "http:///api/workitemtypes/00000000-0000-0000-0000-000000000010"
"self": "http:///api/workitemtypes/00000000-0000-0000-0000-000000000009"
}
},
"children": {
Expand All @@ -132,12 +122,12 @@
},
"creator": {
"data": {
"id": "00000000-0000-0000-0000-000000000011",
"id": "00000000-0000-0000-0000-000000000010",
"type": "users"
},
"links": {
"related": "http:///api/users/00000000-0000-0000-0000-000000000011",
"self": "http:///api/users/00000000-0000-0000-0000-000000000011"
"related": "http:///api/users/00000000-0000-0000-0000-000000000010",
"self": "http:///api/users/00000000-0000-0000-0000-000000000010"
}
},
"events": {
Expand All @@ -153,12 +143,12 @@
},
"space": {
"data": {
"id": "00000000-0000-0000-0000-000000000012",
"id": "00000000-0000-0000-0000-000000000011",
"type": "spaces"
},
"links": {
"related": "http:///api/spaces/00000000-0000-0000-0000-000000000012",
"self": "http:///api/spaces/00000000-0000-0000-0000-000000000012"
"related": "http:///api/spaces/00000000-0000-0000-0000-000000000011",
"self": "http:///api/spaces/00000000-0000-0000-0000-000000000011"
}
},
"system.boardcolumns": {},
Expand All @@ -181,7 +171,7 @@
"system.order": 2000,
"system.remote_item_id": null,
"system.state": "new",
"system.title": "work item 00000000-0000-0000-0000-000000000013",
"system.title": "work item 00000000-0000-0000-0000-000000000012",
"system.updated_at": "0001-01-01T00:00:00Z",
"version": 0
},
Expand All @@ -195,11 +185,11 @@
"assignees": {},
"baseType": {
"data": {
"id": "00000000-0000-0000-0000-000000000010",
"id": "00000000-0000-0000-0000-000000000009",
"type": "workitemtypes"
},
"links": {
"self": "http:///api/workitemtypes/00000000-0000-0000-0000-000000000010"
"self": "http:///api/workitemtypes/00000000-0000-0000-0000-000000000009"
}
},
"children": {
Expand All @@ -215,12 +205,12 @@
},
"creator": {
"data": {
"id": "00000000-0000-0000-0000-000000000011",
"id": "00000000-0000-0000-0000-000000000010",
"type": "users"
},
"links": {
"related": "http:///api/users/00000000-0000-0000-0000-000000000011",
"self": "http:///api/users/00000000-0000-0000-0000-000000000011"
"related": "http:///api/users/00000000-0000-0000-0000-000000000010",
"self": "http:///api/users/00000000-0000-0000-0000-000000000010"
}
},
"events": {
Expand All @@ -236,12 +226,12 @@
},
"space": {
"data": {
"id": "00000000-0000-0000-0000-000000000012",
"id": "00000000-0000-0000-0000-000000000011",
"type": "spaces"
},
"links": {
"related": "http:///api/spaces/00000000-0000-0000-0000-000000000012",
"self": "http:///api/spaces/00000000-0000-0000-0000-000000000012"
"related": "http:///api/spaces/00000000-0000-0000-0000-000000000011",
"self": "http:///api/spaces/00000000-0000-0000-0000-000000000011"
}
},
"system.boardcolumns": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,34 +56,24 @@
},
"id": "00000000-0000-0000-0000-000000000002",
"relationships": {
"link_category": {
"data": {
"id": "00000000-0000-0000-0000-000000000006",
"type": "workitemlinkcategories"
},
"links": {
"related": "http:///api/workitemlinkcategories/00000000-0000-0000-0000-000000000006",
"self": "http:///api/workitemlinkcategories/00000000-0000-0000-0000-000000000006"
}
},
"space": {
"data": {
"id": "00000000-0000-0000-0000-000000000007",
"id": "00000000-0000-0000-0000-000000000006",
"type": "spaces"
},
"links": {
"related": "http:///api/spaces/00000000-0000-0000-0000-000000000007",
"self": "http:///api/spaces/00000000-0000-0000-0000-000000000007"
"related": "http:///api/spaces/00000000-0000-0000-0000-000000000006",
"self": "http:///api/spaces/00000000-0000-0000-0000-000000000006"
}
},
"space_template": {
"data": {
"id": "00000000-0000-0000-0000-000000000008",
"id": "00000000-0000-0000-0000-000000000007",
"type": "spacetemplates"
},
"links": {
"related": "http:///api/spacetemplates/00000000-0000-0000-0000-000000000008",
"self": "http:///api/spacetemplates/00000000-0000-0000-0000-000000000008"
"related": "http:///api/spacetemplates/00000000-0000-0000-0000-000000000007",
"self": "http:///api/spacetemplates/00000000-0000-0000-0000-000000000007"
}
}
},
Expand All @@ -100,7 +90,7 @@
"system.order": 1,
"system.remote_item_id": null,
"system.state": "new",
"system.title": "work item 00000000-0000-0000-0000-000000000009",
"system.title": "work item 00000000-0000-0000-0000-000000000008",
"system.updated_at": "0001-01-01T00:00:00Z",
"version": 0
},
Expand All @@ -114,11 +104,11 @@
"assignees": {},
"baseType": {
"data": {
"id": "00000000-0000-0000-0000-000000000010",
"id": "00000000-0000-0000-0000-000000000009",
"type": "workitemtypes"
},
"links": {
"self": "http:///api/workitemtypes/00000000-0000-0000-0000-000000000010"
"self": "http:///api/workitemtypes/00000000-0000-0000-0000-000000000009"
}
},
"children": {
Expand All @@ -134,12 +124,12 @@
},
"creator": {
"data": {
"id": "00000000-0000-0000-0000-000000000011",
"id": "00000000-0000-0000-0000-000000000010",
"type": "users"
},
"links": {
"related": "http:///api/users/00000000-0000-0000-0000-000000000011",
"self": "http:///api/users/00000000-0000-0000-0000-000000000011"
"related": "http:///api/users/00000000-0000-0000-0000-000000000010",
"self": "http:///api/users/00000000-0000-0000-0000-000000000010"
}
},
"events": {
Expand All @@ -155,12 +145,12 @@
},
"space": {
"data": {
"id": "00000000-0000-0000-0000-000000000012",
"id": "00000000-0000-0000-0000-000000000011",
"type": "spaces"
},
"links": {
"related": "http:///api/spaces/00000000-0000-0000-0000-000000000012",
"self": "http:///api/spaces/00000000-0000-0000-0000-000000000012"
"related": "http:///api/spaces/00000000-0000-0000-0000-000000000011",
"self": "http:///api/spaces/00000000-0000-0000-0000-000000000011"
}
},
"system.boardcolumns": {},
Expand All @@ -183,7 +173,7 @@
"system.order": 2,
"system.remote_item_id": null,
"system.state": "new",
"system.title": "work item 00000000-0000-0000-0000-000000000013",
"system.title": "work item 00000000-0000-0000-0000-000000000012",
"system.updated_at": "0001-01-01T00:00:00Z",
"version": 0
},
Expand All @@ -197,11 +187,11 @@
"assignees": {},
"baseType": {
"data": {
"id": "00000000-0000-0000-0000-000000000010",
"id": "00000000-0000-0000-0000-000000000009",
"type": "workitemtypes"
},
"links": {
"self": "http:///api/workitemtypes/00000000-0000-0000-0000-000000000010"
"self": "http:///api/workitemtypes/00000000-0000-0000-0000-000000000009"
}
},
"children": {
Expand All @@ -217,12 +207,12 @@
},
"creator": {
"data": {
"id": "00000000-0000-0000-0000-000000000011",
"id": "00000000-0000-0000-0000-000000000010",
"type": "users"
},
"links": {
"related": "http:///api/users/00000000-0000-0000-0000-000000000011",
"self": "http:///api/users/00000000-0000-0000-0000-000000000011"
"related": "http:///api/users/00000000-0000-0000-0000-000000000010",
"self": "http:///api/users/00000000-0000-0000-0000-000000000010"
}
},
"events": {
Expand All @@ -238,12 +228,12 @@
},
"space": {
"data": {
"id": "00000000-0000-0000-0000-000000000012",
"id": "00000000-0000-0000-0000-000000000011",
"type": "spaces"
},
"links": {
"related": "http:///api/spaces/00000000-0000-0000-0000-000000000012",
"self": "http:///api/spaces/00000000-0000-0000-0000-000000000012"
"related": "http:///api/spaces/00000000-0000-0000-0000-000000000011",
"self": "http:///api/spaces/00000000-0000-0000-0000-000000000011"
}
},
"system.boardcolumns": {},
Expand Down
Loading