Re: Outreachy 2020-2021 - Neo4j - Weekly reports.

2021-02-28 Thread gabriela ortiz
Hi all.

I wanted to inform the tasks I worked on this week: Feb 20 - Feb 26 .

* Develop deleteByQuery method.
* Develop the Metadata Analyzer classes for Neo4j
* Enable Map Reduce tests
* Enable all tests of Neo4jStoreTest.
* Upload the documentation Neo4j -
https://issues.apache.org/jira/browse/GORA-663?focusedCommentId=17292671=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17292671
* Worked on my final blog.

My code is here: https://github.com/mgov88/gora/tree/GORA-663

Regards,
Gaby

El mié, 24 de feb. de 2021 a la(s) 11:36, John Mora (jhnmora...@gmail.com)
escribió:

> Hi Gaby
>
> Thanks for your report
>
> The delete method should return true when a record is actually deleted. If
> the key does not exist it should return false.
>
> Try to use the executeUpdate method of PreparedStatement. It returns the
> number of affected rows, if this number is greater than zero you can return
> true or false otherwise.
>
> Best,
> John
>
> El lun, 22 feb 2021 a las 1:09, gabriela ortiz ()
> escribió:
>
>> Hi all.
>>
>> I wanted to inform the tasks I worked on this week: Feb 13 - Feb 19 .
>>
>> * Develop method newQuery.
>> * Develop classes Neo4jResult and Neo4jQuery.
>> * Develop method execute(query).
>> * Activate tests:
>> testTruncateSchema
>> testDeleteSchema
>> testQuery
>> testQueryStartKey
>> testQueryEndKey
>> testQueryKeyRange
>> testQueryWebPageSingleKey
>> testQueryWebPageSingleKeyDefaultFields
>> testQueryWebPageQueryEmptyResults
>> testDelete
>> testGetPartitions
>> testResultSize
>> testResultSizeStartKey
>> testResultSizeEndKey
>> testResultSizeKeyRange
>> testResultSizeWithLimit
>> testResultSizeStartKeyWithLimit
>> testResultSizeEndKeyWithLimit
>> testResultSizeKeyRangeWithLimit
>>
>> Also, I have a question, When the method Neo4jStore#delete(key) should
>> return true or false?, I found out that I had to always return true in
>> order to pass the tests, is that correct?
>>
>> My code is here: https://github.com/mgov88/gora/tree/GORA-663
>>
>> Regards,
>> Gaby
>>
>> El lun, 15 de feb. de 2021 a la(s) 19:01, John Mora (jhnmora...@gmail.com)
>> escribió:
>>
>>> Hi Gaby
>>>
>>> Thanks for the update.
>>>
>>> Overall the code looks good, I do not have specific feedback for you
>>> this week.
>>>
>>> According to your proposed timeline you should start working on the
>>> Query features, let's do it. Let me know if you have questions.
>>>
>>>
>>> Thanks,
>>> John
>>>
>>> El sáb, 13 feb 2021 a las 0:57, gabriela ortiz ()
>>> escribió:
>>>
>>>> Hi all.
>>>>
>>>> I wanted to inform the tasks I worked on this week: Feb 06 - Feb 12 .
>>>>
>>>> * Enhance variable names.
>>>> * Add enum for neo4j protocols.
>>>> * Enhance getUnionSchema method for Maps.
>>>> * Implement partitons.
>>>> * Activate tests:
>>>>   testUpdate
>>>>   testGetRecursive
>>>>   testGetDoubleRecursive
>>>>   testGetWebPage
>>>>   testGetWebPageDefaultFields
>>>>
>>>> Also, I started working on my C.V.
>>>>
>>>> My code is here: https://github.com/mgov88/gora/tree/GORA-663
>>>>
>>>> Regards,
>>>> Gaby
>>>>
>>>> El mié, 10 de feb. de 2021 a la(s) 21:33, gabriela ortiz (
>>>> arqgabyor...@gmail.com) escribió:
>>>>
>>>>> Hi John.
>>>>>
>>>>> Thanks for the feedback I will work on your comments.
>>>>>
>>>>> Regards,
>>>>> Gaby
>>>>>
>>>>>
>>>>> El mié, 10 de feb. de 2021 a la(s) 12:04, John Mora (
>>>>> jhnmora...@gmail.com) escribió:
>>>>>
>>>>>> Hi Gaby
>>>>>>
>>>>>> Thanks for the update.
>>>>>>
>>>>>> BTW, I am sorry that I did not provide feedback on your code last
>>>>>> week, I have been busy.
>>>>>>
>>>>>> Some comments:
>>>>>>
>>>>>> Please use more descriptive variable names:
>>>>>>
>>>>>>
>>>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L368
>>>>>>
>>>>>> ht

Re: Outreachy 2020-2021 - Neo4j - Weekly reports.

2021-02-21 Thread gabriela ortiz
Hi all.

I wanted to inform the tasks I worked on this week: Feb 13 - Feb 19 .

* Develop method newQuery.
* Develop classes Neo4jResult and Neo4jQuery.
* Develop method execute(query).
* Activate tests:
testTruncateSchema
testDeleteSchema
testQuery
testQueryStartKey
testQueryEndKey
testQueryKeyRange
testQueryWebPageSingleKey
testQueryWebPageSingleKeyDefaultFields
testQueryWebPageQueryEmptyResults
testDelete
testGetPartitions
testResultSize
testResultSizeStartKey
testResultSizeEndKey
testResultSizeKeyRange
testResultSizeWithLimit
testResultSizeStartKeyWithLimit
testResultSizeEndKeyWithLimit
testResultSizeKeyRangeWithLimit

Also, I have a question, When the method Neo4jStore#delete(key) should
return true or false?, I found out that I had to always return true in
order to pass the tests, is that correct?

My code is here: https://github.com/mgov88/gora/tree/GORA-663

Regards,
Gaby

El lun, 15 de feb. de 2021 a la(s) 19:01, John Mora (jhnmora...@gmail.com)
escribió:

> Hi Gaby
>
> Thanks for the update.
>
> Overall the code looks good, I do not have specific feedback for you this
> week.
>
> According to your proposed timeline you should start working on the Query
> features, let's do it. Let me know if you have questions.
>
>
> Thanks,
> John
>
> El sáb, 13 feb 2021 a las 0:57, gabriela ortiz ()
> escribió:
>
>> Hi all.
>>
>> I wanted to inform the tasks I worked on this week: Feb 06 - Feb 12 .
>>
>> * Enhance variable names.
>> * Add enum for neo4j protocols.
>> * Enhance getUnionSchema method for Maps.
>> * Implement partitons.
>> * Activate tests:
>>   testUpdate
>>   testGetRecursive
>>   testGetDoubleRecursive
>>   testGetWebPage
>>   testGetWebPageDefaultFields
>>
>> Also, I started working on my C.V.
>>
>> My code is here: https://github.com/mgov88/gora/tree/GORA-663
>>
>> Regards,
>> Gaby
>>
>> El mié, 10 de feb. de 2021 a la(s) 21:33, gabriela ortiz (
>> arqgabyor...@gmail.com) escribió:
>>
>>> Hi John.
>>>
>>> Thanks for the feedback I will work on your comments.
>>>
>>> Regards,
>>> Gaby
>>>
>>>
>>> El mié, 10 de feb. de 2021 a la(s) 12:04, John Mora (
>>> jhnmora...@gmail.com) escribió:
>>>
>>>> Hi Gaby
>>>>
>>>> Thanks for the update.
>>>>
>>>> BTW, I am sorry that I did not provide feedback on your code last week,
>>>> I have been busy.
>>>>
>>>> Some comments:
>>>>
>>>> Please use more descriptive variable names:
>>>>
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L368
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L165
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L171
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L193
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L194
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L200
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L206
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L216
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L216
>>>>
>>>> Typo:
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L216
>>>>
>>>> Avoid string concatenation:
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L307
>>>>
>>>> Use an Enum instead of string literals,
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L129
>>>>
>>>>
>>>> regards
>>>> John
>>>>
>>>> El lun, 8 feb 2021 a las 2:08, gabriela ortiz ()
>>>

Re: Outreachy 2020-2021 - Neo4j - Weekly reports.

2021-02-12 Thread gabriela ortiz
Hi all.

I wanted to inform the tasks I worked on this week: Feb 06 - Feb 12 .

* Enhance variable names.
* Add enum for neo4j protocols.
* Enhance getUnionSchema method for Maps.
* Implement partitons.
* Activate tests:
  testUpdate
  testGetRecursive
  testGetDoubleRecursive
  testGetWebPage
  testGetWebPageDefaultFields

Also, I started working on my C.V.

My code is here: https://github.com/mgov88/gora/tree/GORA-663

Regards,
Gaby

El mié, 10 de feb. de 2021 a la(s) 21:33, gabriela ortiz (
arqgabyor...@gmail.com) escribió:

> Hi John.
>
> Thanks for the feedback I will work on your comments.
>
> Regards,
> Gaby
>
>
> El mié, 10 de feb. de 2021 a la(s) 12:04, John Mora (jhnmora...@gmail.com)
> escribió:
>
>> Hi Gaby
>>
>> Thanks for the update.
>>
>> BTW, I am sorry that I did not provide feedback on your code last week, I
>> have been busy.
>>
>> Some comments:
>>
>> Please use more descriptive variable names:
>>
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L368
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L165
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L171
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L193
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L194
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L200
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L206
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L216
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L216
>>
>> Typo:
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L216
>>
>> Avoid string concatenation:
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L307
>>
>> Use an Enum instead of string literals,
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L129
>>
>>
>> regards
>> John
>>
>> El lun, 8 feb 2021 a las 2:08, gabriela ortiz ()
>> escribió:
>>
>>> Hi all.
>>>
>>> I wanted to inform the tasks I worked on this week: Jan 30 - Feb 05 .
>>>
>>> * Enhance the deleteSchema method (delete existing nodes when deleting
>>> the schema constraints)
>>> * Enhance Map, Record, Array and Bytes serialization / de-serialization
>>> process using Base64 encoding.
>>> * Activate tests:
>>> testPutNested
>>> testPutArray
>>> testPutBytes
>>> testPutMap
>>> testPutMixedMaps
>>> testGetNested
>>> testGet3UnionField
>>> testGetWithFields
>>>
>>> My code is here: https://github.com/mgov88/gora/tree/GORA-663
>>>
>>> Regards,
>>> Gaby
>>>
>>> El lun, 1 de feb. de 2021 a la(s) 01:53, gabriela ortiz (
>>> arqgabyor...@gmail.com) escribió:
>>>
>>>> Hi all.
>>>>
>>>> I wanted to inform the tasks I worked on this week: Jan 17 - Jan 29 .
>>>>
>>>> * Add suggested javadocs.
>>>> * Add suggested constants.
>>>> * Make EXIST constraints optional.
>>>> * Activate tests:
>>>> testNewInstance
>>>> testAutoCreateSchema
>>>> testPut
>>>> testBenchmarkExists
>>>> testGetNonExisting
>>>> testObjectFieldValue
>>>> * Write a blog (Career opportunities)
>>>>
>>>> My code is here: https://github.com/mgov88/gora/tree/GORA-663
>>>>
>>>> Regards,
>>>> Gaby
>>>>
>>>>
>>>> El mié, 27 de ene. de 2021 a la(s) 12:00, John Mora (
>>>> jhnmora...@gmail.com) escribió:
>>>>
>>>>> Hi Gaby
>>>>>
>>>>> Thanks for your report.
>>>>>
>>>>> Some comments:
>>

Re: Outreachy 2020-2021 - Neo4j - Weekly reports.

2021-02-10 Thread gabriela ortiz
Hi John.

Thanks for the feedback I will work on your comments.

Regards,
Gaby


El mié, 10 de feb. de 2021 a la(s) 12:04, John Mora (jhnmora...@gmail.com)
escribió:

> Hi Gaby
>
> Thanks for the update.
>
> BTW, I am sorry that I did not provide feedback on your code last week, I
> have been busy.
>
> Some comments:
>
> Please use more descriptive variable names:
>
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L368
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L165
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L171
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L193
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L194
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L200
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L206
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L216
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L216
>
> Typo:
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L216
>
> Avoid string concatenation:
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L307
>
> Use an Enum instead of string literals,
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L129
>
>
> regards
> John
>
> El lun, 8 feb 2021 a las 2:08, gabriela ortiz ()
> escribió:
>
>> Hi all.
>>
>> I wanted to inform the tasks I worked on this week: Jan 30 - Feb 05 .
>>
>> * Enhance the deleteSchema method (delete existing nodes when deleting
>> the schema constraints)
>> * Enhance Map, Record, Array and Bytes serialization / de-serialization
>> process using Base64 encoding.
>> * Activate tests:
>> testPutNested
>> testPutArray
>> testPutBytes
>> testPutMap
>> testPutMixedMaps
>> testGetNested
>> testGet3UnionField
>> testGetWithFields
>>
>> My code is here: https://github.com/mgov88/gora/tree/GORA-663
>>
>> Regards,
>> Gaby
>>
>> El lun, 1 de feb. de 2021 a la(s) 01:53, gabriela ortiz (
>> arqgabyor...@gmail.com) escribió:
>>
>>> Hi all.
>>>
>>> I wanted to inform the tasks I worked on this week: Jan 17 - Jan 29 .
>>>
>>> * Add suggested javadocs.
>>> * Add suggested constants.
>>> * Make EXIST constraints optional.
>>> * Activate tests:
>>> testNewInstance
>>> testAutoCreateSchema
>>> testPut
>>> testBenchmarkExists
>>> testGetNonExisting
>>> testObjectFieldValue
>>> * Write a blog (Career opportunities)
>>>
>>> My code is here: https://github.com/mgov88/gora/tree/GORA-663
>>>
>>> Regards,
>>> Gaby
>>>
>>>
>>> El mié, 27 de ene. de 2021 a la(s) 12:00, John Mora (
>>> jhnmora...@gmail.com) escribió:
>>>
>>>> Hi Gaby
>>>>
>>>> Thanks for your report.
>>>>
>>>> Some comments:
>>>>
>>>> Please use constants instead of literal values here:
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L204
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L224
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L251
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L341
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L284
>>>>
>>>> Add javadocs here:
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/ap

Re: Outreachy 2020-2021 - Neo4j - Weekly reports.

2021-02-07 Thread gabriela ortiz
Hi all.

I wanted to inform the tasks I worked on this week: Jan 30 - Feb 05 .

* Enhance the deleteSchema method (delete existing nodes when deleting the
schema constraints)
* Enhance Map, Record, Array and Bytes serialization / de-serialization
process using Base64 encoding.
* Activate tests:
testPutNested
testPutArray
testPutBytes
testPutMap
testPutMixedMaps
testGetNested
testGet3UnionField
testGetWithFields

My code is here: https://github.com/mgov88/gora/tree/GORA-663

Regards,
Gaby

El lun, 1 de feb. de 2021 a la(s) 01:53, gabriela ortiz (
arqgabyor...@gmail.com) escribió:

> Hi all.
>
> I wanted to inform the tasks I worked on this week: Jan 17 - Jan 29 .
>
> * Add suggested javadocs.
> * Add suggested constants.
> * Make EXIST constraints optional.
> * Activate tests:
> testNewInstance
> testAutoCreateSchema
> testPut
> testBenchmarkExists
> testGetNonExisting
> testObjectFieldValue
> * Write a blog (Career opportunities)
>
> My code is here: https://github.com/mgov88/gora/tree/GORA-663
>
> Regards,
> Gaby
>
>
> El mié, 27 de ene. de 2021 a la(s) 12:00, John Mora (jhnmora...@gmail.com)
> escribió:
>
>> Hi Gaby
>>
>> Thanks for your report.
>>
>> Some comments:
>>
>> Please use constants instead of literal values here:
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L204
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L224
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L251
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L341
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L284
>>
>> Add javadocs here:
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L278
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L388
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L431
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L487
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L500
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L507
>>
>> Regarding the EXISTS constraint: IMHO that is a good approach, but let's
>> make this attribute optional in the mapping and default: false.
>>
>> Regards,
>> John
>>
>> El lun, 25 ene 2021 a las 18:32, gabriela ortiz ()
>> escribió:
>>
>>> Hi all.
>>>
>>> I wanted to inform the tasks I worked on this week: Jan 16 - Jan 22 .
>>>
>>> - Add EXISTS constraints for properties.
>>> - Develop put method.
>>> - Enable test of the put & get methods.
>>> - Switch to fixed version docker image 'neo4j:4.2.2-enterprise' instead
>>> of 'enterprise' tag.
>>>
>>> My code is here: https://github.com/mgov88/gora/tree/GORA-663
>>>
>>> I have a question, in Neo4j the null value represent the absence of the
>>> property/relation:
>>>
>>> "In Neo4j, since there is no table schema or equivalent to restrict
>>> possible properties, non-existence and null are equivalent for node and
>>> relationship properties. That is, there really is no such thing as a
>>> property with a null value; null indicates that the property doesn’t exist
>>> at all."
>>>
>>>
>>> https://neo4j.com/developer/kb/understanding-non-existent-properties-and-null-values/
>>>
>>> I added an attribute in the mapping file to specify if the EXISTS
>>> constraint should be applied, because in the tests sometimes the field
>>> values are null and there are conflicts with this constraint.
>>>
>>>
>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/resources/gora-neo4j-mapping.xml#L22
>>>
>>> Is it correct this way?
>>>
>>> Regardss
>>> Gaby
>>>
>>> El lun, 18 de ene. de 2021 a la(s) 22:58, gabriela ortiz (
>>> arqgabyor...@

Re: Outreachy 2020-2021 - Neo4j - Weekly reports.

2021-01-31 Thread gabriela ortiz
Hi all.

I wanted to inform the tasks I worked on this week: Jan 17 - Jan 29 .

* Add suggested javadocs.
* Add suggested constants.
* Make EXIST constraints optional.
* Activate tests:
testNewInstance
testAutoCreateSchema
testPut
testBenchmarkExists
testGetNonExisting
testObjectFieldValue
* Write a blog (Career opportunities)

My code is here: https://github.com/mgov88/gora/tree/GORA-663

Regards,
Gaby


El mié, 27 de ene. de 2021 a la(s) 12:00, John Mora (jhnmora...@gmail.com)
escribió:

> Hi Gaby
>
> Thanks for your report.
>
> Some comments:
>
> Please use constants instead of literal values here:
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L204
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L224
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L251
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L341
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L284
>
> Add javadocs here:
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L278
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L388
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L431
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L487
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L500
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L507
>
> Regarding the EXISTS constraint: IMHO that is a good approach, but let's
> make this attribute optional in the mapping and default: false.
>
> Regards,
> John
>
> El lun, 25 ene 2021 a las 18:32, gabriela ortiz ()
> escribió:
>
>> Hi all.
>>
>> I wanted to inform the tasks I worked on this week: Jan 16 - Jan 22 .
>>
>> - Add EXISTS constraints for properties.
>> - Develop put method.
>> - Enable test of the put & get methods.
>> - Switch to fixed version docker image 'neo4j:4.2.2-enterprise' instead
>> of 'enterprise' tag.
>>
>> My code is here: https://github.com/mgov88/gora/tree/GORA-663
>>
>> I have a question, in Neo4j the null value represent the absence of the
>> property/relation:
>>
>> "In Neo4j, since there is no table schema or equivalent to restrict
>> possible properties, non-existence and null are equivalent for node and
>> relationship properties. That is, there really is no such thing as a
>> property with a null value; null indicates that the property doesn’t exist
>> at all."
>>
>>
>> https://neo4j.com/developer/kb/understanding-non-existent-properties-and-null-values/
>>
>> I added an attribute in the mapping file to specify if the EXISTS
>> constraint should be applied, because in the tests sometimes the field
>> values are null and there are conflicts with this constraint.
>>
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/resources/gora-neo4j-mapping.xml#L22
>>
>> Is it correct this way?
>>
>> Regardss
>> Gaby
>>
>> El lun, 18 de ene. de 2021 a la(s) 22:58, gabriela ortiz (
>> arqgabyor...@gmail.com) escribió:
>>
>>> Hi
>>>
>>> Thanks for your comments. I am working on them.
>>>
>>> Best regards,
>>> Gaby
>>>
>>> El lun, 18 de ene. de 2021 a la(s) 17:11, John Mora (
>>> jhnmora...@gmail.com) escribió:
>>>
>>>> Hi Gaby.
>>>>
>>>> Thanks for your update.
>>>>
>>>> Some comments.
>>>>
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L156
>>>>
>>>> Please create EXISTS constraints for the other properties of the Node
>>>> as well.
>>>>
>>>>
>>>> https://neo4j.com/docs/cypher-manual/current/administration/constraints/#administration-constraints-prop-exist-nodes
>>>>
>>>> You can use the mapping parsed from the XML.
>>>>
>>>>
>>>> https://github

Re: Outreachy 2020-2021 - Neo4j - Weekly reports.

2021-01-25 Thread gabriela ortiz
Hi all.

I wanted to inform the tasks I worked on this week: Jan 16 - Jan 22 .

- Add EXISTS constraints for properties.
- Develop put method.
- Enable test of the put & get methods.
- Switch to fixed version docker image 'neo4j:4.2.2-enterprise' instead of
'enterprise' tag.

My code is here: https://github.com/mgov88/gora/tree/GORA-663

I have a question, in Neo4j the null value represent the absence of the
property/relation:

"In Neo4j, since there is no table schema or equivalent to restrict
possible properties, non-existence and null are equivalent for node and
relationship properties. That is, there really is no such thing as a
property with a null value; null indicates that the property doesn’t exist
at all."

https://neo4j.com/developer/kb/understanding-non-existent-properties-and-null-values/

I added an attribute in the mapping file to specify if the EXISTS
constraint should be applied, because in the tests sometimes the field
values are null and there are conflicts with this constraint.

https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/resources/gora-neo4j-mapping.xml#L22

Is it correct this way?

Regardss
Gaby

El lun, 18 de ene. de 2021 a la(s) 22:58, gabriela ortiz (
arqgabyor...@gmail.com) escribió:

> Hi
>
> Thanks for your comments. I am working on them.
>
> Best regards,
> Gaby
>
> El lun, 18 de ene. de 2021 a la(s) 17:11, John Mora (jhnmora...@gmail.com)
> escribió:
>
>> Hi Gaby.
>>
>> Thanks for your update.
>>
>> Some comments.
>>
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L156
>>
>> Please create EXISTS constraints for the other properties of the Node as
>> well.
>>
>>
>> https://neo4j.com/docs/cypher-manual/current/administration/constraints/#administration-constraints-prop-exist-nodes
>>
>> You can use the mapping parsed from the XML.
>>
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/mapping/Neo4jMapping.java#L38
>>
>> Please use a specific docker image tag of Neo4j instead of the 'latest'
>> or 'enterprise'
>>
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/java/org/apache/gora/neo4j/GoraNeo4jTestDriver.java#L60
>>
>> This might break the code when a new version of Neo4j is released.
>>
>> Regards,
>> John
>>
>> El dom, 17 ene 2021 a las 14:39, gabriela ortiz ()
>> escribió:
>>
>>> Hi all.
>>>
>>> I wanted to inform the tasks I worked on this week: Jan 09 - Jan 15 .
>>>
>>> - Enhance the javadocs documentation.
>>> - Replace literal values with constants.
>>> - Develop the put() method of the datastore.
>>> - Test the put / exists methods.
>>> - Write a blog for this week.
>>>
>>> My code is here: https://github.com/mgov88/gora/tree/GORA-663
>>>
>>> Regardss
>>> Gaby
>>>
>>> El lun, 11 de ene. de 2021 a la(s) 09:46, gabriela ortiz (
>>> arqgabyor...@gmail.com) escribió:
>>>
>>>> Hi
>>>>
>>>> Thanks for your comments. I will add the missing documentation and
>>>> thanks for your reminder I will fill the form now.
>>>>
>>>> Best regards,
>>>> Gaby
>>>>
>>>> El lun, 11 de ene. de 2021 a la(s) 00:16, John Mora (
>>>> jhnmora...@gmail.com) escribió:
>>>>
>>>>> Hi.
>>>>>
>>>>> Thanks for the update.
>>>>>
>>>>> Some comments:
>>>>>
>>>>> Please use constants instead of literal values here:
>>>>>
>>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/java/org/apache/gora/neo4j/GoraNeo4jTestDriver.java#L37
>>>>>
>>>>> Add javadocs in these classes:
>>>>>
>>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/java/org/apache/gora/neo4j/store/Neo4jStoreTest.java
>>>>>
>>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/java/org/apache/gora/neo4j/GoraNeo4jTestDriver.java
>>>>>
>>>>> Add descriptions for the attributes of these classes:
>>>>>
>>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/mapping/Neo4jMapping.java
>>>>>
>>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/mapping/Property.java
>>>>>
>>>>> Please do

Re: Outreachy 2020-2021 - Neo4j - Weekly reports.

2021-01-18 Thread gabriela ortiz
Hi

Thanks for your comments. I am working on them.

Best regards,
Gaby

El lun, 18 de ene. de 2021 a la(s) 17:11, John Mora (jhnmora...@gmail.com)
escribió:

> Hi Gaby.
>
> Thanks for your update.
>
> Some comments.
>
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L156
>
> Please create EXISTS constraints for the other properties of the Node as
> well.
>
>
> https://neo4j.com/docs/cypher-manual/current/administration/constraints/#administration-constraints-prop-exist-nodes
>
> You can use the mapping parsed from the XML.
>
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/mapping/Neo4jMapping.java#L38
>
> Please use a specific docker image tag of Neo4j instead of the 'latest' or
> 'enterprise'
>
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/java/org/apache/gora/neo4j/GoraNeo4jTestDriver.java#L60
>
> This might break the code when a new version of Neo4j is released.
>
> Regards,
> John
>
> El dom, 17 ene 2021 a las 14:39, gabriela ortiz ()
> escribió:
>
>> Hi all.
>>
>> I wanted to inform the tasks I worked on this week: Jan 09 - Jan 15 .
>>
>> - Enhance the javadocs documentation.
>> - Replace literal values with constants.
>> - Develop the put() method of the datastore.
>> - Test the put / exists methods.
>> - Write a blog for this week.
>>
>> My code is here: https://github.com/mgov88/gora/tree/GORA-663
>>
>> Regardss
>> Gaby
>>
>> El lun, 11 de ene. de 2021 a la(s) 09:46, gabriela ortiz (
>> arqgabyor...@gmail.com) escribió:
>>
>>> Hi
>>>
>>> Thanks for your comments. I will add the missing documentation and
>>> thanks for your reminder I will fill the form now.
>>>
>>> Best regards,
>>> Gaby
>>>
>>> El lun, 11 de ene. de 2021 a la(s) 00:16, John Mora (
>>> jhnmora...@gmail.com) escribió:
>>>
>>>> Hi.
>>>>
>>>> Thanks for the update.
>>>>
>>>> Some comments:
>>>>
>>>> Please use constants instead of literal values here:
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/java/org/apache/gora/neo4j/GoraNeo4jTestDriver.java#L37
>>>>
>>>> Add javadocs in these classes:
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/java/org/apache/gora/neo4j/store/Neo4jStoreTest.java
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/java/org/apache/gora/neo4j/GoraNeo4jTestDriver.java
>>>>
>>>> Add descriptions for the attributes of these classes:
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/mapping/Neo4jMapping.java
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/mapping/Property.java
>>>>
>>>> Please do not forget to submit your midpoint feedback. It is due Jan.
>>>> 12 4pm UTC.
>>>>
>>>> Cheers,
>>>> John
>>>>
>>>> El sáb, 9 ene 2021 a las 18:18, gabriela ortiz ()
>>>> escribió:
>>>>
>>>>> Hi all.
>>>>>
>>>>> I wanted to inform the tasks I worked on this week: Jan 01 - Jan 08
>>>>>
>>>>> - Develop a test for XSD validations.
>>>>> - Develop methods: exists and delete in the datastore.
>>>>> - Switch to Neo4j Enterprise from Neo4j Community in the container of
>>>>> the tests.
>>>>> - Add comments and javadocs
>>>>> - Change the UNIQUE indexes for NODE KEY indexes (present in the Neo4j
>>>>> Enterprise version)
>>>>>
>>>>> My code is here: https://github.com/mgov88/gora/tree/GORA-663
>>>>>
>>>>> Regardss
>>>>> Gaby
>>>>>
>>>>> El jue, 7 de ene. de 2021 a la(s) 13:28, gabriela ortiz (
>>>>> arqgabyor...@gmail.com) escribió:
>>>>>
>>>>>> Hi John
>>>>>>
>>>>>> Thanks for your comments.
>>>>>>
>>>>>>
>>>>>> El mié, 6 de ene. de 2021 a la(s) 16:10, John Mora (
>>>>>> jhnmora...@gmail.com) escribió:
>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>> Thanks 

Re: Outreachy 2020-2021 - Neo4j - Weekly reports.

2021-01-17 Thread gabriela ortiz
Hi all.

I wanted to inform the tasks I worked on this week: Jan 09 - Jan 15 .

- Enhance the javadocs documentation.
- Replace literal values with constants.
- Develop the put() method of the datastore.
- Test the put / exists methods.
- Write a blog for this week.

My code is here: https://github.com/mgov88/gora/tree/GORA-663

Regardss
Gaby

El lun, 11 de ene. de 2021 a la(s) 09:46, gabriela ortiz (
arqgabyor...@gmail.com) escribió:

> Hi
>
> Thanks for your comments. I will add the missing documentation and thanks
> for your reminder I will fill the form now.
>
> Best regards,
> Gaby
>
> El lun, 11 de ene. de 2021 a la(s) 00:16, John Mora (jhnmora...@gmail.com)
> escribió:
>
>> Hi.
>>
>> Thanks for the update.
>>
>> Some comments:
>>
>> Please use constants instead of literal values here:
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/java/org/apache/gora/neo4j/GoraNeo4jTestDriver.java#L37
>>
>> Add javadocs in these classes:
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/java/org/apache/gora/neo4j/store/Neo4jStoreTest.java
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/java/org/apache/gora/neo4j/GoraNeo4jTestDriver.java
>>
>> Add descriptions for the attributes of these classes:
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/mapping/Neo4jMapping.java
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/mapping/Property.java
>>
>> Please do not forget to submit your midpoint feedback. It is due Jan. 12
>> 4pm UTC.
>>
>> Cheers,
>> John
>>
>> El sáb, 9 ene 2021 a las 18:18, gabriela ortiz ()
>> escribió:
>>
>>> Hi all.
>>>
>>> I wanted to inform the tasks I worked on this week: Jan 01 - Jan 08
>>>
>>> - Develop a test for XSD validations.
>>> - Develop methods: exists and delete in the datastore.
>>> - Switch to Neo4j Enterprise from Neo4j Community in the container of
>>> the tests.
>>> - Add comments and javadocs
>>> - Change the UNIQUE indexes for NODE KEY indexes (present in the Neo4j
>>> Enterprise version)
>>>
>>> My code is here: https://github.com/mgov88/gora/tree/GORA-663
>>>
>>> Regardss
>>> Gaby
>>>
>>> El jue, 7 de ene. de 2021 a la(s) 13:28, gabriela ortiz (
>>> arqgabyor...@gmail.com) escribió:
>>>
>>>> Hi John
>>>>
>>>> Thanks for your comments.
>>>>
>>>>
>>>> El mié, 6 de ene. de 2021 a la(s) 16:10, John Mora (
>>>> jhnmora...@gmail.com) escribió:
>>>>
>>>>> Hi
>>>>>
>>>>> Thanks for your report.
>>>>>
>>>>> Some comments:
>>>>>
>>>>> You are creating a UNIQUE index instead of the NODE KEY you mentioned
>>>>> on your design document. why?
>>>>>
>>>>>
>>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L141
>>>>>
>>>>>
>>>> I found this limitation in the Neo4j community version: "Node key
>>>> constraints, node property existence constraints and relationship property
>>>> existence constraints are only available in Neo4j Enterprise Edition".
>>>>
>>>> And, the UNIQUE indexes work in the community version. Should I seek a
>>>> trial version of the enterprise version or work only with the UNIQUE
>>>> indexes of the community version?
>>>>
>>>>
>>>>
>>>>> Also, can you write the CREATE CONSTRAINT query with Cypher-DSL?
>>>>>
>>>>>
>>>>  I could not find a API for constraints creation in Cypher DSL. The
>>>> create statements that I found are only for nodes.
>>>>
>>>> Please add javadoc documentation and comments on these classes:
>>>>>
>>>>>
>>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jConstants.java
>>>>>
>>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jParameters.java
>>>>>
>>>>> I will add the documentation
>>>>
>>>>
>>>>> Please add a test for the XSD Validation
>>>>&

Re: Outreachy 2020-2021 - Neo4j - Weekly reports.

2021-01-11 Thread gabriela ortiz
Hi

Thanks for your comments. I will add the missing documentation and thanks
for your reminder I will fill the form now.

Best regards,
Gaby

El lun, 11 de ene. de 2021 a la(s) 00:16, John Mora (jhnmora...@gmail.com)
escribió:

> Hi.
>
> Thanks for the update.
>
> Some comments:
>
> Please use constants instead of literal values here:
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/java/org/apache/gora/neo4j/GoraNeo4jTestDriver.java#L37
>
> Add javadocs in these classes:
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/java/org/apache/gora/neo4j/store/Neo4jStoreTest.java
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/test/java/org/apache/gora/neo4j/GoraNeo4jTestDriver.java
>
> Add descriptions for the attributes of these classes:
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/mapping/Neo4jMapping.java
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/mapping/Property.java
>
> Please do not forget to submit your midpoint feedback. It is due Jan. 12
> 4pm UTC.
>
> Cheers,
> John
>
> El sáb, 9 ene 2021 a las 18:18, gabriela ortiz ()
> escribió:
>
>> Hi all.
>>
>> I wanted to inform the tasks I worked on this week: Jan 01 - Jan 08
>>
>> - Develop a test for XSD validations.
>> - Develop methods: exists and delete in the datastore.
>> - Switch to Neo4j Enterprise from Neo4j Community in the container of the
>> tests.
>> - Add comments and javadocs
>> - Change the UNIQUE indexes for NODE KEY indexes (present in the Neo4j
>> Enterprise version)
>>
>> My code is here: https://github.com/mgov88/gora/tree/GORA-663
>>
>> Regardss
>> Gaby
>>
>> El jue, 7 de ene. de 2021 a la(s) 13:28, gabriela ortiz (
>> arqgabyor...@gmail.com) escribió:
>>
>>> Hi John
>>>
>>> Thanks for your comments.
>>>
>>>
>>> El mié, 6 de ene. de 2021 a la(s) 16:10, John Mora (jhnmora...@gmail.com)
>>> escribió:
>>>
>>>> Hi
>>>>
>>>> Thanks for your report.
>>>>
>>>> Some comments:
>>>>
>>>> You are creating a UNIQUE index instead of the NODE KEY you mentioned
>>>> on your design document. why?
>>>>
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L141
>>>>
>>>>
>>> I found this limitation in the Neo4j community version: "Node key
>>> constraints, node property existence constraints and relationship property
>>> existence constraints are only available in Neo4j Enterprise Edition".
>>>
>>> And, the UNIQUE indexes work in the community version. Should I seek a
>>> trial version of the enterprise version or work only with the UNIQUE
>>> indexes of the community version?
>>>
>>>
>>>
>>>> Also, can you write the CREATE CONSTRAINT query with Cypher-DSL?
>>>>
>>>>
>>>  I could not find a API for constraints creation in Cypher DSL. The
>>> create statements that I found are only for nodes.
>>>
>>> Please add javadoc documentation and comments on these classes:
>>>>
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jConstants.java
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jParameters.java
>>>>
>>>> I will add the documentation
>>>
>>>
>>>> Please add a test for the XSD Validation
>>>>
>>>>
>>>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/resources/gora-neo4j.xsd
>>>>
>>>> I will add a test for this.
>>>
>>>
>>>> Cheers,
>>>> John
>>>>
>>>> El dom, 3 ene 2021 a las 23:12, gabriela ortiz ()
>>>> escribió:
>>>>
>>>>> Hi
>>>>>
>>>>> I wanted to inform the tasks I worked on this week: Dec 26 - Dec 31
>>>>>
>>>>> * Develop the Datastore methods: getSchemaName, createSchema, 
>>>>> deleteSchema,
>>>>> schemaExists
>>>>> * Enable tests in Neo4jStoreTest : testCreateSchema ,
>>>>> testSchemaExists
>>>>> * Enhance the implementation of the connection to the backend.
>>>

Re: Outreachy 2020-2021 - Neo4j - Weekly reports.

2021-01-09 Thread gabriela ortiz
Hi all.

I wanted to inform the tasks I worked on this week: Jan 01 - Jan 08

- Develop a test for XSD validations.
- Develop methods: exists and delete in the datastore.
- Switch to Neo4j Enterprise from Neo4j Community in the container of the
tests.
- Add comments and javadocs
- Change the UNIQUE indexes for NODE KEY indexes (present in the Neo4j
Enterprise version)

My code is here: https://github.com/mgov88/gora/tree/GORA-663

Regardss
Gaby

El jue, 7 de ene. de 2021 a la(s) 13:28, gabriela ortiz (
arqgabyor...@gmail.com) escribió:

> Hi John
>
> Thanks for your comments.
>
>
> El mié, 6 de ene. de 2021 a la(s) 16:10, John Mora (jhnmora...@gmail.com)
> escribió:
>
>> Hi
>>
>> Thanks for your report.
>>
>> Some comments:
>>
>> You are creating a UNIQUE index instead of the NODE KEY you mentioned on
>> your design document. why?
>>
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L141
>>
>>
> I found this limitation in the Neo4j community version: "Node key
> constraints, node property existence constraints and relationship property
> existence constraints are only available in Neo4j Enterprise Edition".
>
> And, the UNIQUE indexes work in the community version. Should I seek a
> trial version of the enterprise version or work only with the UNIQUE
> indexes of the community version?
>
>
>
>> Also, can you write the CREATE CONSTRAINT query with Cypher-DSL?
>>
>>
>  I could not find a API for constraints creation in Cypher DSL. The create
> statements that I found are only for nodes.
>
> Please add javadoc documentation and comments on these classes:
>>
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jConstants.java
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jParameters.java
>>
>> I will add the documentation
>
>
>> Please add a test for the XSD Validation
>>
>>
>> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/resources/gora-neo4j.xsd
>>
>> I will add a test for this.
>
>
>> Cheers,
>> John
>>
>> El dom, 3 ene 2021 a las 23:12, gabriela ortiz ()
>> escribió:
>>
>>> Hi
>>>
>>> I wanted to inform the tasks I worked on this week: Dec 26 - Dec 31
>>>
>>> * Develop the Datastore methods: getSchemaName, createSchema, deleteSchema,
>>> schemaExists
>>> * Enable tests in Neo4jStoreTest : testCreateSchema ,  testSchemaExists
>>> * Enhance the implementation of the connection to the backend.
>>> * Write a blog about my project.
>>>
>>> You can find my code in my branch:
>>>
>>> https://github.com/mgov88/gora/tree/GORA-663
>>>
>>> Best Regards,
>>> Gaby
>>>
>>> El mié, 30 de dic. de 2020 a la(s) 13:28, John Mora (
>>> jhnmora...@gmail.com) escribió:
>>>
>>>> Hi
>>>>
>>>> Thanks for your report.
>>>>
>>>> The Utils package is specific for each datastore; it is not mandatory.
>>>> You can move some code there to improve the readability of the core classes
>>>> of the datastore but it is up to you.
>>>>
>>>> I could not find your last changes in your branch in github, please
>>>> make sure to push the commits, so I can review the code.
>>>>
>>>> Cheers,
>>>> John
>>>>
>>>>
>>>> El mar, 29 dic 2020 a las 1:03, gabriela ortiz ()
>>>> escribió:
>>>>
>>>>> Hi
>>>>>
>>>>> I wanted to inform the tasks I worked on this week: Dec 19 - Dec 25
>>>>>
>>>>> * I developed a GoraTestDriver for Neo4j using GenericContainer from
>>>>> the Test Containers library
>>>>> * I developed the initialize method from Neo4jStore to establish
>>>>> connection to the backend (Neo4j)
>>>>> * I developed a XSD validation file for the XML mapping
>>>>>
>>>>> I have a question, I realized that some Datastores have 'utils'
>>>>> packages in the code, are they obligatory? What kind of code should go in
>>>>> them?
>>>>>
>>>>> Best Regards,
>>>>> Gaby
>>>>>
>>>>>
>>>>>
>>>>> El lun, 21 de dic. de 2020 a la(s) 15:45, gabriela ortiz (
>>>>> arqgabyor.

Re: Outreachy 2020-2021 - Neo4j - Weekly reports.

2021-01-07 Thread gabriela ortiz
Hi John

Thanks for your comments.


El mié, 6 de ene. de 2021 a la(s) 16:10, John Mora (jhnmora...@gmail.com)
escribió:

> Hi
>
> Thanks for your report.
>
> Some comments:
>
> You are creating a UNIQUE index instead of the NODE KEY you mentioned on
> your design document. why?
>
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jStore.java#L141
>
>
I found this limitation in the Neo4j community version: "Node key
constraints, node property existence constraints and relationship property
existence constraints are only available in Neo4j Enterprise Edition".

And, the UNIQUE indexes work in the community version. Should I seek a
trial version of the enterprise version or work only with the UNIQUE
indexes of the community version?



> Also, can you write the CREATE CONSTRAINT query with Cypher-DSL?
>
>
 I could not find a API for constraints creation in Cypher DSL. The create
statements that I found are only for nodes.

Please add javadoc documentation and comments on these classes:
>
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jConstants.java
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/java/org/apache/gora/neo4j/store/Neo4jParameters.java
>
> I will add the documentation


> Please add a test for the XSD Validation
>
>
> https://github.com/mgov88/gora/blob/GORA-663/gora-neo4j/src/main/resources/gora-neo4j.xsd
>
> I will add a test for this.


> Cheers,
> John
>
> El dom, 3 ene 2021 a las 23:12, gabriela ortiz ()
> escribió:
>
>> Hi
>>
>> I wanted to inform the tasks I worked on this week: Dec 26 - Dec 31
>>
>> * Develop the Datastore methods: getSchemaName, createSchema, deleteSchema,
>> schemaExists
>> * Enable tests in Neo4jStoreTest : testCreateSchema ,  testSchemaExists
>> * Enhance the implementation of the connection to the backend.
>> * Write a blog about my project.
>>
>> You can find my code in my branch:
>>
>> https://github.com/mgov88/gora/tree/GORA-663
>>
>> Best Regards,
>> Gaby
>>
>> El mié, 30 de dic. de 2020 a la(s) 13:28, John Mora (jhnmora...@gmail.com)
>> escribió:
>>
>>> Hi
>>>
>>> Thanks for your report.
>>>
>>> The Utils package is specific for each datastore; it is not mandatory.
>>> You can move some code there to improve the readability of the core classes
>>> of the datastore but it is up to you.
>>>
>>> I could not find your last changes in your branch in github, please make
>>> sure to push the commits, so I can review the code.
>>>
>>> Cheers,
>>> John
>>>
>>>
>>> El mar, 29 dic 2020 a las 1:03, gabriela ortiz ()
>>> escribió:
>>>
>>>> Hi
>>>>
>>>> I wanted to inform the tasks I worked on this week: Dec 19 - Dec 25
>>>>
>>>> * I developed a GoraTestDriver for Neo4j using GenericContainer from
>>>> the Test Containers library
>>>> * I developed the initialize method from Neo4jStore to establish
>>>> connection to the backend (Neo4j)
>>>> * I developed a XSD validation file for the XML mapping
>>>>
>>>> I have a question, I realized that some Datastores have 'utils'
>>>> packages in the code, are they obligatory? What kind of code should go in
>>>> them?
>>>>
>>>> Best Regards,
>>>> Gaby
>>>>
>>>>
>>>>
>>>> El lun, 21 de dic. de 2020 a la(s) 15:45, gabriela ortiz (
>>>> arqgabyor...@gmail.com) escribió:
>>>>
>>>>> Hi John
>>>>>
>>>>> El sáb, 19 de dic. de 2020 a la(s) 17:13, John Mora (
>>>>> jhnmora...@gmail.com) escribió:
>>>>>
>>>>>> Hi Gaby
>>>>>>
>>>>>> Thanks for your report and your hard work!
>>>>>>
>>>>>> I left some comments on your design document please give them a look.
>>>>>>
>>>>>>
>>>>> Thanks you for your comments,
>>>>>
>>>>>
>>>>>> Some comments about your code:
>>>>>>
>>>>>> IMHO, the attributes unique, exists and index should be optional
>>>>>> (default: false) [0].
>>>>>>
>>>>>
>>>>> I agree I will change that
>>>>>
>>>>>
>>>>>> Th

Re: Outreachy 2020-2021 - Neo4j - Weekly reports.

2021-01-03 Thread gabriela ortiz
Hi

I wanted to inform the tasks I worked on this week: Dec 26 - Dec 31

* Develop the Datastore methods: getSchemaName, createSchema, deleteSchema,
schemaExists
* Enable tests in Neo4jStoreTest : testCreateSchema ,  testSchemaExists
* Enhance the implementation of the connection to the backend.
* Write a blog about my project.

You can find my code in my branch:

https://github.com/mgov88/gora/tree/GORA-663

Best Regards,
Gaby

El mié, 30 de dic. de 2020 a la(s) 13:28, John Mora (jhnmora...@gmail.com)
escribió:

> Hi
>
> Thanks for your report.
>
> The Utils package is specific for each datastore; it is not mandatory. You
> can move some code there to improve the readability of the core classes of
> the datastore but it is up to you.
>
> I could not find your last changes in your branch in github, please make
> sure to push the commits, so I can review the code.
>
> Cheers,
> John
>
>
> El mar, 29 dic 2020 a las 1:03, gabriela ortiz ()
> escribió:
>
>> Hi
>>
>> I wanted to inform the tasks I worked on this week: Dec 19 - Dec 25
>>
>> * I developed a GoraTestDriver for Neo4j using GenericContainer from the
>> Test Containers library
>> * I developed the initialize method from Neo4jStore to establish
>> connection to the backend (Neo4j)
>> * I developed a XSD validation file for the XML mapping
>>
>> I have a question, I realized that some Datastores have 'utils' packages
>> in the code, are they obligatory? What kind of code should go in them?
>>
>> Best Regards,
>> Gaby
>>
>>
>>
>> El lun, 21 de dic. de 2020 a la(s) 15:45, gabriela ortiz (
>> arqgabyor...@gmail.com) escribió:
>>
>>> Hi John
>>>
>>> El sáb, 19 de dic. de 2020 a la(s) 17:13, John Mora (
>>> jhnmora...@gmail.com) escribió:
>>>
>>>> Hi Gaby
>>>>
>>>> Thanks for your report and your hard work!
>>>>
>>>> I left some comments on your design document please give them a look.
>>>>
>>>>
>>> Thanks you for your comments,
>>>
>>>
>>>> Some comments about your code:
>>>>
>>>> IMHO, the attributes unique, exists and index should be optional
>>>> (default: false) [0].
>>>>
>>>
>>> I agree I will change that
>>>
>>>
>>>> The KeyClassCanonicalName and PersistentClassCanonicalName should be
>>>> read from the datastore not hard coded [1]
>>>>
>>>
>>> I put that hard coded because I had an error because the Datastore
>>> methods are not yet implemented, but I will change that.
>>>
>>>
>>>> I think this class [2] should be deleted, there are proper tests for
>>>> this in the DataStoreTestBase class. If you are using this for your own
>>>> experiments please do not push it to github.
>>>>
>>>>
>>> yes, I am using this class to temporary test my code, you are right I
>>> will remove it from github.
>>>
>>> Thanks you for your feedback.
>>>
>>> Regards,
>>> Gaby
>>>
>>>
>>>> [0]
>>>> https://github.com/mgov88/gora/blob/867d06e1fcf29e90b0431b9a42b82810c5409dda/gora-neo4j/src/test/resources/gora-neo4j-mapping.xml
>>>> [1]
>>>> https://github.com/mgov88/gora/blob/867d06e1fcf29e90b0431b9a42b82810c5409dda/gora-neo4j/src/main/java/org/apache/gora/neo4j/mapping/Neo4jMappingBuilder.java#L44
>>>> [2]
>>>> https://github.com/mgov88/gora/blob/867d06e1fcf29e90b0431b9a42b82810c5409dda/gora-neo4j/src/main/java/org/apache/gora/neo4j/experimental/experiment.java
>>>>
>>>> Cheers
>>>> John
>>>>
>>>> El vie, 18 dic 2020 a las 23:06, gabriela ortiz (<
>>>> arqgabyor...@gmail.com>) escribió:
>>>>
>>>>> Hi
>>>>>
>>>>> I wanted to inform the tasks I worked on this week: Dec 12 - Dec 18
>>>>>
>>>>> * I wrote a blog about the struggles learning CQL of Neo4j :
>>>>> https://gabycoder88.wordpress.com/2020/12/18/discovering-cypher-everybody-struggles/
>>>>> * I created the suggested design document (link below ) with details
>>>>> about the Neo4j datastore.
>>>>> * I finished creating the structure of the datastore project.
>>>>> * I developed and tested the parsing of XML mappings for the datastore
>>>>> from gora-neo4j-mapping.xml
>>>>> * I developed and tested the read of connection properties from
>

Design for the Neo4j datastore

2020-12-18 Thread gabriela ortiz
Hi all.

I want to share with you my proposed design implementation for the Neo4j
datastore.

https://docs.google.com/document/d/1fQbCHNIFEKxAUlOuwqDRDdnpecLk2S4TkOJSWIk6qCE/edit#heading=h.xjr5yvb69ywd

Please, Let me know what you think of it, if you have comments.

Best regards,
Gaby


Re: Gaby Ortiz accepted for Outreachy

2020-11-29 Thread gabriela ortiz
Hi John.

Thank you all for your help, John, Alfonso, Carlos, and the other mentors.

I look forward to working with you on the project.

My Cwiki username is: mgov88 .

Best regards,
Gaby


El sáb, 28 de nov. de 2020 a la(s) 11:52, John Mora (jhnmora...@gmail.com)
escribió:

> Hi Gaby.
>
> Congratulations!!! and welcome on board.
>
> Please make sure you sign the internship agreement and follow all the
> instructions of the Outreachy program.
>
> Also, you will have to add a weekly report with progress on the Wiki of
> Apache Gora. You can use the GSoC reports as an example [1], but please
> create a new page for your project in the Outreachy section. And I
> recommend that you upload your proposed timeline and basic information of
> the project on another page similar to this [2], you can copy & paste the
> contents of the project description on the Outreachy platform.
>
> BTW, I think Kevin Ratnasekera can grant permissions on Cwiki, please send
> us your username of cwiki.
>
> Best,
> John
>
> [1]
> https://cwiki.apache.org/confluence/display/GORA/Arango+datastore+reports
>
> [2]
> https://cwiki.apache.org/confluence/display/GORA/ArangoDB+Datastore+Proposal
>
> [3]
> https://cwiki.apache.org/confluence/display/GORA/Outreachy%3A+December+2020+-+March+2021
>
>
> -- Forwarded message -
> De: Outreachy Organizers 
> Date: lun, 23 nov 2020 a las 11:01
> Subject: Gaby Ortiz accepted for Outreachy
> To: Gaby Ortiz , djkevincr <
> djkevincr1...@gmail.com>, John Mora , madhawa <
> madh...@apache.org>, Carlos Muñoz , Matt Sicker <
> boa...@gmail.com>, Awasum Yannick , Katia Rojas <
> ka...@apache.org>
>
>
> Congratulations on being accepted for the December 2020 to March 2021
> Outreachy internship round!
>
> You have been selected as an intern for Apache working with your mentors
> djkevincr and John Mora and madhawa and Carlos Muñoz on the project "Add a
> datastore for Neo4j in Apache Gora". The Apache coordinators are Matt
> Sicker and Awasum Yannick and Katia Rojas, who are on Cc.
>
> If you don't plan on participating as an intern, please let us know as
> soon as possible. The later you wait, the less likely it is we'll be able
> to fill the internship with another candidate.
>
> Time Commitment
> ---
>
> Your approval to participate in Outreachy is based on the time commitments
> you listed in your initial application:
> https://www.outreachy.org/eligibility-results/
>
> If your time commitments are incorrect or have changed (such as if you
> have a job that is not listed on your initial application), please contact
> us immediately.
>
> Minimum hours per week policy:
>  - If an intern's school terms have shifted due to COVID-19 impacts, they
> will only be required to work 10 hours a week during classes and exams.
>  - If an intern is otherwise impacted by COVID-19, they will only be
> required to work 30 hours a week.
>  - Interns who are not impacted by COVID-19 are required to work 40 hours
> a week.
>  - Please read our COVID-19 policy for this round for details:
> https://www.outreachy.org/blog/2020-08-28/december-2020-internship-applications-open//#covid-19
>
> Interns are required to work for 12 weeks of the Outreachy internship's 13
> week duration.
>
> Please reach out to your mentor if you are impacted by COVID-19. You'll
> need to create a plan for a reduced project timeline.
>
> Internship Guide
> 
>
> Please bookmark the Outreachy Internship Guide:
>
> https://www.outreachy.org/docs/internship/
>
> The internship guide has important dates such as feedback deadlines,
> payment dates, and intern/mentor chat dates. It also provides information
> on blog prompt topics and dates.
>
> What happens next
> -
>
> This email outlines the next steps for participating in the program, so
> please read it carefully. The first most important steps are:
>
>  1. Log into the Outreachy website and click the 'Accept Internship'
> button on your dashboard: https://www.outreachy.org/dashboard This will
> prompt you to sign the internship agreement.
>
>  2. Double check that your public information on the announcement page is
> correct: https://www.outreachy.org/alums/ If you want to add a photo or
> you need any changes, you can change your public name, location, pronouns
> (and their public visibility settings), and links to Twitter, GitLab, and
> GitHub on your account page. https://www.outreachy.org/account/
>
>  3. Set an email filter to ensure all emails from outreachy.org and
> sfconservancy.org go to your Inbox.
>
>  4. Respond to the Software Freedom Conservancy with your tax form W-9 or
> W8-BEN by Dec. 11, 2020.
>
>  5. Create a blog to use to document your Outreachy internship. You will
> be required to blog every two weeks (more details on that below).
>
>  6. Add the blog URL and RSS feed link to your profile:
> https://www.outreachy.org/account/
>
>  7. Contact your mentor.
>
>  8. Start your internship on Dec. 1, 2020.
>
> The rest of 

Outreachy - Add a datastore for Neo4j in Apache Gora

2020-10-07 Thread gabriela ortiz
Hi all.

I am Gaby Ortiz and my initial application for the Outreach program was
accepted today. I was checking out the projects list and this project seems
to be a good fit for my knowledge background. I studied software
engineering a couple years ago and in my final project at the University I
worked with graph databases such as Jena TDB, Virtuoso and GraphDB for a
Linked Data project. I was checking out Neo4j and the basic concepts are
the same, then I would like to apply for this project. I have experience
working with the Java programming language and related tools such as maven,
gradle, testcontainers, etc. And I am familiar with NoSQL databases
(especially graph-based).

I was wondering which should be my next steps?. I saw a list of warm-up
tasks in the Outreachy platform, how can I be assigned one of those tasks
in order to get started with Apache Gora?. Do you have suggestions or
guidelines that I should consider before applying for this project?

I saw many communication channels in the project description: jira, github,
wiki, mailing list, and personal emails of the mentors. I was wondering how
should I contact you?. The Outreachy documentation says ".. contact the
mentor on public community channels as much as possible." so I am writing
to the public developers mailing list, is it ok with you?.

Thanks,
Gaby