Service - Conversation: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
(Created page with "= Overview = A Conversation is a single thread of comments, and perhaps other objects. = Repository = * not yet made: https://bitbucket.org/izara-conversations/izara-conversations-conversation = DynamoDB tables = == LogicalResults == Standard LogicalResults Per Service = Graph database = == Nodes == <syntaxhighlight lang="JavaScript"> { nodeLabel: "{ConversationLib.CONVERSATION_GRAPH_NODE_LABEL}", // "conversation" schema: { identifier: true, restrict...")
 
No edit summary
Line 29: Line 29:
identifier: true, // create unique id from request params and uniqueMessageId
identifier: true, // create unique id from request params and uniqueMessageId
},
},
title: {},
},
},
}
}
Line 48: Line 49:
}
}
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight lang="JavaScript">
{
relationshipType: "{ConversationLib.HAS_SUBJECT_GRAPH_REL_TYPE}", // "has_Subject"
schema: {
immutable: true,
restrictProperties: true,
properties: {
originTimestamp: //timestamp the request to create/change this relationship was sent
},
}
}
</syntaxhighlight>
* Links to any other object/s as the subject of the conversation
= Tagging or categorizing Conversations =
* Want a way to put comments into a category tree
* Perhaps have another service and object type that is conversation category tree, and link to nodes in there
* Or use NodeProperties to group Conversations into categories


= Working documents =
= Working documents =

Revision as of 14:47, 22 September 2023

Overview

A Conversation is a single thread of comments, and perhaps other objects.

Repository

  • not yet made:

https://bitbucket.org/izara-conversations/izara-conversations-conversation

DynamoDB tables

LogicalResults

Standard LogicalResults Per Service

Graph database

Nodes

{
	nodeLabel: "{ConversationLib.CONVERSATION_GRAPH_NODE_LABEL}", // "conversation"
	schema: {
		identifier: true,
		restrictProperties: true,
		restrictRelationships: true,
		properties: {
			conversationId: {
				identifier: true, // create unique id from request params and uniqueMessageId
			},
			title: {},
		},
	}
}

Relationships

{
	relationshipType: "{ConversationLib.INITIAL_COMMENT_GRAPH_REL_TYPE}", // "has_InitialComment"
	schema: {
		immutable: true,
		restrictProperties: true,
		properties: {
			originTimestamp: //timestamp the request to create/change this relationship was sent
		},
	}
}
{
	relationshipType: "{ConversationLib.HAS_SUBJECT_GRAPH_REL_TYPE}", // "has_Subject"
	schema: {
		immutable: true,
		restrictProperties: true,
		properties: {
			originTimestamp: //timestamp the request to create/change this relationship was sent
		},
	}
}
  • Links to any other object/s as the subject of the conversation

Tagging or categorizing Conversations

  • Want a way to put comments into a category tree
  • Perhaps have another service and object type that is conversation category tree, and link to nodes in there
  • Or use NodeProperties to group Conversations into categories

Working documents

Conversation