Service - Conversation

From Izara Wiki
Jump to navigation Jump to search

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