Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-26 Thread David Radley
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review196317 --- Ship it! Ship It! - David Radley On Jan. 19, 2018, 9:30

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-22 Thread Yao Li
> On Jan. 18, 2018, 8:51 a.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/InformalTag.java > > Lines 76 (patched) > > > > > > should this.name=name put into a else{}? after we check

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-19 Thread Mandy Chessell
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/ --- (Updated Jan. 19, 2018, 9:30 a.m.) Review request for atlas and Madhan

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-18 Thread Mandy Chessell
> On Jan. 18, 2018, 8:51 a.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/InformalTag.java > > Lines 76 (patched) > > > > > > should this.name=name put into a else{}? after we check

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-18 Thread Mandy Chessell
> On Jan. 18, 2018, 8:55 a.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AssetSummary.java > > Lines 81 (patched) > > > > > > should this.type=type put after we check if type!=null?

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-18 Thread Yao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195700 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-18 Thread Yao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195697 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 4:26 p.m., Nigel Jones wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/CommentType.java > > Lines 30 (patched) > > > > > > Some forums also have 'accepted answer' which is

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 4:26 p.m., Nigel Jones wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/StarRating.java > > Lines 28 (patched) > > > > > > Why 'UNRATED' ? This is an explicit rating so wouldn't

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 4:26 p.m., Nigel Jones wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Ratings.java > > Lines 28 (patched) > > > > > > I see this class follows the common patterns for

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 4:26 p.m., Nigel Jones wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Location.java > > Lines 53 (patched) > > > > > > If we had something we wanted to store GPS coords for

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 4:26 p.m., Nigel Jones wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Comment.java > > Lines 30 (patched) > > > > > > So we are using userids everywhere... so if a user

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 4:13 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/ElementOrigin.java > > Lines 65 (patched) > > > > > > should here also initialize the two strings as ""? for

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 4:26 p.m., Nigel Jones wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ffdc/OCFErrorCode.java > > Lines 54 (patched) > > > > > > Typo - qualifiedNAme used, assume qualifiedName needed

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Nigel Jones
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195590 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Yao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195608 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 4:11 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/SchemaType.java > > Lines 28 (patched) > > > > > > should here also initialize the two strings as ""? for all

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Yao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195605 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 4:06 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AdditionalProperties.java > > Lines 29 (patched) > > > > > > for all the properties/* class, you delete the

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 3:16 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/PagingIterator.java > > Lines 43 (patched) > > > > > > can you explain the relationship among "totalElement",

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 3:27 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/SchemaLink.java > > Lines 91 (patched) > > > > > > is it necessary to check whether

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 3:27 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/SchemaLink.java > > Lines 65 (patched) > > > > > > is it necessary to check whether linkedAttributeGUIDS is

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 3:27 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/SchemaImplementationQuery.java > > Lines 52 (patched) > > > > > > is it necessary to check whether

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 3:16 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/SchemaAttribute.java > > Lines 64 (patched) > > > > > > is it necessar to check whether attributeType is null?

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 3:16 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Schema.java > > Lines 109 (patched) > > > > > > is it necessary to check whether schemaAttributes and

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 3:16 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/RelatedMediaReference.java > > Lines 92 (patched) > > > > > > is it necessary to check whether mediaUsageList

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 3:16 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/RelatedAsset.java > > Lines 75 (patched) > > > > > > is it necessary to check whether relatedAssetProperties

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 3:16 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Referenceable.java > > Lines 65 (patched) > > > > > > is it necessary to check additionalProperties, meanings

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 3:16 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/PagingIterator.java > > Lines 88 (patched) > > > > > > in AssetPropertyIteratorBase, you have the constructor

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Yao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195588 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 9:36 a.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/ElementOrigin.java > > Lines 31 (patched) > > > > > > change "Id" to "id" Fixed - Mandy

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 16, 2018, 12:32 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AssetPropertyBase.java > > Lines 21 (patched) > > > > > > here should be AssetPropertyBase, there is no class

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 16, 2018, 12:09 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AssetDescriptor.java > > Lines 81 (patched) > > > > > > should be this.guid= =

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 16, 2018, 12:09 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AssetDescriptor.java > > Lines 64 (patched) > > > > > > guid is not used in the constructor Good spot - it

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 12, 2018, 3:53 p.m., David Radley wrote: > > om-fwk-ocf/pom.xml > > Lines 1 (patched) > > > > > > When I build, versionName is not accepted on my system - it wants > > version here. Agreed - I corrupted

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Yao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195564 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 8:54 a.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AssetUniverse.java > > Lines 117 (patched) > > > > > > is it necessary to check whether meanings, analysis

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 8:54 a.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Certification.java > > Lines 104 (patched) > > > > > > is it necessary to check whether link is null? No

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 8:54 a.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Comment.java > > Lines 68 (patched) > > > > > > is it necessary to check whether commentReplies is null? No

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 9:36 a.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/DerivedSchemaElement.java > > Lines 105 (patched) > > > > > > I am confused about the use of cloneIterator.

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 2:18 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Feedback.java > > Lines 48 (patched) > > > > > > is it necessary to check whether informalTags, likes, ratings

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 2:18 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/License.java > > Lines 100 (patched) > > > > > > is it necessary to check whether link is null? it is not

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 2:30 p.m., Nigel Jones wrote: > > om-fwk-ocf/pom.xml > > Lines 51 (patched) > > > > > > Same here > > [ERROR] Malformed POM > > /Users/jonesn/IdeaProjects/atlas/om-fwk-ocf/pom.xml:

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 2:27 p.m., Nigel Jones wrote: > > om-fwk-ocf/pom.xml > > Lines 1 (patched) > > > > > > Same issue here.. > > > > [ERROR] [ERROR] Some problems were encountered while processing the > >

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 2:18 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/MapSchemaElement.java > > Lines 80 (patched) > > > > > > is it necessary to check whether mapFrom/ToElement

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 8:54 a.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Connection.java > > Lines 163 (patched) > > > > > > is it necessary to check whether connectorType, endpoint

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 9:36 a.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/DerivedSchemaElement.java > > Lines 85 (patched) > > > > > > is it necessary to check whether the queries is

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 9:36 a.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/ElementHeader.java > > Lines 60 (patched) > > > > > > is it necessary to check whether classfications is null?

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Mandy Chessell
> On Jan. 17, 2018, 9:39 a.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AdditionalProperties.java > > Lines 56 (patched) > > > > > > here you checked whether additionalProperties is

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Nigel Jones
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195566 --- om-fwk-ocf/pom.xml Lines 51 (patched)

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Nigel Jones
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195565 --- om-fwk-ocf/pom.xml Lines 1 (patched)

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Yao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195547 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Yao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195546 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Yao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195540 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-17 Thread Yao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195536 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-16 Thread Mandy Chessell
> On Jan. 16, 2018, 10:44 a.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Annotation.java > > Lines 132 (patched) > > > > > > do you need to check whether additionalProperties and >

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-16 Thread Mandy Chessell
> On Jan. 16, 2018, 12:16 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AssetDetail.java > > Lines 96 (patched) > > > > > > is that necessary to check whether assetProperties,

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-16 Thread Mandy Chessell
> On Jan. 16, 2018, 12:32 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AssetPropertyBase.java > > Lines 56 (patched) > > > > > > here in the parameters, does parentAsset equal to

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-16 Thread Mandy Chessell
> On Jan. 16, 2018, 12:32 p.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AssetSummary.java > > Lines 111 (patched) > > > > > > is it necessary to check whether classfications is

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-16 Thread Mandy Chessell
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195450 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-16 Thread Yao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195448 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-16 Thread Yao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195447 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-16 Thread Yao Li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review195444 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-12 Thread Mandy Chessell
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/ --- (Updated Jan. 12, 2018, 1:13 p.m.) Review request for atlas and Madhan

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2018-01-12 Thread Mandy Chessell
> On Nov. 30, 2017, 10:29 a.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Connection.java > > Lines 64 (patched) > > > > > > I suggest you add toString, hashCode and equals

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Nov. 30, 2017, 10:29 a.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Connections.java > > Lines 71 (patched) > > > > > > for (Connection templateConnection

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Dec. 5, 2017, 10:46 a.m., Graham Wallis wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ffdc/OCFErrorCode.java > > Lines 49 (patched) > > > > > > For consistency with other examples, the quoted system

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Dec. 5, 2017, 10:46 a.m., Graham Wallis wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Annotation.java > > Lines 442 (patched) > > > > > > typo "may have looked an (at?) multiple

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Dec. 5, 2017, 10:46 a.m., Graham Wallis wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Analysis.java > > Lines 1 (patched) > > > > > > Just an observation; in this Analysis class you

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Yao Li
> On Nov. 14, 2017, 10:06 a.m., Yao Li wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ConnectorBroker.java > > Lines 134 (patched) > > > > > > Do you mean in the ConnectorProvider class, it doesn't > >

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Nov. 30, 2017, 10:29 a.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/ConnectedAssetProperties.java > > Lines 22 (patched) > > > > > > Looking at

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Dec. 4, 2017, 8:19 p.m., Madhan Neethiraj wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ConnectorBroker.java > > Lines 70 (patched) > > > > > > Consider adding a constructor to Exception class that

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Dec. 5, 2017, 10:46 a.m., Graham Wallis wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/ConnectedAssetProperties.java > > Lines 128 (patched) > > > > > > If a sub class has not over-ridden

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Dec. 5, 2017, 10:46 a.m., Graham Wallis wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/AssetDetail.java > > Lines 153 (patched) > > > > > > You *could* use the 'elvis' operator (?:) for the

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Dec. 4, 2017, 8:19 p.m., Madhan Neethiraj wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ffdc/OCFErrorCode.java > > Lines 183 (patched) > > > > > > Consider dropping prefix "new" in the parameter

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Dec. 5, 2017, 10:46 a.m., Graham Wallis wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ConnectorBroker.java > > Lines 185 (patched) > > > > > > Comment should say '...class cast exception...' Well

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Dec. 5, 2017, 10:46 a.m., Graham Wallis wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ConnectorBase.java > > Lines 121 (patched) > > > > > > Did you mean 'whenever setConnectedAssetProperties() is

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Dec. 5, 2017, 10:46 a.m., Graham Wallis wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/Connector.java > > Lines 93 (patched) > > > > > > Did you mean 'whenever setConnectedAssetProperties() is called'

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Dec. 4, 2017, 8:19 p.m., Madhan Neethiraj wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ConnectorBroker.java > > Lines 70 (patched) > > > > > > Consider adding a constructor to Exception class that

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Graham Wallis
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review192838 --- om-fwk-ocf/src/main/java/org/apache/atlas/ocf/Connector.java

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Dec. 1, 2017, 9:32 a.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/PrimitiveSchemaElement.java > > Lines 18 (patched) > > > > > > The patch I applied to my Intellij

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Dec. 4, 2017, 8:19 p.m., Madhan Neethiraj wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ConnectorBase.java > > Lines 53 (patched) > > > > > > consider renaming "log" to "LOG" - to be consistent with

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-05 Thread Mandy Chessell
> On Dec. 4, 2017, 8:19 p.m., Madhan Neethiraj wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/Connector.java > > Lines 97 (patched) > > > > > > If a connector object is specific to an asset, having a set()

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-04 Thread David Radley
> On Nov. 30, 2017, 10:29 a.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Connection.java > > Lines 64 (patched) > > > > > > I suggest you add toString, hashCode and equals

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-04 Thread David Radley
> On Dec. 1, 2017, 11:24 a.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Connection.java > > Lines 77 (patched) > > > > > > I think we need additionalProperties and

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-04 Thread Madhan Neethiraj
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review192716 --- om-fwk-ocf/src/main/java/org/apache/atlas/ocf/Connector.java

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-04 Thread Mandy Chessell
> On Dec. 1, 2017, 11:24 a.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Connection.java > > Lines 77 (patched) > > > > > > I think we need additionalProperties and

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-04 Thread David Radley
> On Dec. 1, 2017, 11:24 a.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Connection.java > > Lines 77 (patched) > > > > > > I think we need additionalProperties and

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-04 Thread Mandy Chessell
> On Nov. 30, 2017, 8:19 a.m., Madhan Neethiraj wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Annotations.java > > Lines 31 (patched) > > > > > > There are many classes that are plural of

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-04 Thread Mandy Chessell
> On Nov. 29, 2017, 4 p.m., David Radley wrote: > > om-fwk-ocf/src/test/java/org/apache/atlas/ocf/test/QuickTest.java > > Lines 158 (patched) > > > > > > no need to for success messages when in junit ok - Mandy

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-04 Thread Mandy Chessell
> On Nov. 29, 2017, 4 p.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/StarRating.java > > Lines 23 (patched) > > > > > > a minor point : you have mixed the description and

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-04 Thread Mandy Chessell
> On Dec. 1, 2017, 11:24 a.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Connection.java > > Lines 77 (patched) > > > > > > I think we need additionalProperties and

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-04 Thread Mandy Chessell
> On Nov. 30, 2017, 5:06 p.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Meaning.java > > Lines 31 (patched) > > > > > > should be include the guid of the term here. > > Mandy

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-03 Thread Mandy Chessell
> On Nov. 30, 2017, 5:06 p.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Endpoint.java > > Lines 60 (patched) > > > > > > The field name encrypted implies that it is a boolean.

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-03 Thread Mandy Chessell
> On Nov. 30, 2017, 10:59 a.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ConnectorBroker.java > > Lines 141 (patched) > > > > > > Maybe I have missed it - I am wondering how a user needs

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-03 Thread Mandy Chessell
> On Nov. 30, 2017, 10:29 a.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Connections.java > > Lines 88 (patched) > > > > > > I would think that if this class was a java List

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-03 Thread Mandy Chessell
> On Dec. 1, 2017, 11:24 a.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/properties/Connection.java > > Lines 55 (patched) > > > > > > Do we mean secure log on or more generally

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-01 Thread David Radley
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review192468 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-12-01 Thread David Radley
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63503/#review192456 ---

Re: Review Request 63503: ATLAS-1095 - Review of OCF - the Open Connector Framework

2017-11-30 Thread Mandy Chessell
> On Nov. 30, 2017, 5:06 p.m., David Radley wrote: > > om-fwk-ocf/src/main/java/org/apache/atlas/ocf/ffdc/OCFErrorCode.java > > Lines 100 (patched) > > > > > > Shouldn't this br iterator rather than enumeration

  1   2   >