Skip to content

Conversation

@Leopold-Cramer
Copy link
Contributor

No description provided.

Copy link
Member

@jreynard-code jreynard-code left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ;)
As we discussed, changes will be done after merge...

mutableMapOf(
"lastVersion" to "1",
"graphName" to graphId,
"graphRotation" to "3",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add graphRotation as optional parameter with default value to 2 ?


queryBuffer.send()
} else {
getEntities(organizationId, graphId, "node", listOf("node_a"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment please

}

(prop as String).also {
if (it == "") type = PropertyType.BI_NULL
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it.isNullOrBlank() instead

fun addNodes(vararg nodesArg: Node) {
nodesArg.forEach {
if (it.properties.keys.any { s -> s !in header })
// TODO create specific exception
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To remove

tasks.add(currentBulkQueryBuilder.build())

tasks.forEach { query ->
println(query.toString())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To remove or replace by logger

println(query.toString())
val result = jedis.sendCommand({ "GRAPH.BULK".toByteArray() }, *query.generateQueryArgs())

println((result as ByteArray).toString(Charset.defaultCharset()))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To remove or replace by logger

Comment on lines +395 to +400
# - name: graph_model
# in: query
# description: the Graph Model
# required: false
# schema:
# type: object
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To remove

@Leopold-Cramer Leopold-Cramer merged commit a378c7d into v3 Apr 27, 2023
@lalepee lalepee deleted the add_createGraph_endpoint branch May 25, 2023 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants