Skip to content

Commit

Permalink
Merge pull request #8300 from mandy-chessell/oak2024
Browse files Browse the repository at this point in the history
Add missing operations for retrieving feedback
  • Loading branch information
mandy-chessell authored Jul 25, 2024
2 parents deb6b98 + 484ac5e commit 2160756
Show file tree
Hide file tree
Showing 7 changed files with 835 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Content-Type: application/json

###

@server1GUID=ea997682-a8fe-4ae9-967b-6fb0252d734f
@server1GUID=add guid here


###
Expand Down Expand Up @@ -210,7 +210,7 @@ Content-Type: application/json

###

@ucCatalogGUID=9b8c275d-d1d7-4e42-9962-21656334b77b
@ucCatalogGUID=add guid here

###
# @name getTechnologyTypeElements (schemas)
Expand All @@ -225,7 +225,7 @@ Content-Type: application/json

###

@ucSchemaGUID=3d649060-ffab-4bfa-8a7b-6392cd3d99d2
@ucSchemaGUID=add guid here

###
# @name=getAssetGraph (schemas)
Expand All @@ -250,7 +250,7 @@ Content-Type: application/json

###

@ucVolumeGUID=b6a46809-35ad-4324-8699-1621ea20e11c
@ucVolumeGUID=add guid here

###
# @name=getAssetGraph (volumes)
Expand Down Expand Up @@ -292,12 +292,12 @@ Authorization: Bearer {{token}}
Content-Type: application/json

{
"filter" : "Unity Catalog Table"
"filter" : "Unity Catalog Schema"
}

###

@ucTableGUID=b20f88cb-8e5c-4ff2-bead-e193b910bc13
@ucTableGUID=add guid here

###
# @name=getAssetGraph (Tables)
Expand Down Expand Up @@ -332,7 +332,7 @@ Content-Type: application/json

###

@server2GUID=8e9e3c2d-baf1-4250-9168-7e3941f894ff
@server2GUID=add guid here

###
# @name=getAssetGraph (UC Server 2)
Expand Down Expand Up @@ -371,7 +371,7 @@ Content-Type: application/json

###

@catalogTargetRelationshipGUID=d38ec279-d3d7-4820-8795-262f26fb22cd
@catalogTargetRelationshipGUID=add guid here

###

Expand Down Expand Up @@ -459,7 +459,7 @@ Content-Type: application/json

###

@catalogGUID=eeb1bb8e-11fc-4946-a027-9034bb67f12d
@catalogGUID=add guid here

###
# @name deleteMetadataElement
Expand All @@ -482,7 +482,7 @@ Content-Type: application/json
"templateGUID" : "{{ucServerTemplateGUID}}",
"isOwnAnchor" : true,
"placeholderPropertyValues" : {
"hostURL" : "http://egeria.pdr-associates.com",
"hostURL" : "http://localhost",
"portNumber" : "7070",
"serverName" : "Unity Catalog 3",
"versionIdentifier" : "V1.0",
Expand Down Expand Up @@ -517,7 +517,7 @@ Authorization: Bearer {{token}}
Content-Type: application/json

{
"catalogTargetName" : "uc3.1",
"catalogTargetName" : "uc3",
"templateProperties" : {
"Unity Catalog Catalog" : "{{ucCatalogTemplateGUID}}",
"Unity Catalog Schema" : "{{ucSchemaTemplateGUID}}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ Content-Type: application/json
"elementProperties" : {
"class" : "CommentProperties",
"qualifiedName" : "Add unique name here",
"text" : "Add comment text here",
"commentType" : "GENERAL_COMMENT",
"commentText" : "Add comment text here",
"commentType" : "STANDARD_COMMENT",
"additionalProperties" : {
"propertyName 1" : "property value 1",
"propertyName 2" : "property value 2"
Expand All @@ -90,8 +90,8 @@ Content-Type: application/json
"elementProperties" : {
"class" : "CommentProperties",
"qualifiedName" : "Add unique name here",
"text" : "Add comment text here",
"commentType" : "GENERAL_COMMENT",
"commentText" : "Add comment text here",
"commentType" : "STANDARD_COMMENT",
"additionalProperties" : {
"propertyName 1" : "property value 1",
"propertyName 2" : "property value 2"
Expand Down Expand Up @@ -209,6 +209,12 @@ POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/feedback-manager/eleme
Authorization: Bearer {{token}}
Content-Type: application/json

###
# @name getAttachedLikes
# Return the likes attached to an element.
POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/feedback-manager/elements/{{elementGUID}}/likes/retrieve?startFrom=0&pageSize=10
Authorization: Bearer {{token}}
Content-Type: application/json

###
# =====================================================================================================================
Expand Down Expand Up @@ -243,6 +249,13 @@ Authorization: Bearer {{token}}
Content-Type: application/json


###
# @name getAttachedRatings
# Return the ratings attached to an element.
POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/feedback-manager/elements/{{elementGUID}}/ratings/retrieve?startFrom=0&pageSize=10
Authorization: Bearer {{token}}
Content-Type: application/json

###
# =====================================================================================================================
# Informal tags are labels (with an optional description) that can be used to group elements together or mark
Expand Down Expand Up @@ -361,6 +374,14 @@ Authorization: Bearer {{token}}
Content-Type: application/json


###
# @name getAttachedTags
# Return the informal tags attached to an element.
POST {{baseURL}}/servers/{{viewServer}}/api/open-metadata/feedback-manager/elements/{{elementGUID}}/tags/retrieve?startFrom=0&pageSize=10
Authorization: Bearer {{token}}
Content-Type: application/json


###
# @name removeTagFromElement
# Removes a link between a tag and an element that was added by this user.
Expand Down
Loading

0 comments on commit 2160756

Please sign in to comment.