atlas git commit: ATLAS-2015: Fix Maven warnings
Repository: atlas Updated Branches: refs/heads/0.8-incubating 49c62b854 -> dd8544b51 ATLAS-2015: Fix Maven warnings Signed-off-by: Sarath Subramanian <ssubraman...@hortonworks.com> (cherry picked from commit b59460ffa93f2544aaa0d35488a69474f4a95ca0) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/dd8544b5 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/dd8544b5 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/dd8544b5 Branch: refs/heads/0.8-incubating Commit: dd8544b5132d0e96c90aa7c64266e783bd19f57a Parents: 49c62b8 Author: Graham Wallis <graham_wal...@uk.ibm.com> Authored: Wed Aug 2 11:37:55 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Wed Aug 2 16:14:08 2017 -0700 -- addons/hdfs-model/pom.xml | 5 + addons/storm-bridge/pom.xml | 4 graphdb/titan0/pom.xml | 1 + pom.xml | 1 + typesystem/pom.xml | 5 + webapp/pom.xml | 10 -- 6 files changed, 8 insertions(+), 18 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/dd8544b5/addons/hdfs-model/pom.xml -- diff --git a/addons/hdfs-model/pom.xml b/addons/hdfs-model/pom.xml index c258f3a..10d507d 100644 --- a/addons/hdfs-model/pom.xml +++ b/addons/hdfs-model/pom.xml @@ -183,10 +183,7 @@ - -net.alchim31.maven -scala-maven-plugin - + http://git-wip-us.apache.org/repos/asf/atlas/blob/dd8544b5/addons/storm-bridge/pom.xml -- diff --git a/addons/storm-bridge/pom.xml b/addons/storm-bridge/pom.xml index 13a9d48..a8c02f6 100644 --- a/addons/storm-bridge/pom.xml +++ b/addons/storm-bridge/pom.xml @@ -489,10 +489,6 @@ - -net.alchim31.maven -scala-maven-plugin - org.apache.maven.plugins http://git-wip-us.apache.org/repos/asf/atlas/blob/dd8544b5/graphdb/titan0/pom.xml -- diff --git a/graphdb/titan0/pom.xml b/graphdb/titan0/pom.xml index eb5d3a8..12b903d 100644 --- a/graphdb/titan0/pom.xml +++ b/graphdb/titan0/pom.xml @@ -231,6 +231,7 @@ net.alchim31.maven scala-maven-plugin +3.2.0 http://git-wip-us.apache.org/repos/asf/atlas/blob/dd8544b5/pom.xml -- diff --git a/pom.xml b/pom.xml index 9c96f92..42495cd 100644 --- a/pom.xml +++ b/pom.xml @@ -1952,6 +1952,7 @@ net.alchim31.maven scala-maven-plugin +3.2.0 http://git-wip-us.apache.org/repos/asf/atlas/blob/dd8544b5/typesystem/pom.xml -- diff --git a/typesystem/pom.xml b/typesystem/pom.xml index 96590e8..c47583e 100755 --- a/typesystem/pom.xml +++ b/typesystem/pom.xml @@ -160,10 +160,7 @@ - -net.alchim31.maven -scala-maven-plugin - + http://git-wip-us.apache.org/repos/asf/atlas/blob/dd8544b5/webapp/pom.xml -- diff --git a/webapp/pom.xml b/webapp/pom.xml index 504fc1f..fbe25c4 100755 --- a/webapp/pom.xml +++ b/webapp/pom.xml @@ -442,12 +442,14 @@ tests test + org.apache.atlas atlas-graphdb-common tests test + com.nimbusds nimbus-jose-jwt @@ -460,12 +462,6 @@ - -org.apache.atlas -atlas-repository -tests -test - org.apache.atlas @@ -523,6 +519,7 @@ org.codehaus.mojo keytool-maven-plugin +1.5 clean @@ -678,6 +675,7 @@ net.alchim31.maven scala-maven-plugin +3.2.0 org.apache.maven.plugins
atlas git commit: ATLAS-2015: Fix Maven warnings
Repository: atlas Updated Branches: refs/heads/master 52489d600 -> b59460ffa ATLAS-2015: Fix Maven warnings Signed-off-by: Sarath Subramanian <ssubraman...@hortonworks.com> Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/b59460ff Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/b59460ff Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/b59460ff Branch: refs/heads/master Commit: b59460ffa93f2544aaa0d35488a69474f4a95ca0 Parents: 52489d6 Author: Graham Wallis <graham_wal...@uk.ibm.com> Authored: Wed Aug 2 11:37:55 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Wed Aug 2 11:37:55 2017 -0700 -- addons/hdfs-model/pom.xml | 5 + addons/storm-bridge/pom.xml | 4 graphdb/titan0/pom.xml | 1 + pom.xml | 1 + typesystem/pom.xml | 5 + webapp/pom.xml | 10 -- 6 files changed, 8 insertions(+), 18 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/b59460ff/addons/hdfs-model/pom.xml -- diff --git a/addons/hdfs-model/pom.xml b/addons/hdfs-model/pom.xml index 7ff085c..aba5361 100644 --- a/addons/hdfs-model/pom.xml +++ b/addons/hdfs-model/pom.xml @@ -183,10 +183,7 @@ - -net.alchim31.maven -scala-maven-plugin - + http://git-wip-us.apache.org/repos/asf/atlas/blob/b59460ff/addons/storm-bridge/pom.xml -- diff --git a/addons/storm-bridge/pom.xml b/addons/storm-bridge/pom.xml index 9485698..a5845ed 100644 --- a/addons/storm-bridge/pom.xml +++ b/addons/storm-bridge/pom.xml @@ -489,10 +489,6 @@ - -net.alchim31.maven -scala-maven-plugin - org.apache.maven.plugins http://git-wip-us.apache.org/repos/asf/atlas/blob/b59460ff/graphdb/titan0/pom.xml -- diff --git a/graphdb/titan0/pom.xml b/graphdb/titan0/pom.xml index d3353a7..da64397 100644 --- a/graphdb/titan0/pom.xml +++ b/graphdb/titan0/pom.xml @@ -231,6 +231,7 @@ net.alchim31.maven scala-maven-plugin +3.2.0 http://git-wip-us.apache.org/repos/asf/atlas/blob/b59460ff/pom.xml -- diff --git a/pom.xml b/pom.xml index 505d501..6eeeff6 100644 --- a/pom.xml +++ b/pom.xml @@ -1960,6 +1960,7 @@ net.alchim31.maven scala-maven-plugin +3.2.0 http://git-wip-us.apache.org/repos/asf/atlas/blob/b59460ff/typesystem/pom.xml -- diff --git a/typesystem/pom.xml b/typesystem/pom.xml index 73d9fba..5b27ed7 100755 --- a/typesystem/pom.xml +++ b/typesystem/pom.xml @@ -160,10 +160,7 @@ - -net.alchim31.maven -scala-maven-plugin - + http://git-wip-us.apache.org/repos/asf/atlas/blob/b59460ff/webapp/pom.xml -- diff --git a/webapp/pom.xml b/webapp/pom.xml index 62bba3f..42981e0 100755 --- a/webapp/pom.xml +++ b/webapp/pom.xml @@ -442,12 +442,14 @@ tests test + org.apache.atlas atlas-graphdb-common tests test + com.nimbusds nimbus-jose-jwt @@ -460,12 +462,6 @@ - -org.apache.atlas -atlas-repository -tests -test - org.apache.atlas @@ -523,6 +519,7 @@ org.codehaus.mojo keytool-maven-plugin +1.5 clean @@ -678,6 +675,7 @@ net.alchim31.maven scala-maven-plugin +3.2.0 org.apache.maven.plugins
atlas git commit: ATLAS-2007: Change 'storm_topology_nodes' relationshipDef category from AGGREGATION TO ASSOCIATION
Repository: atlas Updated Branches: refs/heads/master e75473a3b -> 9eb8134a1 ATLAS-2007: Change 'storm_topology_nodes' relationshipDef category from AGGREGATION TO ASSOCIATION Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/9eb8134a Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/9eb8134a Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/9eb8134a Branch: refs/heads/master Commit: 9eb8134a113bd018f9467284d45f499c26423d3c Parents: e75473a Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Mon Jul 31 14:25:30 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Mon Jul 31 14:25:30 2017 -0700 -- addons/models/0080-storm_model.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/9eb8134a/addons/models/0080-storm_model.json -- diff --git a/addons/models/0080-storm_model.json b/addons/models/0080-storm_model.json index ab3d603..b008c7a 100644 --- a/addons/models/0080-storm_model.json +++ b/addons/models/0080-storm_model.json @@ -147,7 +147,7 @@ { "name": "storm_topology_nodes", "typeVersion": "1.0", -"relationshipCategory": "AGGREGATION", +"relationshipCategory": "ASSOCIATION", "endDef1": { "type": "storm_topology", "name": "nodes",
atlas git commit: ATLAS-1999: Use AtlasRelatedObjectId to display relationshipAttribute values during entity retrieval
Repository: atlas Updated Branches: refs/heads/master e0bd96b73 -> 87a421ac1 ATLAS-1999: Use AtlasRelatedObjectId to display relationshipAttribute values during entity retrieval Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/87a421ac Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/87a421ac Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/87a421ac Branch: refs/heads/master Commit: 87a421ac1d659c9111b8743df26f57e97cb640b3 Parents: e0bd96b Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Tue Aug 8 12:07:36 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Tue Aug 8 12:07:36 2017 -0700 -- .../model/instance/AtlasRelatedObjectId.java| 119 .../org/apache/atlas/type/AtlasEntityType.java | 186 ++- .../org/apache/atlas/type/AtlasTypeUtil.java| 8 + .../atlas/repository/graph/GraphHelper.java | 13 +- .../graph/v1/AtlasRelationshipStoreV1.java | 74 +--- .../store/graph/v1/EntityGraphRetriever.java| 107 ++- .../graph/v1/AtlasRelationshipStoreV1Test.java | 30 ++- 7 files changed, 441 insertions(+), 96 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/87a421ac/intg/src/main/java/org/apache/atlas/model/instance/AtlasRelatedObjectId.java -- diff --git a/intg/src/main/java/org/apache/atlas/model/instance/AtlasRelatedObjectId.java b/intg/src/main/java/org/apache/atlas/model/instance/AtlasRelatedObjectId.java new file mode 100644 index 000..bfea678 --- /dev/null +++ b/intg/src/main/java/org/apache/atlas/model/instance/AtlasRelatedObjectId.java @@ -0,0 +1,119 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.atlas.model.instance; + +import org.codehaus.jackson.annotate.JsonAutoDetect; +import org.codehaus.jackson.annotate.JsonIgnoreProperties; +import org.codehaus.jackson.map.annotate.JsonSerialize; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import java.io.Serializable; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +import static org.codehaus.jackson.annotate.JsonAutoDetect.Visibility.NONE; +import static org.codehaus.jackson.annotate.JsonAutoDetect.Visibility.PUBLIC_ONLY; + +/** + * Reference to an object-instance of AtlasEntity type used in relationship attribute values + */ +@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE) +@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL) +@JsonIgnoreProperties(ignoreUnknown=true) +@XmlRootElement +@XmlAccessorType(XmlAccessType.PROPERTY) +public class AtlasRelatedObjectId extends AtlasObjectId implements Serializable { +private static final long serialVersionUID = 1L; + +public static final String KEY_RELATIONSHIP_GUID = "relationshipGuid"; +public static final String KEY_RELATIONSHIP_ATTRIBUTES = "relationshipAttributes"; + +private String displayText = null; +private String relationshipGuid= null; +private AtlasStruct relationshipAttributes; + +public AtlasRelatedObjectId() { } + +public AtlasRelatedObjectId(String guid, String typeName, String relationshipGuid, AtlasStruct relationshipAttributes) { +super(guid, typeName); + +setRelationshipGuid(relationshipGuid); +setRelationshipAttributes(relationshipAttributes); +} + +public AtlasRelatedObjectId(String guid, String typeName, Map<String, Object> uniqueAttributes, String displayText, +String relationshipGuid, AtlasStruct relationshipAttributes) { +super(guid, typeName, uniqueAttributes); + +setRelationshipGuid(relationshipGuid); +setDisplayText(displayText); +setRelationshipAt
atlas git commit: ATLAS-2059: Update test-patch.sh script for PreCommit-ATLAS-Build jenkins job
Repository: atlas Updated Branches: refs/heads/0.8-incubating 0bf16eb6d -> e14485b53 ATLAS-2059: Update test-patch.sh script for PreCommit-ATLAS-Build jenkins job Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/e14485b5 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/e14485b5 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/e14485b5 Branch: refs/heads/0.8-incubating Commit: e14485b53d54389df88d50eff4b113b7714712aa Parents: 0bf16eb Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Fri Aug 18 11:42:43 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Fri Aug 18 11:42:43 2017 -0700 -- dev-support/test-patch.sh | 100 +-- .../apache/atlas/examples/QuickStartV2IT.java | 2 +- .../atlas/web/integration/BaseResourceIT.java | 8 +- .../web/integration/EntityJerseyResourceIT.java | 5 +- 4 files changed, 77 insertions(+), 38 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/e14485b5/dev-support/test-patch.sh -- diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 9e63575..bf95be6 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -123,6 +123,21 @@ parseArgs() { --run-tests) RUN_TESTS=true ;; +--review-id=*) + REVIEW_ID=${i#*=} + ;; +--local-patch=*) + LOCAL_PATCH=${i#*=} + ;; +--branch=*) + BRANCH=${i#*=} + ;; +--skip-ut=*) + SKIP_UT=${i#*=} + ;; +--skip-it=*) + SKIP_IT=${i#*=} + ;; *) PATCH_OR_DEFECT=$i ;; @@ -184,7 +199,7 @@ checkout () { cd $BASEDIR $GIT reset --hard $GIT clean -xdf -$GIT checkout master +$GIT checkout $BRANCH $GIT pull --rebase fi GIT_REVISION=`git rev-parse --verify --short HEAD` @@ -195,24 +210,29 @@ checkout () { downloadPatch () { ### Download latest patch file (ignoring .htm and .html) when run from patch process if [[ $JENKINS == "true" ]] ; then -$WGET -q -O $PATCH_DIR/jira http://issues.apache.org/jira/browse/$defect -if [[ `$GREP -c 'Patch Available' $PATCH_DIR/jira` == 0 ]] ; then - echo "$defect is not \"Patch Available\". Exiting." - cleanupAndExit 0 +if [[ -n $REVIEW_ID ]]; then +echo "Download Patch from Review Board: https://reviews.apache.org/r/$REVIEW_ID/diff/raw at `date`" +$WGET -q -O $PATCH_DIR/patch https://reviews.apache.org/r/$REVIEW_ID/diff/raw +elif [[ -n $LOCAL_PATCH ]]; then +echo "Using Local Patch in $LOCAL_PATCH at `date`" +else +echo "Download Patch from JIRA: http://issues.apache.org/jira/browse/$defect at `date`" +$WGET -q -O $PATCH_DIR/jira http://issues.apache.org/jira/browse/$defect +if [[ `$GREP -c 'Patch Available' $PATCH_DIR/jira` == 0 ]] ; then + echo "$defect is not \"Patch Available\". Exiting." + cleanupAndExit 0 +fi +relativePatchURL=`$GREP -o '"/jira/secure/attachment/[0-9]*/[^"]*' $PATCH_DIR/jira | $GREP -v -e 'htm[l]*$' | sort | tail -1 | $GREP -o '/jira/secure/attachment/[0-9]*/[^"]*'` +patchURL="http://issues.apache.org${relativePatchURL}; +patchNum=`echo $patchURL | $GREP -o '[0-9]*/' | $GREP -o '[0-9]*'` +echo "$defect patch is being downloaded at `date` from" +echo "$patchURL" +$WGET -q -O $PATCH_DIR/patch $patchURL +VERSION=${GIT_REVISION}_${defect}_PATCH-${patchNum} +JIRA_COMMENT="Here are the results of testing the latest attachment $patchURL against master revision ${GIT_REVISION}." fi -relativePatchURL=`$GREP -o '"/jira/secure/attachment/[0-9]*/[^"]*' $PATCH_DIR/jira | $GREP -v -e 'htm[l]*$' | sort | tail -1 | $GREP -o '/jira/secure/attachment/[0-9]*/[^"]*'` -patchURL="http://issues.apache.org${relativePatchURL}; -patchNum=`echo $patchURL | $GREP -o '[0-9]*/' | $GREP -o '[0-9]*'` -echo "$defect patch is being downloaded at `date` from" -echo "$patchURL" -$WGET -q -O $PATCH_DIR/patch $patchURL -VERSION=${GIT_REVISION}_${defect}_PATCH-${patchNum} -JIRA_COMMENT="Here are the results of testing the latest attachment - $patchURL - against master revision ${GIT_REVISION}." - - ### Copy the patch file to $PATCH_DIR else +### Copy the patch file to $PATCH_DIR VERSION=PATCH-${defect} cp $PATCH_FILE $PATCH_DIR/patch if [[ $? == 0 ]] ; then @@ -557,13 +577,29 @@ buildAndInstall () { echo "" echo "==
atlas git commit: ATLAS-2059: Update test-patch.sh script for PreCommit-ATLAS-Build jenkins job
Repository: atlas Updated Branches: refs/heads/master a7e2f50b0 -> 86fb9da49 ATLAS-2059: Update test-patch.sh script for PreCommit-ATLAS-Build jenkins job Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/86fb9da4 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/86fb9da4 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/86fb9da4 Branch: refs/heads/master Commit: 86fb9da494f23ed7689e67b131e736344afa1811 Parents: a7e2f50 Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Fri Aug 18 11:41:54 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Fri Aug 18 11:41:54 2017 -0700 -- dev-support/test-patch.sh | 100 +-- .../apache/atlas/examples/QuickStartV2IT.java | 2 +- .../atlas/web/integration/BaseResourceIT.java | 8 +- .../web/integration/EntityJerseyResourceIT.java | 5 +- 4 files changed, 77 insertions(+), 38 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/86fb9da4/dev-support/test-patch.sh -- diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 9e63575..bf95be6 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -123,6 +123,21 @@ parseArgs() { --run-tests) RUN_TESTS=true ;; +--review-id=*) + REVIEW_ID=${i#*=} + ;; +--local-patch=*) + LOCAL_PATCH=${i#*=} + ;; +--branch=*) + BRANCH=${i#*=} + ;; +--skip-ut=*) + SKIP_UT=${i#*=} + ;; +--skip-it=*) + SKIP_IT=${i#*=} + ;; *) PATCH_OR_DEFECT=$i ;; @@ -184,7 +199,7 @@ checkout () { cd $BASEDIR $GIT reset --hard $GIT clean -xdf -$GIT checkout master +$GIT checkout $BRANCH $GIT pull --rebase fi GIT_REVISION=`git rev-parse --verify --short HEAD` @@ -195,24 +210,29 @@ checkout () { downloadPatch () { ### Download latest patch file (ignoring .htm and .html) when run from patch process if [[ $JENKINS == "true" ]] ; then -$WGET -q -O $PATCH_DIR/jira http://issues.apache.org/jira/browse/$defect -if [[ `$GREP -c 'Patch Available' $PATCH_DIR/jira` == 0 ]] ; then - echo "$defect is not \"Patch Available\". Exiting." - cleanupAndExit 0 +if [[ -n $REVIEW_ID ]]; then +echo "Download Patch from Review Board: https://reviews.apache.org/r/$REVIEW_ID/diff/raw at `date`" +$WGET -q -O $PATCH_DIR/patch https://reviews.apache.org/r/$REVIEW_ID/diff/raw +elif [[ -n $LOCAL_PATCH ]]; then +echo "Using Local Patch in $LOCAL_PATCH at `date`" +else +echo "Download Patch from JIRA: http://issues.apache.org/jira/browse/$defect at `date`" +$WGET -q -O $PATCH_DIR/jira http://issues.apache.org/jira/browse/$defect +if [[ `$GREP -c 'Patch Available' $PATCH_DIR/jira` == 0 ]] ; then + echo "$defect is not \"Patch Available\". Exiting." + cleanupAndExit 0 +fi +relativePatchURL=`$GREP -o '"/jira/secure/attachment/[0-9]*/[^"]*' $PATCH_DIR/jira | $GREP -v -e 'htm[l]*$' | sort | tail -1 | $GREP -o '/jira/secure/attachment/[0-9]*/[^"]*'` +patchURL="http://issues.apache.org${relativePatchURL}; +patchNum=`echo $patchURL | $GREP -o '[0-9]*/' | $GREP -o '[0-9]*'` +echo "$defect patch is being downloaded at `date` from" +echo "$patchURL" +$WGET -q -O $PATCH_DIR/patch $patchURL +VERSION=${GIT_REVISION}_${defect}_PATCH-${patchNum} +JIRA_COMMENT="Here are the results of testing the latest attachment $patchURL against master revision ${GIT_REVISION}." fi -relativePatchURL=`$GREP -o '"/jira/secure/attachment/[0-9]*/[^"]*' $PATCH_DIR/jira | $GREP -v -e 'htm[l]*$' | sort | tail -1 | $GREP -o '/jira/secure/attachment/[0-9]*/[^"]*'` -patchURL="http://issues.apache.org${relativePatchURL}; -patchNum=`echo $patchURL | $GREP -o '[0-9]*/' | $GREP -o '[0-9]*'` -echo "$defect patch is being downloaded at `date` from" -echo "$patchURL" -$WGET -q -O $PATCH_DIR/patch $patchURL -VERSION=${GIT_REVISION}_${defect}_PATCH-${patchNum} -JIRA_COMMENT="Here are the results of testing the latest attachment - $patchURL - against master revision ${GIT_REVISION}." - - ### Copy the patch file to $PATCH_DIR else +### Copy the patch file to $PATCH_DIR VERSION=PATCH-${defect} cp $PATCH_FILE $PATCH_DIR/patch if [[ $? == 0 ]] ; then @@ -557,13 +577,29 @@ buildAndInstall () { echo "" echo "===
svn commit: r21226 - /dev/atlas/KEYS
Author: sarath Date: Fri Aug 18 20:58:11 2017 New Revision: 21226 Log: Adding code signing key - Sarath Subramanian Modified: dev/atlas/KEYS Modified: dev/atlas/KEYS == --- dev/atlas/KEYS (original) +++ dev/atlas/KEYS Fri Aug 18 20:58:11 2017 @@ -157,3 +157,60 @@ IxRVmNF/Zp0rDX475xUj7wmx10DzwhZ/i0P9fOdE G5VVWxtMjfAJT41LxmzANegEMplBi9ZI84bCYL1S0jrVeh82ehGSUgozwF7C =WSGE -END PGP PUBLIC KEY BLOCK- +pub 4096R/EEB20402 2017-08-18 +uid Sarath Subramanian (CODE SIGNING KEY) <sar...@apache.org> +sig 3EEB20402 2017-08-18 Sarath Subramanian (CODE SIGNING KEY) <sar...@apache.org> +sub 4096R/4AC350E5 2017-08-18 +sig EEB20402 2017-08-18 Sarath Subramanian (CODE SIGNING KEY) <sar...@apache.org> + +-BEGIN PGP PUBLIC KEY BLOCK- + +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 +5xWAhG09wDl3kIWMcXrm5utz7CMIFLA= +=3/kS +-END PGP PUBLIC KEY BLOCK-
svn commit: r21225 - /dev/atlas/KEYS
Author: sarath Date: Fri Aug 18 20:48:41 2017 New Revision: 21225 Log: Adding code signing key - Sarath Subramanian Modified: dev/atlas/KEYS Modified: dev/atlas/KEYS == --- dev/atlas/KEYS (original) +++ dev/atlas/KEYS Fri Aug 18 20:48:41 2017 @@ -157,60 +157,3 @@ IxRVmNF/Zp0rDX475xUj7wmx10DzwhZ/i0P9fOdE G5VVWxtMjfAJT41LxmzANegEMplBi9ZI84bCYL1S0jrVeh82ehGSUgozwF7C =WSGE -END PGP PUBLIC KEY BLOCK- -pub 4096R/54C88A30 2017-08-18 -uid Sarath Subramanian (CODE SIGNING KEY) <sar...@apache.org> -sig 354C88A30 2017-08-18 Sarath Subramanian (CODE SIGNING KEY) <sar...@apache.org> -sub 4096R/048C960F 2017-08-18 -sig 54C88A30 2017-08-18 Sarath Subramanian (CODE SIGNING KEY) <sar...@apache.org> - --BEGIN PGP PUBLIC KEY BLOCK- - -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 -DcO0dMjD4IqMJ9LijJSfvOMvll45PPI= -=BqTK --END PGP PUBLIC KEY BLOCK-
svn commit: r21224 - /dev/atlas/KEYS
Author: sarath Date: Fri Aug 18 20:45:39 2017 New Revision: 21224 Log: Adding code signing key - Sarath Subramanian Modified: dev/atlas/KEYS Modified: dev/atlas/KEYS == --- dev/atlas/KEYS (original) +++ dev/atlas/KEYS Fri Aug 18 20:45:39 2017 @@ -157,3 +157,60 @@ IxRVmNF/Zp0rDX475xUj7wmx10DzwhZ/i0P9fOdE G5VVWxtMjfAJT41LxmzANegEMplBi9ZI84bCYL1S0jrVeh82ehGSUgozwF7C =WSGE -END PGP PUBLIC KEY BLOCK- +pub 4096R/54C88A30 2017-08-18 +uid Sarath Subramanian (CODE SIGNING KEY) <sar...@apache.org> +sig 354C88A30 2017-08-18 Sarath Subramanian (CODE SIGNING KEY) <sar...@apache.org> +sub 4096R/048C960F 2017-08-18 +sig 54C88A30 2017-08-18 Sarath Subramanian (CODE SIGNING KEY) <sar...@apache.org> + +-BEGIN PGP PUBLIC KEY BLOCK- + +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 +DcO0dMjD4IqMJ9LijJSfvOMvll45PPI= +=BqTK +-END PGP PUBLIC KEY BLOCK-
[1/2] atlas git commit: ATLAS-1988: added REST API to search for related entities
Repository: atlas Updated Branches: refs/heads/master 63ed2a5da -> bb9384ca3 ATLAS-1988: added REST API to search for related entities Signed-off-by: Madhan Neethiraj <mad...@apache.org> (cherry picked from commit de60a6560113e311cc46a773bedd4071c7d413fe) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/f2a49bea Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/f2a49bea Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/f2a49bea Branch: refs/heads/master Commit: f2a49beadd0d8aab16dfc0f53fd2795278bf2e48 Parents: 63ed2a5 Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Tue Jul 18 23:09:19 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Thu Aug 17 14:30:57 2017 -0700 -- .../java/org/apache/atlas/AtlasErrorCode.java | 5 +- .../main/java/org/apache/atlas/SortOrder.java | 22 +++ .../model/discovery/AtlasSearchResult.java | 2 +- .../atlas/discovery/AtlasDiscoveryService.java | 13 ++ .../atlas/discovery/EntityDiscoveryService.java | 134 +++ .../store/graph/v1/EntityGraphRetriever.java| 2 +- .../atlas/util/AtlasGremlin2QueryProvider.java | 6 + .../atlas/util/AtlasGremlinQueryProvider.java | 5 +- .../apache/atlas/web/rest/DiscoveryREST.java| 39 ++ .../NotificationHookConsumerKafkaTest.java | 26 +++- 10 files changed, 248 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/f2a49bea/intg/src/main/java/org/apache/atlas/AtlasErrorCode.java -- diff --git a/intg/src/main/java/org/apache/atlas/AtlasErrorCode.java b/intg/src/main/java/org/apache/atlas/AtlasErrorCode.java index 6fa1f60..2503d8e 100644 --- a/intg/src/main/java/org/apache/atlas/AtlasErrorCode.java +++ b/intg/src/main/java/org/apache/atlas/AtlasErrorCode.java @@ -92,7 +92,10 @@ public enum AtlasErrorCode { RELATIONSHIP_INVALID_ENDTYPE(400, "ATLAS-400-00-045", "Invalid entity-type for relationship attribute â{0}â: entity specified (guid={1}) is of type â{2}â, but expected type is â{3}â"), UNKNOWN_CLASSIFICATION(400, "ATLAS-400-00-046", "{0}: Unknown/invalid classification"), INVALID_SEARCH_PARAMS(400, "ATLAS-400-00-047", "No search parameter was found. One of the following MUST be specified in the request; typeName, classification or queryText"), - // All Not found enums go here +INVALID_RELATIONSHIP_ATTRIBUTE(400, "ATLAS-400-00-048", "Expected attribute {0} to be a relationship but found type {}"), +INVALID_RELATIONSHIP_TYPE(400, "ATLAS-400-00-049", "Invalid entity type '{0}', guid '{1}' in relationship search"), + +// All Not found enums go here TYPE_NAME_NOT_FOUND(404, "ATLAS-404-00-001", "Given typename {0} was invalid"), TYPE_GUID_NOT_FOUND(404, "ATLAS-404-00-002", "Given type guid {0} was invalid"), EMPTY_RESULTS(404, "ATLAS-404-00-004", "No result found for {0}"), http://git-wip-us.apache.org/repos/asf/atlas/blob/f2a49bea/intg/src/main/java/org/apache/atlas/SortOrder.java -- diff --git a/intg/src/main/java/org/apache/atlas/SortOrder.java b/intg/src/main/java/org/apache/atlas/SortOrder.java new file mode 100644 index 000..e3eef4e --- /dev/null +++ b/intg/src/main/java/org/apache/atlas/SortOrder.java @@ -0,0 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.atlas; + +public enum SortOrder { +ASCENDING, DESCENDING +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/atlas/blob/f2a49bea/intg/src/main/java/org/apache/atlas/model/discovery/AtlasSearchResult.java -- diff --git a/intg/src/main/java/org/apache
atlas git commit: ATLAS-2050: Add helper method in relationship store to check if entity has relationships associated
Repository: atlas Updated Branches: refs/heads/master b23dc8584 -> a9514d4b1 ATLAS-2050: Add helper method in relationship store to check if entity has relationships associated Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/a9514d4b Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/a9514d4b Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/a9514d4b Branch: refs/heads/master Commit: a9514d4b1c22b653b8d3fa1d83204ab91dbefedd Parents: b23dc85 Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Thu Aug 17 15:16:31 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Thu Aug 17 15:16:31 2017 -0700 -- .../graph/v1/AtlasRelationshipStoreV1.java | 38 1 file changed, 38 insertions(+) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/a9514d4b/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1.java -- diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1.java index 4e8c148..9b27319 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasRelationshipStoreV1.java @@ -45,12 +45,16 @@ import org.springframework.stereotype.Component; import javax.inject.Inject; import java.util.ArrayList; import java.util.HashSet; +import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Set; import java.util.UUID; +import static org.apache.atlas.repository.graphdb.AtlasEdgeDirection.BOTH; +import static org.apache.atlas.repository.store.graph.v1.AtlasGraphUtilsV1.getTypeName; + @Component public class AtlasRelationshipStoreV1 implements AtlasRelationshipStore { private static final Logger LOG = LoggerFactory.getLogger(AtlasRelationshipStoreV1.class); @@ -411,4 +415,38 @@ public class AtlasRelationshipStoreV1 implements AtlasRelationshipStore { return typeName; } + +/** + * Check whether this vertex has a relationship associated with this relationship type. + * @param vertex + * @param relationshipTypeName + * @return true if found an edge with this relationship type in. + */ +private boolean vertexHasRelationshipWithType(AtlasVertex vertex, String relationshipTypeName) { +String relationshipEdgeLabel = getRelationshipEdgeLabel(getTypeName(vertex), relationshipTypeName); +Iterator iter = graphHelper.getAdjacentEdgesByLabel(vertex, BOTH, relationshipEdgeLabel); + +return (iter != null) ? iter.hasNext() : false; +} + +private String getRelationshipEdgeLabel(String typeName, String relationshipTypeName) { +AtlasRelationshipType relationshipType = typeRegistry.getRelationshipTypeByName(relationshipTypeName); +AtlasRelationshipDef relationshipDef = relationshipType.getRelationshipDef(); +AtlasEntityType end1Type = relationshipType.getEnd1Type(); +AtlasEntityType end2Type = relationshipType.getEnd2Type(); +Set vertexTypes = getTypeAndAllSuperTypes(typeName); +AtlasAttributeattribute= null; + +if (vertexTypes.contains(end1Type.getTypeName())) { +String attributeName = relationshipDef.getEndDef1().getName(); + +attribute = (attributeName != null) ? end1Type.getAttribute(attributeName) : null; +} else if (vertexTypes.contains(end2Type.getTypeName())) { +String attributeName = relationshipDef.getEndDef2().getName(); + +attribute = (attributeName != null) ? end2Type.getAttribute(attributeName) : null; +} + +return (attribute != null) ? attribute.getRelationshipEdgeLabel() : null; +} } \ No newline at end of file
atlas git commit: ATLAS-2048: Fix for Unit test failure on 0.8-incubating branch
Repository: atlas Updated Branches: refs/heads/0.8-incubating 374cc342d -> 8967f0cf6 ATLAS-2048: Fix for Unit test failure on 0.8-incubating branch Signed-off-by: Sarath Subramanian <ssubraman...@hortonworks.com> Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/8967f0cf Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/8967f0cf Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/8967f0cf Branch: refs/heads/0.8-incubating Commit: 8967f0cf62cae4c6d6215a7fb4fc0b1d7bac9789 Parents: 374cc34 Author: nixonrodrigues <ni...@apache.org> Authored: Wed Aug 16 11:58:10 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Wed Aug 16 11:58:10 2017 -0700 -- .../NotificationHookConsumerKafkaTest.java | 26 ++-- 1 file changed, 2 insertions(+), 24 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/8967f0cf/webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerKafkaTest.java -- diff --git a/webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerKafkaTest.java b/webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerKafkaTest.java index 1a3c413..eb37fa8 100644 --- a/webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerKafkaTest.java +++ b/webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerKafkaTest.java @@ -100,30 +100,8 @@ public class NotificationHookConsumerKafkaTest { produceMessage(new HookNotification.EntityCreateRequest("test_user1", createEntity())); NotificationConsumer consumer = createNewConsumer(kafkaNotification, false); -NotificationHookConsumer notificationHookConsumer = new NotificationHookConsumer(notificationInterface, atlasEntityStore, serviceState, instanceConverter, typeRegistry); -NotificationHookConsumer.HookConsumer hookConsumer = notificationHookConsumer.new HookConsumer(consumer); - -consumeOneMessage(consumer, hookConsumer); -verify(atlasEntityStore).createOrUpdate(any(EntityStream.class), anyBoolean()); - -// produce another message, and make sure it moves ahead. If commit succeeded, this would work. -produceMessage(new HookNotification.EntityCreateRequest("test_user2", createEntity())); -consumeOneMessage(consumer, hookConsumer); - verify(atlasEntityStore,times(2)).createOrUpdate(any(EntityStream.class), anyBoolean()); -reset(atlasEntityStore); -} -finally { -kafkaNotification.close(); -} -} - -@Test -public void testConsumerConsumesNewMessageWithAutoCommitDisabled1() throws AtlasException, InterruptedException, AtlasBaseException { -try { -produceMessage(new HookNotification.EntityCreateRequest("test_user1", createEntity())); - -NotificationConsumer consumer = createNewConsumer(kafkaNotification, false); -NotificationHookConsumer notificationHookConsumer = new NotificationHookConsumer(notificationInterface, atlasEntityStore, serviceState, instanceConverter, typeRegistry); +NotificationHookConsumer notificationHookConsumer = +new NotificationHookConsumer(notificationInterface, atlasEntityStore, serviceState, instanceConverter, typeRegistry); NotificationHookConsumer.HookConsumer hookConsumer = notificationHookConsumer.new HookConsumer(consumer); consumeOneMessage(consumer, hookConsumer);
atlas git commit: ATLAS-2062: Add flag to disable v1 gremlin search API using atlas-application property
Repository: atlas Updated Branches: refs/heads/master 6d8c50cca -> 2c84d7029 ATLAS-2062: Add flag to disable v1 gremlin search API using atlas-application property (cherry picked from commit caf89a3098d3187514a8412294b0d84dec68b097) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/2c84d702 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/2c84d702 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/2c84d702 Branch: refs/heads/master Commit: 2c84d7029808c090489b7a8cecdf691ffed71a93 Parents: 6d8c50c Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Fri Aug 18 16:51:16 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Fri Aug 18 16:51:50 2017 -0700 -- distro/src/conf/atlas-application.properties | 5 + .../web/resources/MetadataDiscoveryResource.java | 15 +-- 2 files changed, 18 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/2c84d702/distro/src/conf/atlas-application.properties -- diff --git a/distro/src/conf/atlas-application.properties b/distro/src/conf/atlas-application.properties index 29a4cc1..585a579 100755 --- a/distro/src/conf/atlas-application.properties +++ b/distro/src/conf/atlas-application.properties @@ -252,6 +252,11 @@ atlas.metric.query.cache.ttlInSecs=900 #Set to false to disable full text search. #atlas.search.fulltext.enable=true +# Gremlin Search Configuration # + +#Set to false to disable gremlin search. +atlas.search.gremlin.enable=false + ## Add http headers ### http://git-wip-us.apache.org/repos/asf/atlas/blob/2c84d702/webapp/src/main/java/org/apache/atlas/web/resources/MetadataDiscoveryResource.java -- diff --git a/webapp/src/main/java/org/apache/atlas/web/resources/MetadataDiscoveryResource.java b/webapp/src/main/java/org/apache/atlas/web/resources/MetadataDiscoveryResource.java index d29c8da..d7c66d3 100755 --- a/webapp/src/main/java/org/apache/atlas/web/resources/MetadataDiscoveryResource.java +++ b/webapp/src/main/java/org/apache/atlas/web/resources/MetadataDiscoveryResource.java @@ -28,6 +28,7 @@ import org.apache.atlas.query.QueryParams; import org.apache.atlas.utils.AtlasPerfTracer; import org.apache.atlas.utils.ParamChecker; import org.apache.atlas.web.util.Servlets; +import org.apache.commons.configuration.Configuration; import org.codehaus.jettison.json.JSONArray; import org.codehaus.jettison.json.JSONException; import org.codehaus.jettison.json.JSONObject; @@ -66,6 +67,10 @@ public class MetadataDiscoveryResource { private final DiscoveryService discoveryService; +private final boolean gremlinSearchEnabled; +private static Configuration applicationProperties = null; +private static final String ENABLE_GREMLIN_SEARCH_PROPERTY = "atlas.search.gremlin.enable"; + /** * Created by the Guice ServletModule and injected with the * configured DiscoveryService. @@ -73,8 +78,10 @@ public class MetadataDiscoveryResource { * @param discoveryService metadata service handle */ @Inject -public MetadataDiscoveryResource(DiscoveryService discoveryService) { -this.discoveryService = discoveryService; +public MetadataDiscoveryResource(DiscoveryService discoveryService, Configuration configuration) { +this.discoveryService = discoveryService; +applicationProperties = configuration; +gremlinSearchEnabled = applicationProperties != null && applicationProperties.getBoolean(ENABLE_GREMLIN_SEARCH_PROPERTY, false); } /** @@ -212,6 +219,10 @@ public class MetadataDiscoveryResource { perf = AtlasPerfTracer.getPerfTracer(PERF_LOG, "MetadataDiscoveryResource.searchUsingGremlinQuery(" + gremlinQuery + ")"); } +if (!gremlinSearchEnabled) { +throw new DiscoveryException("Gremlin search is not enabled."); +} + gremlinQuery = ParamChecker.notEmpty(gremlinQuery, "gremlinQuery cannot be null or empty"); final List<Map<String, String>> results = discoveryService.searchByGremlin(gremlinQuery);
atlas git commit: ATLAS-2048: Fix for Unit test failure on 0.8-incubating branch
Repository: atlas Updated Branches: refs/heads/master a9514d4b1 -> e80b6c360 ATLAS-2048: Fix for Unit test failure on 0.8-incubating branch Signed-off-by: Sarath Subramanian <ssubraman...@hortonworks.com> (cherry picked from commit 8967f0cf62cae4c6d6215a7fb4fc0b1d7bac9789) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/e80b6c36 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/e80b6c36 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/e80b6c36 Branch: refs/heads/master Commit: e80b6c360c3a5b255d822d0dc006d89a5eba530d Parents: a9514d4 Author: nixonrodrigues <ni...@apache.org> Authored: Wed Aug 16 11:58:10 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Thu Aug 17 18:01:26 2017 -0700 -- .../NotificationHookConsumerKafkaTest.java | 26 ++-- 1 file changed, 2 insertions(+), 24 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/e80b6c36/webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerKafkaTest.java -- diff --git a/webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerKafkaTest.java b/webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerKafkaTest.java index 1a3c413..eb37fa8 100644 --- a/webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerKafkaTest.java +++ b/webapp/src/test/java/org/apache/atlas/notification/NotificationHookConsumerKafkaTest.java @@ -100,30 +100,8 @@ public class NotificationHookConsumerKafkaTest { produceMessage(new HookNotification.EntityCreateRequest("test_user1", createEntity())); NotificationConsumer consumer = createNewConsumer(kafkaNotification, false); -NotificationHookConsumer notificationHookConsumer = new NotificationHookConsumer(notificationInterface, atlasEntityStore, serviceState, instanceConverter, typeRegistry); -NotificationHookConsumer.HookConsumer hookConsumer = notificationHookConsumer.new HookConsumer(consumer); - -consumeOneMessage(consumer, hookConsumer); -verify(atlasEntityStore).createOrUpdate(any(EntityStream.class), anyBoolean()); - -// produce another message, and make sure it moves ahead. If commit succeeded, this would work. -produceMessage(new HookNotification.EntityCreateRequest("test_user2", createEntity())); -consumeOneMessage(consumer, hookConsumer); - verify(atlasEntityStore,times(2)).createOrUpdate(any(EntityStream.class), anyBoolean()); -reset(atlasEntityStore); -} -finally { -kafkaNotification.close(); -} -} - -@Test -public void testConsumerConsumesNewMessageWithAutoCommitDisabled1() throws AtlasException, InterruptedException, AtlasBaseException { -try { -produceMessage(new HookNotification.EntityCreateRequest("test_user1", createEntity())); - -NotificationConsumer consumer = createNewConsumer(kafkaNotification, false); -NotificationHookConsumer notificationHookConsumer = new NotificationHookConsumer(notificationInterface, atlasEntityStore, serviceState, instanceConverter, typeRegistry); +NotificationHookConsumer notificationHookConsumer = +new NotificationHookConsumer(notificationInterface, atlasEntityStore, serviceState, instanceConverter, typeRegistry); NotificationHookConsumer.HookConsumer hookConsumer = notificationHookConsumer.new HookConsumer(consumer); consumeOneMessage(consumer, hookConsumer);
[atlas] Git Push Summary
Repository: atlas Updated Tags: refs/tags/release-0.8.1-rc0 [created] c2b0be635
[1/2] atlas git commit: ATLAS-2078: Type update using v1 API doesn't route to createUpdateTypesDef in v2 API
Repository: atlas Updated Branches: refs/heads/branch-0.8 b7f1fc914 -> 573383430 ATLAS-2078: Type update using v1 API doesn't route to createUpdateTypesDef in v2 API (cherry picked from commit 88eadb9bfa74b17dfff26dcbad0617d240d856e9) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/cfd90449 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/cfd90449 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/cfd90449 Branch: refs/heads/branch-0.8 Commit: cfd90449dfd7171eeef517d1edf077b8a8029994 Parents: b7f1fc9 Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Tue Aug 22 23:05:10 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Tue Aug 22 23:07:48 2017 -0700 -- .../java/org/apache/atlas/store/AtlasTypeDefStore.java | 2 ++ .../repository/store/graph/AtlasTypeDefGraphStore.java | 12 .../org/apache/atlas/web/resources/TypesResource.java | 9 ++--- 3 files changed, 20 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/cfd90449/intg/src/main/java/org/apache/atlas/store/AtlasTypeDefStore.java -- diff --git a/intg/src/main/java/org/apache/atlas/store/AtlasTypeDefStore.java b/intg/src/main/java/org/apache/atlas/store/AtlasTypeDefStore.java index 198bd8f..7f196c6 100644 --- a/intg/src/main/java/org/apache/atlas/store/AtlasTypeDefStore.java +++ b/intg/src/main/java/org/apache/atlas/store/AtlasTypeDefStore.java @@ -83,6 +83,8 @@ public interface AtlasTypeDefStore { AtlasTypesDef updateTypesDef(AtlasTypesDef atlasTypesDef) throws AtlasBaseException; +AtlasTypesDef createUpdateTypesDef(AtlasTypesDef typesToCreateUpdate) throws AtlasBaseException; + AtlasTypesDef createUpdateTypesDef(AtlasTypesDef typesToCreate, AtlasTypesDef typesToUpdate) throws AtlasBaseException; void deleteTypesDef(AtlasTypesDef atlasTypesDef) throws AtlasBaseException; http://git-wip-us.apache.org/repos/asf/atlas/blob/cfd90449/repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java -- diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java index 386b493..1f6cf0b 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java @@ -56,6 +56,9 @@ import java.util.HashSet; import java.util.List; import java.util.Set; +import static org.apache.atlas.repository.store.bootstrap.AtlasTypeDefStoreInitializer.getTypesToCreate; +import static org.apache.atlas.repository.store.bootstrap.AtlasTypeDefStoreInitializer.getTypesToUpdate; + /** * Abstract class for graph persistence store for TypeDef @@ -310,6 +313,15 @@ public abstract class AtlasTypeDefGraphStore implements AtlasTypeDefStore, Activ @Override @GraphTransaction +public AtlasTypesDef createUpdateTypesDef(AtlasTypesDef typesDef) throws AtlasBaseException { +AtlasTypesDef typesToCreate = getTypesToCreate(typesDef, typeRegistry); +AtlasTypesDef typesToUpdate = getTypesToUpdate(typesDef, typeRegistry); + +return createUpdateTypesDef(typesToCreate, typesToUpdate); +} + +@Override +@GraphTransaction public AtlasTypesDef createUpdateTypesDef(AtlasTypesDef typesToCreate, AtlasTypesDef typesToUpdate) throws AtlasBaseException { if (LOG.isDebugEnabled()) { LOG.debug("==> AtlasTypeDefGraphStore.createUpdateTypesDef({}, {})", typesToCreate, typesToUpdate); http://git-wip-us.apache.org/repos/asf/atlas/blob/cfd90449/webapp/src/main/java/org/apache/atlas/web/resources/TypesResource.java -- diff --git a/webapp/src/main/java/org/apache/atlas/web/resources/TypesResource.java b/webapp/src/main/java/org/apache/atlas/web/resources/TypesResource.java index 08121d8..ef8f0cb 100755 --- a/webapp/src/main/java/org/apache/atlas/web/resources/TypesResource.java +++ b/webapp/src/main/java/org/apache/atlas/web/resources/TypesResource.java @@ -23,6 +23,7 @@ import com.sun.jersey.api.core.ResourceContext; import org.apache.atlas.AtlasClient; import org.apache.atlas.exception.AtlasBaseException; import org.apache.atlas.model.typedef.AtlasTypesDef; +import org.apache.atlas.store.AtlasTypeDefStore; import org.apache.atlas.type.AtlasTypeRegistry; import org.apache.atlas.typesystem.TypesDef; import org.apache.atlas.typesystem.json.T
atlas git commit: ATLAS-2145: Errors during build
Repository: atlas Updated Branches: refs/heads/branch-0.8 3db582735 -> bad66bc66 ATLAS-2145: Errors during build Signed-off-by: Sarath Subramanian <ssubraman...@hortonworks.com> (cherry picked from commit dc358fab2dc5fcfefd8aacb5252a671be316c328) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/bad66bc6 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/bad66bc6 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/bad66bc6 Branch: refs/heads/branch-0.8 Commit: bad66bc665f9433ffedc7c3395b034b4e85a86d0 Parents: 3db5827 Author: Péter GergŠBarna <bpge...@gmail.com> Authored: Mon Sep 18 10:02:43 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Mon Sep 18 10:03:43 2017 -0700 -- client/pom.xml | 13 + dashboardv2/package.json | 3 ++- intg/pom.xml | 11 +++ 3 files changed, 26 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/bad66bc6/client/pom.xml -- diff --git a/client/pom.xml b/client/pom.xml index 2ff0674..7da9196 100755 --- a/client/pom.xml +++ b/client/pom.xml @@ -60,6 +60,10 @@ com.sun.jersey jersey-client + +com.sun.jersey +jersey-json + org.testng @@ -78,5 +82,14 @@ mockito-all test + +commons-cli +commons-cli + + +org.apache.hadoop +hadoop-auth +${hadoop.version} + http://git-wip-us.apache.org/repos/asf/atlas/blob/bad66bc6/dashboardv2/package.json -- diff --git a/dashboardv2/package.json b/dashboardv2/package.json index 1cb1384..ba1ee1b 100644 --- a/dashboardv2/package.json +++ b/dashboardv2/package.json @@ -45,7 +45,8 @@ "requirejs": "2.3.3", "requirejs-text": "2.0.15", "select2": "4.0.3", -"underscore": "1.8.3" +"underscore": "1.8.3", +"js-beautify": "1.6.14" }, "devDependencies": { "connect-livereload": "^0.5.4", http://git-wip-us.apache.org/repos/asf/atlas/blob/bad66bc6/intg/pom.xml -- diff --git a/intg/pom.xml b/intg/pom.xml index e676485..d53cf85 100644 --- a/intg/pom.xml +++ b/intg/pom.xml @@ -72,6 +72,17 @@ spring-context ${spring.version} + +com.sun.jersey +jersey-core +${jersey.version} + + +commons-lang +commons-lang +${commons-lang.version} + +
atlas git commit: ATLAS-2145: Errors during build
Repository: atlas Updated Branches: refs/heads/master c1f4007a9 -> dc358fab2 ATLAS-2145: Errors during build Signed-off-by: Sarath Subramanian <ssubraman...@hortonworks.com> Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/dc358fab Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/dc358fab Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/dc358fab Branch: refs/heads/master Commit: dc358fab2dc5fcfefd8aacb5252a671be316c328 Parents: c1f4007 Author: Péter GergŠBarna <bpge...@gmail.com> Authored: Mon Sep 18 10:02:43 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Mon Sep 18 10:02:43 2017 -0700 -- client/pom.xml | 13 + dashboardv2/package.json | 3 ++- intg/pom.xml | 11 +++ 3 files changed, 26 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/dc358fab/client/pom.xml -- diff --git a/client/pom.xml b/client/pom.xml index 6db5ef5..2d8c01f 100755 --- a/client/pom.xml +++ b/client/pom.xml @@ -60,6 +60,10 @@ com.sun.jersey jersey-client + +com.sun.jersey +jersey-json + org.testng @@ -78,5 +82,14 @@ mockito-all test + +commons-cli +commons-cli + + +org.apache.hadoop +hadoop-auth +${hadoop.version} + http://git-wip-us.apache.org/repos/asf/atlas/blob/dc358fab/dashboardv2/package.json -- diff --git a/dashboardv2/package.json b/dashboardv2/package.json index 1cb1384..ba1ee1b 100644 --- a/dashboardv2/package.json +++ b/dashboardv2/package.json @@ -45,7 +45,8 @@ "requirejs": "2.3.3", "requirejs-text": "2.0.15", "select2": "4.0.3", -"underscore": "1.8.3" +"underscore": "1.8.3", +"js-beautify": "1.6.14" }, "devDependencies": { "connect-livereload": "^0.5.4", http://git-wip-us.apache.org/repos/asf/atlas/blob/dc358fab/intg/pom.xml -- diff --git a/intg/pom.xml b/intg/pom.xml index ffc468f..a3d0e27 100644 --- a/intg/pom.xml +++ b/intg/pom.xml @@ -72,6 +72,17 @@ spring-context ${spring.version} + +com.sun.jersey +jersey-core +${jersey.version} + + +commons-lang +commons-lang +${commons-lang.version} + +
[atlas] Git Push Summary [forced push!] [Forced Update!]
Repository: atlas Updated Branches: refs/heads/branch-0.8 6c2bddf78 -> 3db582735 (forced update)
[atlas] Git Push Summary [forced push!] [Forced Update!]
Repository: atlas Updated Branches: refs/heads/master 9acdf6807 -> c1f4007a9 (forced update)
atlas git commit: ATLAS-2145: Build failure in atlas-dashboardv2 due to js-beautify issue
Repository: atlas Updated Branches: refs/heads/branch-0.8 3db582735 -> 450ac8322 ATLAS-2145: Build failure in atlas-dashboardv2 due to js-beautify issue Signed-off-by: Sarath Subramanian <ssubraman...@hortonworks.com> (cherry picked from commit 2bcbd259e6f01ba0cde9852f251b70a4805d19ba) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/450ac832 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/450ac832 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/450ac832 Branch: refs/heads/branch-0.8 Commit: 450ac8322965a03237d5e40da8856f349dca Parents: 3db5827 Author: Péter GergŠBarna <bpge...@gmail.com> Authored: Mon Sep 18 11:57:29 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Mon Sep 18 11:57:57 2017 -0700 -- dashboardv2/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/450ac832/dashboardv2/package.json -- diff --git a/dashboardv2/package.json b/dashboardv2/package.json index 1cb1384..ba1ee1b 100644 --- a/dashboardv2/package.json +++ b/dashboardv2/package.json @@ -45,7 +45,8 @@ "requirejs": "2.3.3", "requirejs-text": "2.0.15", "select2": "4.0.3", -"underscore": "1.8.3" +"underscore": "1.8.3", +"js-beautify": "1.6.14" }, "devDependencies": { "connect-livereload": "^0.5.4",
atlas git commit: ATLAS-2145: Build failure in atlas-dashboardv2 due to js-beautify issue
Repository: atlas Updated Branches: refs/heads/master c1f4007a9 -> 2bcbd259e ATLAS-2145: Build failure in atlas-dashboardv2 due to js-beautify issue Signed-off-by: Sarath Subramanian <ssubraman...@hortonworks.com> Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/2bcbd259 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/2bcbd259 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/2bcbd259 Branch: refs/heads/master Commit: 2bcbd259e6f01ba0cde9852f251b70a4805d19ba Parents: c1f4007 Author: Péter GergŠBarna <bpge...@gmail.com> Authored: Mon Sep 18 11:57:29 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Mon Sep 18 11:57:29 2017 -0700 -- dashboardv2/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/2bcbd259/dashboardv2/package.json -- diff --git a/dashboardv2/package.json b/dashboardv2/package.json index 1cb1384..ba1ee1b 100644 --- a/dashboardv2/package.json +++ b/dashboardv2/package.json @@ -45,7 +45,8 @@ "requirejs": "2.3.3", "requirejs-text": "2.0.15", "select2": "4.0.3", -"underscore": "1.8.3" +"underscore": "1.8.3", +"js-beautify": "1.6.14" }, "devDependencies": { "connect-livereload": "^0.5.4",
[atlas] Git Push Summary [forced push!] [Forced Update!]
Repository: atlas Updated Branches: refs/heads/branch-0.8 a269111d3 -> 3aeba233d (forced update)
[2/2] atlas git commit: Merge branch 'branch-0.8' of http://git-wip-us.apache.org/repos/asf/atlas into branch-0.8
Merge branch 'branch-0.8' of http://git-wip-us.apache.org/repos/asf/atlas into branch-0.8 Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/a269111d Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/a269111d Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/a269111d Branch: refs/heads/branch-0.8 Commit: a269111d375190bf9aa35c2ab288efbc3d1c40ff Parents: 3aeba23 3d2f65e Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Thu Sep 21 16:59:04 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Thu Sep 21 16:59:04 2017 -0700 -- .../org/apache/atlas/hive/hook/HiveHook.java| 93 +++ addons/models/0010-base_model.json | 26 ++- dashboardv2/public/css/scss/loader.scss | 7 + dashboardv2/public/css/scss/tag.scss| 5 + dashboardv2/public/css/scss/theme.scss | 18 +- .../detail_page/DetailPageLayoutView_tmpl.html | 26 +-- .../entity/CreateEntityLayoutView_tmpl.html | 8 +- .../profile/ProfileColumnLayoutView_tmpl.html | 2 +- .../templates/search/SaveAsLayoutView_tmpl.html | 24 +++ .../search/SaveSearchItemView_tmpl.html | 28 .../js/templates/search/SaveSearch_tmpl.html| 29 .../templates/search/SearchLayoutView_tmpl.html | 8 +- .../public/js/utils/CommonViewFunction.js | 164 +-- dashboardv2/public/js/utils/Enums.js| 11 ++ dashboardv2/public/js/utils/Messages.js | 12 +- dashboardv2/public/js/utils/Overrides.js| 7 + dashboardv2/public/js/utils/UrlLinks.js | 10 +- .../public/js/views/search/QueryBuilderView.js | 4 +- .../public/js/views/search/SaveAsLayoutView.js | 97 +++ .../js/views/search/SaveSearchItemView.js | 127 ++ .../public/js/views/search/SaveSearchView.js| 143 .../public/js/views/search/SearchLayoutView.js | 100 ++- .../model/profile/AtlasUserSavedSearch.java | 35 +++- .../atlas/discovery/AtlasDiscoveryService.java | 15 +- .../ClassificationSearchProcessor.java | 10 +- .../atlas/discovery/EntityDiscoveryService.java | 23 ++- .../atlas/discovery/EntitySearchProcessor.java | 17 +- .../atlas/repository/impexp/ImportService.java | 8 +- .../repository/ogm/AtlasSavedSearchDTO.java | 5 +- .../apache/atlas/repository/ogm/DataAccess.java | 2 +- .../userprofile/UserProfileService.java | 23 ++- .../repository/impexp/ImportServiceTest.java| 55 ++- .../impexp/ZipFileResourceTestUtils.java| 10 +- .../userprofile/UserProfileServiceTest.java | 47 -- .../apache/atlas/web/rest/DiscoveryREST.java| 126 ++ 35 files changed, 1152 insertions(+), 173 deletions(-) --
[1/2] atlas git commit: ATLAS-2159: Incorrect createTime retrieved for entity attributes in related entities search
Repository: atlas Updated Branches: refs/heads/branch-0.8 3d2f65ea7 -> a269111d3 ATLAS-2159: Incorrect createTime retrieved for entity attributes in related entities search (cherry picked from commit 9d01689d326f938443de715a090afe26f6df1300) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/3aeba233 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/3aeba233 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/3aeba233 Branch: refs/heads/branch-0.8 Commit: 3aeba233dc512d7a7c98c1dfdba2f6b8396c5f4b Parents: 450ac83 Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Thu Sep 21 16:58:17 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Thu Sep 21 16:58:59 2017 -0700 -- .../atlas/repository/store/graph/v1/EntityGraphRetriever.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/3aeba233/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java -- diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java index 83c9c2b..abb0a56 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/EntityGraphRetriever.java @@ -218,7 +218,7 @@ public final class EntityGraphRetriever { Object name= getVertexAttribute(entityVertex, entityType.getAttribute(AtlasClient.NAME)); Object description = getVertexAttribute(entityVertex, entityType.getAttribute(AtlasClient.DESCRIPTION)); Object owner = getVertexAttribute(entityVertex, entityType.getAttribute(AtlasClient.OWNER)); -Object createTime = entityVertex.getProperty(Constants.TIMESTAMP_PROPERTY_KEY, Long.class); +Object createTime = getVertexAttribute(entityVertex, entityType.getAttribute(AtlasClient.CREATE_TIME)); Object displayText = name != null ? name : ret.getAttribute(AtlasClient.QUALIFIED_NAME); ret.setAttribute(AtlasClient.NAME, name);
atlas git commit: ATLAS-2059: Update test-patch.sh script to remove ulimit value
Repository: atlas Updated Branches: refs/heads/branch-0.8 bb89d55ed -> ef7682482 ATLAS-2059: Update test-patch.sh script to remove ulimit value (cherry picked from commit 58794583a1977a684ed5f5567d7376806b262090) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/ef768248 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/ef768248 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/ef768248 Branch: refs/heads/branch-0.8 Commit: ef7682482238082d78aaf92c5cc15479a224e9d8 Parents: bb89d55 Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Wed Aug 30 11:27:11 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Wed Aug 30 11:27:52 2017 -0700 -- dev-support/test-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/ef768248/dev-support/test-patch.sh -- diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index bf95be6..e9fa610 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -13,7 +13,7 @@ #set -x -ulimit -n 1024 +#ulimit -n 1024 ### Setup some variables. ### BUILD_URL is set by Hudson if it is run by patch process
atlas git commit: ATLAS-2059: Update test-patch.sh script to remove ulimit value
Repository: atlas Updated Branches: refs/heads/master 20742f1e6 -> 58794583a ATLAS-2059: Update test-patch.sh script to remove ulimit value Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/58794583 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/58794583 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/58794583 Branch: refs/heads/master Commit: 58794583a1977a684ed5f5567d7376806b262090 Parents: 20742f1 Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Wed Aug 30 11:27:11 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Wed Aug 30 11:27:11 2017 -0700 -- dev-support/test-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/58794583/dev-support/test-patch.sh -- diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index bf95be6..e9fa610 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -13,7 +13,7 @@ #set -x -ulimit -n 1024 +#ulimit -n 1024 ### Setup some variables. ### BUILD_URL is set by Hudson if it is run by patch process
atlas git commit: ATLAS-2054: Add flag to exclude attribute mapping in FullTextMapper
Repository: atlas Updated Branches: refs/heads/master 58794583a -> 68f66e92a ATLAS-2054: Add flag to exclude attribute mapping in FullTextMapper Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/68f66e92 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/68f66e92 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/68f66e92 Branch: refs/heads/master Commit: 68f66e92acfed5d8fdd5652245bd989aa6bbfb94 Parents: 5879458 Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Wed Aug 30 11:41:10 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Wed Aug 30 11:41:10 2017 -0700 -- .../repository/graph/FullTextMapperV2.java | 63 1 file changed, 51 insertions(+), 12 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/68f66e92/repository/src/main/java/org/apache/atlas/repository/graph/FullTextMapperV2.java -- diff --git a/repository/src/main/java/org/apache/atlas/repository/graph/FullTextMapperV2.java b/repository/src/main/java/org/apache/atlas/repository/graph/FullTextMapperV2.java index 1ed12bc..76acf8c 100644 --- a/repository/src/main/java/org/apache/atlas/repository/graph/FullTextMapperV2.java +++ b/repository/src/main/java/org/apache/atlas/repository/graph/FullTextMapperV2.java @@ -30,11 +30,14 @@ import org.apache.atlas.type.AtlasTypeRegistry; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.MapUtils; import org.apache.commons.configuration.Configuration; +import org.apache.commons.lang.ArrayUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import javax.inject.Inject; +import java.util.Arrays; +import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; @@ -45,16 +48,21 @@ import java.util.Set; public class FullTextMapperV2 { private static final Logger LOG = LoggerFactory.getLogger(FullTextMapperV2.class); -private static final String FULL_TEXT_DELIMITER = " "; -private static final String FULL_TEXT_FOLLOW_REFERENCES = "atlas.search.fulltext.followReferences"; +private static final String FULL_TEXT_DELIMITER = " "; +private static final String FULL_TEXT_FOLLOW_REFERENCES = "atlas.search.fulltext.followReferences"; +private static final String FULL_TEXT_EXCLUDE_ATTRIBUTE_PROPERTY = "atlas.search.fulltext.type"; -private final EntityGraphRetriever entityGraphRetriever; -private final boolean followReferences; +private final EntityGraphRetriever entityGraphRetriever; +private final boolean followReferences; +private final Map<String, Set> excludeAttributesCache = new HashMap<>(); + +private Configuration APPLICATION_PROPERTIES = null; @Inject public FullTextMapperV2(AtlasTypeRegistry typeRegistry, Configuration configuration) { -entityGraphRetriever = new EntityGraphRetriever(typeRegistry); -followReferences = configuration != null && configuration.getBoolean(FULL_TEXT_FOLLOW_REFERENCES, false); +entityGraphRetriever = new EntityGraphRetriever(typeRegistry); +APPLICATION_PROPERTIES = configuration; +followReferences = APPLICATION_PROPERTIES != null && APPLICATION_PROPERTIES.getBoolean(FULL_TEXT_FOLLOW_REFERENCES, false); } /** @@ -75,7 +83,9 @@ public class FullTextMapperV2 { for (AtlasClassification classification : classifications) { sb.append(classification.getTypeName()).append(FULL_TEXT_DELIMITER); -mapAttributes(classification.getAttributes(), entityWithExtInfo, sb, new HashSet()); +Set excludeAttributes = getExcludeAttributesForIndexText(classification.getTypeName()); + +mapAttributes(classification.getAttributes(), entityWithExtInfo, sb, new HashSet(), excludeAttributes); } } @@ -117,19 +127,24 @@ public class FullTextMapperV2 { sb.append(entity.getTypeName()).append(FULL_TEXT_DELIMITER); -mapAttributes(entity.getAttributes(), entityExtInfo, sb, processedGuids); +Set excludeAttributes = getExcludeAttributesForIndexText(entity.getTypeName()); + +mapAttributes(entity.getAttributes(), entityExtInfo, sb, processedGuids, excludeAttributes); List classifications = entity.getClassifications(); if (CollectionUtils.isNotEmpty(classifications)) { for (AtlasClassification classif
atlas git commit: ATLAS-2099: Change branch-0.8 pom version to 0.8.2-SNAPSHOT
Repository: atlas Updated Branches: refs/heads/branch-0.8 9b41b5ab6 -> 8cc91bcd2 ATLAS-2099: Change branch-0.8 pom version to 0.8.2-SNAPSHOT Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/8cc91bcd Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/8cc91bcd Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/8cc91bcd Branch: refs/heads/branch-0.8 Commit: 8cc91bcd24615ee39256c484c79759b84b6f0964 Parents: 9b41b5a Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Wed Aug 30 13:51:31 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Wed Aug 30 13:51:31 2017 -0700 -- addons/falcon-bridge-shim/pom.xml | 2 +- addons/falcon-bridge/pom.xml | 2 +- addons/hdfs-model/pom.xml | 2 +- addons/hive-bridge-shim/pom.xml| 2 +- addons/hive-bridge/pom.xml | 2 +- addons/sqoop-bridge-shim/pom.xml | 2 +- addons/sqoop-bridge/pom.xml| 2 +- addons/storm-bridge-shim/pom.xml | 2 +- addons/storm-bridge/pom.xml| 2 +- authorization/pom.xml | 2 +- catalog/pom.xml| 2 +- client/pom.xml | 2 +- common/pom.xml | 2 +- dashboardv2/pom.xml| 2 +- distro/pom.xml | 2 +- docs/pom.xml | 2 +- graphdb/api/pom.xml| 2 +- graphdb/common/pom.xml | 2 +- graphdb/graphdb-impls/pom.xml | 2 +- graphdb/pom.xml| 2 +- graphdb/titan0/pom.xml | 2 +- graphdb/titan1/pom.xml | 2 +- intg/pom.xml | 2 +- notification/pom.xml | 2 +- plugin-classloader/pom.xml | 2 +- pom.xml| 2 +- repository/pom.xml | 2 +- server-api/pom.xml | 2 +- shaded/hbase-client-shaded/pom.xml | 2 +- shaded/hbase-server-shaded/pom.xml | 2 +- typesystem/pom.xml | 2 +- webapp/pom.xml | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/8cc91bcd/addons/falcon-bridge-shim/pom.xml -- diff --git a/addons/falcon-bridge-shim/pom.xml b/addons/falcon-bridge-shim/pom.xml index c59ff09..90037a4 100755 --- a/addons/falcon-bridge-shim/pom.xml +++ b/addons/falcon-bridge-shim/pom.xml @@ -22,7 +22,7 @@ apache-atlas org.apache.atlas -0.8.1 +0.8.2-SNAPSHOT ../../ falcon-bridge-shim http://git-wip-us.apache.org/repos/asf/atlas/blob/8cc91bcd/addons/falcon-bridge/pom.xml -- diff --git a/addons/falcon-bridge/pom.xml b/addons/falcon-bridge/pom.xml index 8341424..1ef604f 100644 --- a/addons/falcon-bridge/pom.xml +++ b/addons/falcon-bridge/pom.xml @@ -22,7 +22,7 @@ apache-atlas org.apache.atlas -0.8.1 +0.8.2-SNAPSHOT ../../ falcon-bridge http://git-wip-us.apache.org/repos/asf/atlas/blob/8cc91bcd/addons/hdfs-model/pom.xml -- diff --git a/addons/hdfs-model/pom.xml b/addons/hdfs-model/pom.xml index fb621bb..675e70c 100644 --- a/addons/hdfs-model/pom.xml +++ b/addons/hdfs-model/pom.xml @@ -22,7 +22,7 @@ apache-atlas org.apache.atlas -0.8.1 +0.8.2-SNAPSHOT ../../ hdfs-model http://git-wip-us.apache.org/repos/asf/atlas/blob/8cc91bcd/addons/hive-bridge-shim/pom.xml -- diff --git a/addons/hive-bridge-shim/pom.xml b/addons/hive-bridge-shim/pom.xml index a9c6232..302414e 100755 --- a/addons/hive-bridge-shim/pom.xml +++ b/addons/hive-bridge-shim/pom.xml @@ -22,7 +22,7 @@ apache-atlas org.apache.atlas -0.8.1 +0.8.2-SNAPSHOT ../../ hive-bridge-shim http://git-wip-us.apache.org/repos/asf/atlas/blob/8cc91bcd/addons/hive-bridge/pom.xml -- diff --git a/addons/hive-bridge/pom.xml b/addons/hive-bridge/pom.xml index d2ff8e0..4e5613c 100755 --- a/addons/hive-bridge/pom.xml +++ b/addons/hive-bridge/pom.xml @@ -22,7 +22,7 @@ apache-atlas org.apache.atlas -0.8.1 +0.8.2-SNAPSHOT ../../ hive-bridge http://git-wip-us.apache.org/repos/asf/atlas/blob/8cc91bcd/addons/sqoop-bridge-shim/pom.xml -- diff --git a/addons/sqoop-bridge-shim/pom.xml b/addons/sqoop-bridge-shim/pom.xml index f0b52d7.
svn commit: r21351 - /release/atlas/0.8.0-incubating/
Author: sarath Date: Tue Aug 29 20:53:22 2017 New Revision: 21351 Log: Deleting 0.8.0-incubating release artifacts Removed: release/atlas/0.8.0-incubating/
atlas git commit: ATLAS-2097: Update docs site.xml about 0.8.1 documentation and release information
Repository: atlas Updated Branches: refs/heads/master 15d67e52f -> 1b7e41f1a ATLAS-2097: Update docs site.xml about 0.8.1 documentation and release information Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/1b7e41f1 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/1b7e41f1 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/1b7e41f1 Branch: refs/heads/master Commit: 1b7e41f1adbfea4f046ff66b904d22ee839e095b Parents: 15d67e5 Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Tue Aug 29 14:41:18 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Tue Aug 29 14:41:18 2017 -0700 -- docs/src/site/site.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/1b7e41f1/docs/src/site/site.xml -- diff --git a/docs/src/site/site.xml b/docs/src/site/site.xml index a532286..4de52b6 100755 --- a/docs/src/site/site.xml +++ b/docs/src/site/site.xml @@ -87,8 +87,10 @@ +http://www.apache.org/dyn/closer.cgi/atlas/0.8.1/"/> http://www.apache.org/dyn/closer.cgi/atlas/0.8.0-incubating/"/> + href="http://archive.apache.org/dist/incubator/atlas/0.8.0-incubating/"/> http://archive.apache.org/dist/incubator/atlas/0.7.1-incubating/"/> +
atlas git commit: ATLAS-2097: Update docs site.xml about 0.8.1 documentation and release information
Repository: atlas Updated Branches: refs/heads/branch-0.8 45d05d110 -> bb89d55ed ATLAS-2097: Update docs site.xml about 0.8.1 documentation and release information (cherry picked from commit 1b7e41f1adbfea4f046ff66b904d22ee839e095b) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/bb89d55e Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/bb89d55e Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/bb89d55e Branch: refs/heads/branch-0.8 Commit: bb89d55ed8e65f27d2e83edcfd574a6ea37d62f0 Parents: 45d05d1 Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Tue Aug 29 14:41:18 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Tue Aug 29 15:22:30 2017 -0700 -- docs/src/site/site.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/bb89d55e/docs/src/site/site.xml -- diff --git a/docs/src/site/site.xml b/docs/src/site/site.xml index a532286..4de52b6 100755 --- a/docs/src/site/site.xml +++ b/docs/src/site/site.xml @@ -87,8 +87,10 @@ +http://www.apache.org/dyn/closer.cgi/atlas/0.8.1/"/> http://www.apache.org/dyn/closer.cgi/atlas/0.8.0-incubating/"/> + href="http://archive.apache.org/dist/incubator/atlas/0.8.0-incubating/"/> http://archive.apache.org/dist/incubator/atlas/0.7.1-incubating/"/> +
atlas git commit: ATLAS-2099: update build-tools module version to 0.8.2-SNAPSHOT
Repository: atlas Updated Branches: refs/heads/branch-0.8 8cc91bcd2 -> 8b852750a ATLAS-2099: update build-tools module version to 0.8.2-SNAPSHOT Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/8b852750 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/8b852750 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/8b852750 Branch: refs/heads/branch-0.8 Commit: 8b852750aa8f298bc5f3b179c4dc0340519697f0 Parents: 8cc91bc Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Wed Aug 30 14:18:14 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Wed Aug 30 14:18:14 2017 -0700 -- build-tools/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/8b852750/build-tools/pom.xml -- diff --git a/build-tools/pom.xml b/build-tools/pom.xml index 76fa91f..f46ee39 100644 --- a/build-tools/pom.xml +++ b/build-tools/pom.xml @@ -24,6 +24,6 @@ atlas-buildtools Apache Atlas Server Build Tools Apache Atlas Build Tools like Checkstyle -0.8.1 +0.8.2-SNAPSHOT jar
atlas git commit: ATLAS-2114: Regression : Type Update using V1 APIs
Repository: atlas Updated Branches: refs/heads/master 7eff37a6f -> a5d52418d ATLAS-2114: Regression : Type Update using V1 APIs Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/a5d52418 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/a5d52418 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/a5d52418 Branch: refs/heads/master Commit: a5d52418d26be3de93f95f8811b9a73a74623b1e Parents: 7eff37a Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Wed Sep 6 17:28:37 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Wed Sep 6 17:28:37 2017 -0700 -- .../bootstrap/AtlasTypeDefStoreInitializer.java | 32 .../store/graph/AtlasTypeDefGraphStore.java | 2 +- 2 files changed, 20 insertions(+), 14 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/a5d52418/repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java -- diff --git a/repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java b/repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java index e11cd12..a65ec3a 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java @@ -166,7 +166,7 @@ public class AtlasTypeDefStoreInitializer implements ActiveStateChangeHandler { } AtlasTypesDef typesToCreate = getTypesToCreate(typesDef, atlasTypeRegistry); -AtlasTypesDef typesToUpdate = getTypesToUpdate(typesDef, atlasTypeRegistry); +AtlasTypesDef typesToUpdate = getTypesToUpdate(typesDef, atlasTypeRegistry, true); if (!typesToCreate.isEmpty() || !typesToUpdate.isEmpty()) { atlasTypeDefStore.createUpdateTypesDef(typesToCreate, typesToUpdate); @@ -233,7 +233,7 @@ public class AtlasTypeDefStoreInitializer implements ActiveStateChangeHandler { return typesToCreate; } -public static AtlasTypesDef getTypesToUpdate(AtlasTypesDef typesDef, AtlasTypeRegistry typeRegistry) { +public static AtlasTypesDef getTypesToUpdate(AtlasTypesDef typesDef, AtlasTypeRegistry typeRegistry, boolean checkTypeVersion) { AtlasTypesDef typesToUpdate = new AtlasTypesDef(); if (CollectionUtils.isNotEmpty(typesDef.getStructDefs())) { @@ -244,7 +244,7 @@ public class AtlasTypeDefStoreInitializer implements ActiveStateChangeHandler { continue; } -if (updateTypeAttributes(oldStructDef, newStructDef)) { +if (updateTypeAttributes(oldStructDef, newStructDef, checkTypeVersion)) { typesToUpdate.getStructDefs().add(newStructDef); } } @@ -258,7 +258,7 @@ public class AtlasTypeDefStoreInitializer implements ActiveStateChangeHandler { continue; } -if (updateTypeAttributes(oldClassifDef, newClassifDef)) { +if (updateTypeAttributes(oldClassifDef, newClassifDef, checkTypeVersion)) { typesToUpdate.getClassificationDefs().add(newClassifDef); } } @@ -272,7 +272,7 @@ public class AtlasTypeDefStoreInitializer implements ActiveStateChangeHandler { continue; } -if (updateTypeAttributes(oldEntityDef, newEntityDef)) { +if (updateTypeAttributes(oldEntityDef, newEntityDef, checkTypeVersion)) { typesToUpdate.getEntityDefs().add(newEntityDef); } } @@ -286,7 +286,7 @@ public class AtlasTypeDefStoreInitializer implements ActiveStateChangeHandler { continue; } -if (isTypeUpdateApplicable(oldEnumDef, newEnumDef)) { +if (isTypeUpdateApplicable(oldEnumDef, newEnumDef, checkTypeVersion)) { if (CollectionUtils.isNotEmpty(oldEnumDef.getElementDefs())) { for (AtlasEnumElementDef oldEnumElem : oldEnumDef.getElementDefs()) { if (!newEnumDef.hasElement(oldEnumElem.getValue())) { @@ -308,7 +308,7 @@ public class AtlasTypeDefStoreInitializer implements ActiveStateChangeHandler { continue; } -if (updateTypeAttributes(oldRelationshipDef,
atlas git commit: ATLAS-2114: Regression : Type Update using V1 APIs
Repository: atlas Updated Branches: refs/heads/branch-0.8 7780b520a -> f52ad35dd ATLAS-2114: Regression : Type Update using V1 APIs (cherry picked from commit a5d52418d26be3de93f95f8811b9a73a74623b1e) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/f52ad35d Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/f52ad35d Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/f52ad35d Branch: refs/heads/branch-0.8 Commit: f52ad35dd1fb6707c6b73bbfeccd8a8fcbf3ae7d Parents: 7780b52 Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Wed Sep 6 17:28:37 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Wed Sep 6 17:50:49 2017 -0700 -- .../bootstrap/AtlasTypeDefStoreInitializer.java | 30 .../store/graph/AtlasTypeDefGraphStore.java | 2 +- 2 files changed, 19 insertions(+), 13 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/f52ad35d/repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java -- diff --git a/repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java b/repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java index 4530f51..3cb0f7e 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/bootstrap/AtlasTypeDefStoreInitializer.java @@ -111,7 +111,7 @@ public class AtlasTypeDefStoreInitializer { } AtlasTypesDef typesToCreate = getTypesToCreate(typesDef, atlasTypeRegistry); -AtlasTypesDef typesToUpdate = getTypesToUpdate(typesDef, atlasTypeRegistry); +AtlasTypesDef typesToUpdate = getTypesToUpdate(typesDef, atlasTypeRegistry, true); if (!typesToCreate.isEmpty() || !typesToUpdate.isEmpty()) { atlasTypeDefStore.createUpdateTypesDef(typesToCreate, typesToUpdate); @@ -167,7 +167,7 @@ public class AtlasTypeDefStoreInitializer { return typesToCreate; } -public static AtlasTypesDef getTypesToUpdate(AtlasTypesDef typesDef, AtlasTypeRegistry typeRegistry) { +public static AtlasTypesDef getTypesToUpdate(AtlasTypesDef typesDef, AtlasTypeRegistry typeRegistry, boolean checkTypeVersion) { AtlasTypesDef typesToUpdate = new AtlasTypesDef(); if (CollectionUtils.isNotEmpty(typesDef.getStructDefs())) { @@ -178,7 +178,7 @@ public class AtlasTypeDefStoreInitializer { continue; } -if (updateTypeAttributes(oldStructDef, newStructDef)) { +if (updateTypeAttributes(oldStructDef, newStructDef, checkTypeVersion)) { typesToUpdate.getStructDefs().add(newStructDef); } } @@ -192,7 +192,7 @@ public class AtlasTypeDefStoreInitializer { continue; } -if (updateTypeAttributes(oldClassifDef, newClassifDef)) { +if (updateTypeAttributes(oldClassifDef, newClassifDef, checkTypeVersion)) { typesToUpdate.getClassificationDefs().add(newClassifDef); } } @@ -206,7 +206,7 @@ public class AtlasTypeDefStoreInitializer { continue; } -if (updateTypeAttributes(oldEntityDef, newEntityDef)) { +if (updateTypeAttributes(oldEntityDef, newEntityDef, checkTypeVersion)) { typesToUpdate.getEntityDefs().add(newEntityDef); } } @@ -220,7 +220,7 @@ public class AtlasTypeDefStoreInitializer { continue; } -if (isTypeUpdateApplicable(oldEnumDef, newEnumDef)) { +if (isTypeUpdateApplicable(oldEnumDef, newEnumDef, checkTypeVersion)) { if (CollectionUtils.isNotEmpty(oldEnumDef.getElementDefs())) { for (AtlasEnumElementDef oldEnumElem : oldEnumDef.getElementDefs()) { if (!newEnumDef.hasElement(oldEnumElem.getValue())) { @@ -237,8 +237,8 @@ public class AtlasTypeDefStoreInitializer { return typesToUpdate; } -private static boolean updateTypeAttributes(AtlasStructDef oldStructDef, AtlasStructDef newStructDef) { -boolean ret = isTypeUpdateApplicable(oldStructDef, newStructDef); +private static boolean updateTypeAttributes(AtlasStructDef oldStructDef, AtlasStructDef newStructDef, boolean checkTypeVersion) { +
atlas git commit: ATLAS-2079: Fix coverity scan issue and IT failures introduced by ATLAS-2062 - missing changes
Repository: atlas Updated Branches: refs/heads/master 97ae3a3c8 -> bb1897663 ATLAS-2079: Fix coverity scan issue and IT failures introduced by ATLAS-2062 - missing changes Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/bb189766 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/bb189766 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/bb189766 Branch: refs/heads/master Commit: bb1897663b43feb79faf6e2fc2818380fd16b9dd Parents: 97ae3a3 Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Wed Aug 23 10:19:22 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Wed Aug 23 10:19:22 2017 -0700 -- .../src/test/java/org/apache/atlas/falcon/hook/FalconHookIT.java | 2 +- .../src/test/java/org/apache/atlas/hive/HiveITBase.java | 2 +- .../src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java | 2 +- pom.xml | 2 +- .../java/org/apache/atlas/typesystem/types/utils/TypesUtil.java | 2 +- .../org/apache/atlas/web/integration/TypesJerseyResourceIT.java | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/bb189766/addons/falcon-bridge/src/test/java/org/apache/atlas/falcon/hook/FalconHookIT.java -- diff --git a/addons/falcon-bridge/src/test/java/org/apache/atlas/falcon/hook/FalconHookIT.java b/addons/falcon-bridge/src/test/java/org/apache/atlas/falcon/hook/FalconHookIT.java index e2d4bbb..7212921 100644 --- a/addons/falcon-bridge/src/test/java/org/apache/atlas/falcon/hook/FalconHookIT.java +++ b/addons/falcon-bridge/src/test/java/org/apache/atlas/falcon/hook/FalconHookIT.java @@ -304,7 +304,7 @@ public class FalconHookIT { } private String assertEntityIsRegistered(final String typeName, final String property, final String value) throws Exception { -waitFor(8, new Predicate() { +waitFor(1000, new Predicate() { @Override public void evaluate() throws Exception { Referenceable entity = atlasClient.getEntity(typeName, property, value); http://git-wip-us.apache.org/repos/asf/atlas/blob/bb189766/addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java -- diff --git a/addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java b/addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java index 3e20cf0..0d163ee 100644 --- a/addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java +++ b/addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java @@ -155,7 +155,7 @@ public class HiveITBase { protected String assertEntityIsRegistered(final String typeName, final String property, final String value, final HiveHookIT.AssertPredicate assertPredicate) throws Exception { -waitFor(8, new HiveHookIT.Predicate() { +waitFor(1000, new HiveHookIT.Predicate() { @Override public void evaluate() throws Exception { Referenceable entity = atlasClient.getEntity(typeName, property, value); http://git-wip-us.apache.org/repos/asf/atlas/blob/bb189766/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java -- diff --git a/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java b/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java index 979e729..f7404ae 100755 --- a/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java +++ b/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java @@ -1803,7 +1803,7 @@ public class HiveHookIT extends HiveITBase { } private void assertEntityIsNotRegistered(final String typeName, final String property, final String value) throws Exception { -waitFor(8, new Predicate() { +waitFor(1000, new Predicate() { @Override public void evaluate() throws Exception { try { http://git-wip-us.apache.org/repos/asf/atlas/blob/bb189766/pom.xml -- diff --git a/pom.xml b/pom.xml index 5adfc9c..8d62786 100644 --- a/pom.xml +++ b/pom.xml @@ -1922,7 +1922,7 @@ atlas-log4j.xml ${skipTests} -1C +2C false true -Djava.awt.headless=true -D
atlas git commit: ATLAS-2079: Fix coverity scan issue and IT failures introduced by ATLAS-2062 - missing changes
Repository: atlas Updated Branches: refs/heads/branch-0.8 7f0169cc3 -> 0055507ca ATLAS-2079: Fix coverity scan issue and IT failures introduced by ATLAS-2062 - missing changes (cherry picked from commit bb1897663b43feb79faf6e2fc2818380fd16b9dd) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/0055507c Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/0055507c Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/0055507c Branch: refs/heads/branch-0.8 Commit: 0055507caf0b6631d19f48b2f1509b3122e77ec8 Parents: 7f0169c Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Wed Aug 23 10:19:22 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Wed Aug 23 10:20:01 2017 -0700 -- .../src/test/java/org/apache/atlas/falcon/hook/FalconHookIT.java | 2 +- .../src/test/java/org/apache/atlas/hive/HiveITBase.java | 2 +- .../src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java | 2 +- pom.xml | 2 +- .../java/org/apache/atlas/typesystem/types/utils/TypesUtil.java | 2 +- .../org/apache/atlas/web/integration/TypesJerseyResourceIT.java | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/0055507c/addons/falcon-bridge/src/test/java/org/apache/atlas/falcon/hook/FalconHookIT.java -- diff --git a/addons/falcon-bridge/src/test/java/org/apache/atlas/falcon/hook/FalconHookIT.java b/addons/falcon-bridge/src/test/java/org/apache/atlas/falcon/hook/FalconHookIT.java index e2d4bbb..7212921 100644 --- a/addons/falcon-bridge/src/test/java/org/apache/atlas/falcon/hook/FalconHookIT.java +++ b/addons/falcon-bridge/src/test/java/org/apache/atlas/falcon/hook/FalconHookIT.java @@ -304,7 +304,7 @@ public class FalconHookIT { } private String assertEntityIsRegistered(final String typeName, final String property, final String value) throws Exception { -waitFor(8, new Predicate() { +waitFor(1000, new Predicate() { @Override public void evaluate() throws Exception { Referenceable entity = atlasClient.getEntity(typeName, property, value); http://git-wip-us.apache.org/repos/asf/atlas/blob/0055507c/addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java -- diff --git a/addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java b/addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java index 3e20cf0..0d163ee 100644 --- a/addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java +++ b/addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java @@ -155,7 +155,7 @@ public class HiveITBase { protected String assertEntityIsRegistered(final String typeName, final String property, final String value, final HiveHookIT.AssertPredicate assertPredicate) throws Exception { -waitFor(8, new HiveHookIT.Predicate() { +waitFor(1000, new HiveHookIT.Predicate() { @Override public void evaluate() throws Exception { Referenceable entity = atlasClient.getEntity(typeName, property, value); http://git-wip-us.apache.org/repos/asf/atlas/blob/0055507c/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java -- diff --git a/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java b/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java index 979e729..f7404ae 100755 --- a/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java +++ b/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java @@ -1803,7 +1803,7 @@ public class HiveHookIT extends HiveITBase { } private void assertEntityIsNotRegistered(final String typeName, final String property, final String value) throws Exception { -waitFor(8, new Predicate() { +waitFor(1000, new Predicate() { @Override public void evaluate() throws Exception { try { http://git-wip-us.apache.org/repos/asf/atlas/blob/0055507c/pom.xml -- diff --git a/pom.xml b/pom.xml index 4038c53..c9528de 100644 --- a/pom.xml +++ b/pom.xml @@ -1903,7 +1903,7 @@ atlas-log4j.xml ${skipTests} -1C +2C false
[atlas] Git Push Summary
Repository: atlas Updated Tags: refs/tags/release-0.8.1-rc1 [created] ad88afa99
svn commit: r21285 - in /dev/atlas/0.8.1-rc1: ./ apache-atlas-0.8.1-sources.tar.gz apache-atlas-0.8.1-sources.tar.gz.asc apache-atlas-0.8.1-sources.tar.gz.md5 apache-atlas-0.8.1-sources.tar.gz.sha512
Author: sarath Date: Wed Aug 23 23:31:13 2017 New Revision: 21285 Log: Add 0.8.1 release candidate 1 artifacts Added: dev/atlas/0.8.1-rc1/ dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-sources.tar.gz (with props) dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-sources.tar.gz.asc dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-sources.tar.gz.md5 dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-sources.tar.gz.sha512 Added: dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-sources.tar.gz == Binary file - no diff available. Propchange: dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-sources.tar.gz -- svn:mime-type = application/octet-stream Added: dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-sources.tar.gz.asc == --- dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-sources.tar.gz.asc (added) +++ dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-sources.tar.gz.asc Wed Aug 23 23:31:13 2017 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIcBAABCgAGBQJZng9EAAoJEDI8MZfusgQCLa8P/1vbDxCwv76G0zPfcihkMjSA +bmEB0Wq5P5AltXC5l4VGUSO9Xbd5mIv8H8UtDs6NBlAUWOY4p+vmLOhsA4KvHVpX +0RfLX/EAK6u1BEXemdP6gaVQ7kJw4RYR/GusHS89eYqe7BFXV1O3INsE3yi1ocbp +qXBCyNWB9ieXy7yXzKFW6zy4H/tmBMfq4jDclVS0rQerG65si2rlejEpuLkKkf3R +mSedzViD1zxYdRd5z+bfvUlAA0muegjYq0N/ZBRvSEQAyQnDlQnVOhSNmwGnE7GU +jSUeou4Y4A1ngW2s4Hj7XLF0fGh3d4lnxRDA3XxS2zGTt0tDapKh6uXsNpJqQ0rr +/sSZz7DTt0vs3WLsy51JSTO783LJFHgiYViSnrcOiXQQF5pEwvrD3ZETRQH81oWm +nJE1gwh6Z4tYcPPBMvRx47Oo1tDjSWoe/IIoMnBIZ1ArsC8ddBk+Lu+rSrX+kNX+ +jzZH4jFssPZHzX1ZOjfGpnZsfHGRlgBxy/OXG9D8g4kJoyuqu3rm7p1jGu+hUG9n +JtjRmzetfLVIti1vlMqAPGxk4he/ENiu3PLb3kRcRVM+UF9abHvGI4/jzODDXbdg +b69j2dKJqu3QhrHhgBDcYGF5EUB0oxxVVm+TwF4vsKQ51TubpfBq82JFVzfpgBVe +x1vzQ682x4reB9BPn5wW +=hvi6 +-END PGP SIGNATURE- Added: dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-sources.tar.gz.md5 == --- dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-sources.tar.gz.md5 (added) +++ dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-sources.tar.gz.md5 Wed Aug 23 23:31:13 2017 @@ -0,0 +1,2 @@ +apache-atlas-0.8.1-sources.tar.gz: 48 9D 12 32 ED 8F 0F DE D3 2C 62 BE 3A 84 62 + DF Added: dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-sources.tar.gz.sha512 == --- dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-sources.tar.gz.sha512 (added) +++ dev/atlas/0.8.1-rc1/apache-atlas-0.8.1-sources.tar.gz.sha512 Wed Aug 23 23:31:13 2017 @@ -0,0 +1,4 @@ +apache-atlas-0.8.1-sources.tar.gz: 6CADD3D1 CE511869 61094FDA 376D8C5D 093173EC + 572C2818 0EF79C53 F6296D0B 1642DF44 8B81157B + 945B1A16 7A50134E B608B375 23E24317 962CBB0F + CB414771
atlas git commit: ATLAS-2038: Minor refactoring to use org.apache.commons.codec.binary.Base64.
Repository: atlas Updated Branches: refs/heads/branch-0.8 fa1a5d702 -> 649f314e1 ATLAS-2038: Minor refactoring to use org.apache.commons.codec.binary.Base64. (cherry picked from commit 1496257312abf06a471efc54c844634d7200b9dd) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/649f314e Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/649f314e Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/649f314e Branch: refs/heads/branch-0.8 Commit: 649f314e1d980ae62f0cf9c3e19cb808eaa41150 Parents: fa1a5d7 Author: ashutoshm <ames...@hortonworks.com> Authored: Mon Aug 21 11:41:44 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Mon Aug 21 11:53:56 2017 -0700 -- .../web/filters/AtlasAuthenticationSimpleFilterIT.java | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/649f314e/webapp/src/test/java/org/apache/atlas/web/filters/AtlasAuthenticationSimpleFilterIT.java -- diff --git a/webapp/src/test/java/org/apache/atlas/web/filters/AtlasAuthenticationSimpleFilterIT.java b/webapp/src/test/java/org/apache/atlas/web/filters/AtlasAuthenticationSimpleFilterIT.java index 25414fd..00436fb 100644 --- a/webapp/src/test/java/org/apache/atlas/web/filters/AtlasAuthenticationSimpleFilterIT.java +++ b/webapp/src/test/java/org/apache/atlas/web/filters/AtlasAuthenticationSimpleFilterIT.java @@ -19,7 +19,7 @@ package org.apache.atlas.web.filters; import org.apache.atlas.web.security.BaseSecurityTest; import org.testng.Assert; import org.testng.annotations.Test; -import sun.misc.BASE64Encoder; +import org.apache.commons.codec.binary.Base64; import javax.ws.rs.core.Response; import java.net.HttpURLConnection; import java.net.URL; @@ -30,8 +30,7 @@ import static org.testng.Assert.assertEquals; * */ public class AtlasAuthenticationSimpleFilterIT extends BaseSecurityTest { -private BASE64Encoder enc = new sun.misc.BASE64Encoder(); - +private Base64 enc = new Base64(); @Test(enabled = true) public void testSimpleLoginForValidUser() throws Exception { @@ -39,7 +38,7 @@ public class AtlasAuthenticationSimpleFilterIT extends BaseSecurityTest { HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("GET"); String userpassword = "admin:admin"; // right password -String encodedAuthorization = enc.encode(userpassword.getBytes()); +String encodedAuthorization = enc.encodeToString(userpassword.getBytes()); connection.setRequestProperty("Authorization", "Basic " + encodedAuthorization); connection.connect(); @@ -68,7 +67,7 @@ public class AtlasAuthenticationSimpleFilterIT extends BaseSecurityTest { HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("GET"); String userpassword = "rangertagsync:rangertagsync"; //right password with no policy for taxonomies api -String encodedAuthorization = enc.encode(userpassword.getBytes()); +String encodedAuthorization = enc.encodeToString(userpassword.getBytes()); connection.setRequestProperty("Authorization", "Basic " + encodedAuthorization); connection.connect(); @@ -87,7 +86,7 @@ public class AtlasAuthenticationSimpleFilterIT extends BaseSecurityTest { HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("GET"); String userpassword = "admin:admin1"; //wrong password -String encodedAuthorization = enc.encode(userpassword.getBytes()); +String encodedAuthorization = enc.encodeToString(userpassword.getBytes()); connection.setRequestProperty("Authorization", "Basic " + encodedAuthorization); connection.connect();
atlas git commit: ATLAS-2074: AtlasType.resolveReferences() method made package-private
Repository: atlas Updated Branches: refs/heads/master 149625731 -> b54f4b876 ATLAS-2074: AtlasType.resolveReferences() method made package-private Signed-off-by: Sarath Subramanian <ssubraman...@hortonworks.com> Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/b54f4b87 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/b54f4b87 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/b54f4b87 Branch: refs/heads/master Commit: b54f4b87659dec53d57c55c77799367d5f0fe399 Parents: 1496257 Author: Madhan Neethiraj <mad...@apache.org> Authored: Mon Aug 21 11:56:41 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Mon Aug 21 11:56:41 2017 -0700 -- intg/src/main/java/org/apache/atlas/type/AtlasArrayType.java | 2 +- .../java/org/apache/atlas/type/AtlasClassificationType.java| 6 +++--- intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java | 6 +++--- intg/src/main/java/org/apache/atlas/type/AtlasEnumType.java| 2 +- intg/src/main/java/org/apache/atlas/type/AtlasMapType.java | 2 +- .../main/java/org/apache/atlas/type/AtlasRelationshipType.java | 4 ++-- intg/src/main/java/org/apache/atlas/type/AtlasStructType.java | 4 ++-- intg/src/main/java/org/apache/atlas/type/AtlasType.java| 6 +++--- 8 files changed, 16 insertions(+), 16 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/b54f4b87/intg/src/main/java/org/apache/atlas/type/AtlasArrayType.java -- diff --git a/intg/src/main/java/org/apache/atlas/type/AtlasArrayType.java b/intg/src/main/java/org/apache/atlas/type/AtlasArrayType.java index de3394f..5e30554 100644 --- a/intg/src/main/java/org/apache/atlas/type/AtlasArrayType.java +++ b/intg/src/main/java/org/apache/atlas/type/AtlasArrayType.java @@ -106,7 +106,7 @@ public class AtlasArrayType extends AtlasType { } @Override -public void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { +void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { elementType = typeRegistry.getType(elementTypeName); } http://git-wip-us.apache.org/repos/asf/atlas/blob/b54f4b87/intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java -- diff --git a/intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java b/intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java index 56c3ed3..cc3e45e 100644 --- a/intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java +++ b/intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java @@ -69,7 +69,7 @@ public class AtlasClassificationType extends AtlasStructType { public AtlasClassificationDef getClassificationDef() { return classificationDef; } @Override -public void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { +void resolveReferences(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { super.resolveReferences(typeRegistry); List s= new ArrayList<>(); @@ -100,7 +100,7 @@ public class AtlasClassificationType extends AtlasStructType { } @Override -public void resolveReferencesPhase2(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { +void resolveReferencesPhase2(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { super.resolveReferencesPhase2(typeRegistry); for (String superTypeName : allSuperTypes) { @@ -110,7 +110,7 @@ public class AtlasClassificationType extends AtlasStructType { } @Override -public void resolveReferencesPhase3(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { +void resolveReferencesPhase3(AtlasTypeRegistry typeRegistry) throws AtlasBaseException { allSubTypes = Collections.unmodifiableSet(allSubTypes); typeAndAllSubTypes = Collections.unmodifiableSet(typeAndAllSubTypes); typeAndAllSubTypesQryStr = ""; // will be computed on next access http://git-wip-us.apache.org/repos/asf/atlas/blob/b54f4b87/intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java -- diff --git a/intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java b/intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java index 9dad95d..2cb8e27 100644 --- a/intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java +++ b/intg/src/main/java/org/apache/atlas/type/AtlasEntityType.java @@ -75,7 +75,7 @@ public class AtlasEntityType extends AtlasStructType { public AtlasEntityDef getEntityDef() {
[atlas] Git Push Summary
Repository: atlas Updated Tags: refs/tags/release-0.8.1-rc0 [deleted] c2b0be635
[atlas] Git Push Summary
Repository: atlas Updated Tags: refs/tags/release-0.8.1-rc0 [created] e7b56aeb1
atlas git commit: ATLAS-2040: Relationship with many-to-many cardinality gives incorrect relationship attribute value
Repository: atlas Updated Branches: refs/heads/master 1b7e41f1a -> f59284adb ATLAS-2040: Relationship with many-to-many cardinality gives incorrect relationship attribute value Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/f59284ad Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/f59284ad Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/f59284ad Branch: refs/heads/master Commit: f59284adbb3f0231fe6cc0da3a521c29f0210dba Parents: 1b7e41f Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Tue Aug 29 17:01:00 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Tue Aug 29 17:01:00 2017 -0700 -- .../atlas/type/AtlasRelationshipType.java | 41 +++--- .../org/apache/atlas/type/AtlasStructType.java | 2 +- .../apache/atlas/TestRelationshipUtilsV2.java | 86 --- .../atlas/repository/graph/GraphHelper.java | 72 ++ .../store/graph/v1/DeleteHandlerV1.java | 17 ++- .../store/graph/v1/EntityGraphMapper.java | 102 ++--- .../store/graph/v1/EntityGraphRetriever.java| 9 +- .../AtlasRelationshipStoreHardDeleteV1Test.java | 60 +++- .../AtlasRelationshipStoreSoftDeleteV1Test.java | 63 +++- .../graph/v1/AtlasRelationshipStoreV1Test.java | 142 --- 10 files changed, 481 insertions(+), 113 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/f59284ad/intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java -- diff --git a/intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java b/intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java index 3de02d0..aa26d18 100644 --- a/intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java +++ b/intg/src/main/java/org/apache/atlas/type/AtlasRelationshipType.java @@ -31,6 +31,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static org.apache.atlas.type.AtlasStructType.AtlasAttribute.AtlasRelationshipEdgeDirection; +import static org.apache.atlas.type.AtlasStructType.AtlasAttribute.AtlasRelationshipEdgeDirection.BOTH; import static org.apache.atlas.type.AtlasStructType.AtlasAttribute.AtlasRelationshipEdgeDirection.IN; import static org.apache.atlas.type.AtlasStructType.AtlasAttribute.AtlasRelationshipEdgeDirection.OUT; @@ -118,24 +119,33 @@ public class AtlasRelationshipType extends AtlasStructType { } private void addRelationshipEdgeDirection() { -AtlasRelationshipEndDef endDef1 = relationshipDef.getEndDef1(); -AtlasRelationshipEndDef endDef2 = relationshipDef.getEndDef2(); -AtlasAttribute end1Attribute = end1Type.getRelationshipAttribute(endDef1.getName()); -AtlasAttribute end2Attribute = end2Type.getRelationshipAttribute(endDef2.getName()); +AtlasRelationshipEndDef endDef1 = relationshipDef.getEndDef1(); +AtlasRelationshipEndDef endDef2 = relationshipDef.getEndDef2(); -//default relationship edge direction is end1 (out) -> end2 (in) -AtlasRelationshipEdgeDirection end1Direction = OUT; -AtlasRelationshipEdgeDirection end2Direction = IN; +if (StringUtils.equals(endDef1.getType(), endDef2.getType()) && +StringUtils.equals(endDef1.getName(), endDef2.getName())) { -if (endDef1.getIsLegacyAttribute() && endDef2.getIsLegacyAttribute()) { -end2Direction = OUT; -} else if (!endDef1.getIsLegacyAttribute() && endDef2.getIsLegacyAttribute()) { -end1Direction = IN; -end2Direction = OUT; -} +AtlasAttribute endAttribute = end1Type.getRelationshipAttribute(endDef1.getName()); -end1Attribute.setRelationshipEdgeDirection(end1Direction); -end2Attribute.setRelationshipEdgeDirection(end2Direction); +endAttribute.setRelationshipEdgeDirection(BOTH); +} else { +AtlasAttribute end1Attribute = end1Type.getRelationshipAttribute(endDef1.getName()); +AtlasAttribute end2Attribute = end2Type.getRelationshipAttribute(endDef2.getName()); + +//default relationship edge direction is end1 (out) -> end2 (in) +AtlasRelationshipEdgeDirection end1Direction = OUT; +AtlasRelationshipEdgeDirection end2Direction = IN; + +if (endDef1.getIsLegacyAttribute() && endDef2.getIsLegacyAttribute()) { +end2Direction = OUT; +} else if (!endDef1.getIsLegacyAttribute() && endDef2.getIsLegacyAttribute()) { +end1Direction = IN; +end2Direction = OUT; +} + +
atlas git commit: ATLAS-2087: Fix Unit test failures introduced by previous commit
Repository: atlas Updated Branches: refs/heads/master 68f66e92a -> ef300f15a ATLAS-2087: Fix Unit test failures introduced by previous commit Signed-off-by: Sarath Subramanian <ssubraman...@hortonworks.com> Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/ef300f15 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/ef300f15 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/ef300f15 Branch: refs/heads/master Commit: ef300f15a500948b983b8a49c5828e5f39dcd35d Parents: 68f66e9 Author: Richard Ding <sd...@us.ibm.com> Authored: Wed Aug 30 16:22:02 2017 -0700 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Wed Aug 30 16:22:02 2017 -0700 -- distro/src/bin/atlas_config.py | 13 - .../apache/atlas/web/service/SecureEmbeddedServer.java | 3 ++- 2 files changed, 14 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/atlas/blob/ef300f15/distro/src/bin/atlas_config.py -- diff --git a/distro/src/bin/atlas_config.py b/distro/src/bin/atlas_config.py index ada5743..4d13b30 100755 --- a/distro/src/bin/atlas_config.py +++ b/distro/src/bin/atlas_config.py @@ -71,6 +71,8 @@ ATLAS_HTTPS_PORT="atlas.server.https.port" DEFAULT_ATLAS_HTTP_PORT="21000" DEFAULT_ATLAS_HTTPS_PORT="21443" ATLAS_ENABLE_TLS="atlas.enableTLS" +ATLAS_SERVER_BIND_ADDRESS="atlas.server.bind.address" +DEFAULT_ATLAS_SERVER_HOST="localhost" DEBUG = False @@ -464,14 +466,23 @@ def get_atlas_url_port(confdir): print "starting atlas on port %s" % port return port +def get_atlas_url_host(confdir): +confdir = os.path.join(confdir, CONF_FILE) +host = getConfigWithDefault(confdir, ATLAS_SERVER_BIND_ADDRESS, DEFAULT_ATLAS_SERVER_HOST) +if (host == '0.0.0.0'): +host = DEFAULT_ATLAS_SERVER_HOST +print "starting atlas on host %s" % host +return host + def wait_for_startup(confdir, wait): count = 0 +host = get_atlas_url_host(confdir) port = get_atlas_url_port(confdir) while True: try: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.settimeout(1) -s.connect(('localhost', int(port))) +s.connect((host, int(port))) s.close() break except Exception as e: http://git-wip-us.apache.org/repos/asf/atlas/blob/ef300f15/webapp/src/main/java/org/apache/atlas/web/service/SecureEmbeddedServer.java -- diff --git a/webapp/src/main/java/org/apache/atlas/web/service/SecureEmbeddedServer.java b/webapp/src/main/java/org/apache/atlas/web/service/SecureEmbeddedServer.java index bd8ea1d..3a8bd9f 100755 --- a/webapp/src/main/java/org/apache/atlas/web/service/SecureEmbeddedServer.java +++ b/webapp/src/main/java/org/apache/atlas/web/service/SecureEmbeddedServer.java @@ -64,7 +64,8 @@ public class SecureEmbeddedServer extends EmbeddedServer { super(host, port, path); } -protected Connector getConnector(int port) throws IOException { +@Override +protected Connector getConnector(String host, int port) throws IOException { org.apache.commons.configuration.Configuration config = getConfiguration(); SslContextFactory sslContextFactory = new SslContextFactory();
svn commit: r21350 - in /release/atlas/0.8.1: ./ apache-atlas-0.8.1-sources.tar.gz apache-atlas-0.8.1-sources.tar.gz.asc apache-atlas-0.8.1-sources.tar.gz.md5 apache-atlas-0.8.1-sources.tar.gz.sha512
Author: sarath Date: Tue Aug 29 20:45:42 2017 New Revision: 21350 Log: Release 0.8.1 artifacts Added: release/atlas/0.8.1/ release/atlas/0.8.1/apache-atlas-0.8.1-sources.tar.gz (with props) release/atlas/0.8.1/apache-atlas-0.8.1-sources.tar.gz.asc release/atlas/0.8.1/apache-atlas-0.8.1-sources.tar.gz.md5 release/atlas/0.8.1/apache-atlas-0.8.1-sources.tar.gz.sha512 Added: release/atlas/0.8.1/apache-atlas-0.8.1-sources.tar.gz == Binary file - no diff available. Propchange: release/atlas/0.8.1/apache-atlas-0.8.1-sources.tar.gz -- svn:mime-type = application/octet-stream Added: release/atlas/0.8.1/apache-atlas-0.8.1-sources.tar.gz.asc == --- release/atlas/0.8.1/apache-atlas-0.8.1-sources.tar.gz.asc (added) +++ release/atlas/0.8.1/apache-atlas-0.8.1-sources.tar.gz.asc Tue Aug 29 20:45:42 2017 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIcBAABCgAGBQJZng9EAAoJEDI8MZfusgQCLa8P/1vbDxCwv76G0zPfcihkMjSA +bmEB0Wq5P5AltXC5l4VGUSO9Xbd5mIv8H8UtDs6NBlAUWOY4p+vmLOhsA4KvHVpX +0RfLX/EAK6u1BEXemdP6gaVQ7kJw4RYR/GusHS89eYqe7BFXV1O3INsE3yi1ocbp +qXBCyNWB9ieXy7yXzKFW6zy4H/tmBMfq4jDclVS0rQerG65si2rlejEpuLkKkf3R +mSedzViD1zxYdRd5z+bfvUlAA0muegjYq0N/ZBRvSEQAyQnDlQnVOhSNmwGnE7GU +jSUeou4Y4A1ngW2s4Hj7XLF0fGh3d4lnxRDA3XxS2zGTt0tDapKh6uXsNpJqQ0rr +/sSZz7DTt0vs3WLsy51JSTO783LJFHgiYViSnrcOiXQQF5pEwvrD3ZETRQH81oWm +nJE1gwh6Z4tYcPPBMvRx47Oo1tDjSWoe/IIoMnBIZ1ArsC8ddBk+Lu+rSrX+kNX+ +jzZH4jFssPZHzX1ZOjfGpnZsfHGRlgBxy/OXG9D8g4kJoyuqu3rm7p1jGu+hUG9n +JtjRmzetfLVIti1vlMqAPGxk4he/ENiu3PLb3kRcRVM+UF9abHvGI4/jzODDXbdg +b69j2dKJqu3QhrHhgBDcYGF5EUB0oxxVVm+TwF4vsKQ51TubpfBq82JFVzfpgBVe +x1vzQ682x4reB9BPn5wW +=hvi6 +-END PGP SIGNATURE- Added: release/atlas/0.8.1/apache-atlas-0.8.1-sources.tar.gz.md5 == --- release/atlas/0.8.1/apache-atlas-0.8.1-sources.tar.gz.md5 (added) +++ release/atlas/0.8.1/apache-atlas-0.8.1-sources.tar.gz.md5 Tue Aug 29 20:45:42 2017 @@ -0,0 +1,2 @@ +apache-atlas-0.8.1-sources.tar.gz: 48 9D 12 32 ED 8F 0F DE D3 2C 62 BE 3A 84 62 + DF Added: release/atlas/0.8.1/apache-atlas-0.8.1-sources.tar.gz.sha512 == --- release/atlas/0.8.1/apache-atlas-0.8.1-sources.tar.gz.sha512 (added) +++ release/atlas/0.8.1/apache-atlas-0.8.1-sources.tar.gz.sha512 Tue Aug 29 20:45:42 2017 @@ -0,0 +1,4 @@ +apache-atlas-0.8.1-sources.tar.gz: 6CADD3D1 CE511869 61094FDA 376D8C5D 093173EC + 572C2818 0EF79C53 F6296D0B 1642DF44 8B81157B + 945B1A16 7A50134E B608B375 23E24317 962CBB0F + CB414771
[41/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/Bridge-Sqoop.html -- diff --git a/0.8.1/Bridge-Sqoop.html b/0.8.1/Bridge-Sqoop.html new file mode 100644 index 000..371ccf5 --- /dev/null +++ b/0.8.1/Bridge-Sqoop.html @@ -0,0 +1,277 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + + + + +Apache Atlas Sqoop Atlas Bridge + + + + + + + + + +$( document ).ready( function() { $( '.carousel' ).carousel( { interval: 3500 } ) } ); + + + + + + + + + + + + + + + +Atlas + + +About + + +https://cwiki.apache.org/confluence/display/ATLAS; title="Wiki">Wiki + + +https://cwiki.apache.org/confluence/display/ATLAS; title="News">News + + +https://git-wip-us.apache.org/repos/asf/atlas.git; title="Git">Git + + +https://issues.apache.org/jira/browse/ATLAS; title="Jira">Jira + + +https://cwiki.apache.org/confluence/display/ATLAS/PoweredBy; title="Powered by">Powered by + + +http://blogs.apache.org/atlas/; title="Blog">Blog + + + + +Project Information + + +Summary + + +Mailing Lists + + +http://webchat.freenode.net?channels=apacheatlas=d4; title="IRC">IRC + + +Team + + +Issue Tracking + + +Source Repository + + +License + + + + +Releases + + +http://www.apache.org/dyn/closer.cgi/atlas/0.8.1/; title="0.8.1">0.8.1 + + +http://archive.apache.org/dist/incubator/atlas/0.8.0-incubating/; title="0.8-incubating">0.8-incubating + + +http://archive.apache.org/dist/incubator/atlas/0.7.1-incubating/; title="0.7.1-incubating">0.7.1-incubating + + +http://archive.apache.org/dist/incubator/atlas/0.7.0-incubating/; title="0.7-incubating">0.7-incubating + + +http://archive.apache.org/dist/incubator/atlas/0.6.0-incubating/; title="0.6-incubating">0.6-incubating + + +http://archive.apache.org/dist/incubator/atlas/0.5.0-incubating/; title="0.5-incubating">0.5-incubating + + + + +Documentation + + +0.8.1 + + +0.8-incubating + + +0.7.1-incubating + + +0.7-incubating + + +0.6-incubating + + +0.5-incubating + + + + +ASF + + +http://www.apache.org/foundation/how-it-works.html; title="How Apache Works">How Apache Works + + +http://www.apache.org/foundation/; title="Foundation">Foundation + + +http://www.apache.org/foundation/sponsorship.html; title="Sponsoring Apache">Sponsoring Apache + + +http://www.apache.org/foundation/thanks.html; title="Thanks">Thanks + + + + + + http://www.google.com/search; method="get" class="navbar-search pull-right" > + + http://atlas.apache.org; name="sitesearch" type="hidden"/> + + +http://www.google.com/coop/cse/brand?form=search-form"> + + + + + +http://www.facebook.com/plugins/like.php?href=http://atlas.apache.org/atlas-docs=false=button_count=false=like=dark; +scrolling="no" frameborder="0" +style="border:none; width:80px; height:20px; margin-top: 10px;" class="pull-right" > + +https://apis.google.com/js/plusone.js"> + + + +http://atlas.apache.org/atlas-docs; data-size="medium" width="60px" align="right" > + + + + + + + + + + + + + + + + + + + + + + + + + + +http://www.apache.org; class="externalLink" title="Apache"> +Apache + + / + + +Atlas + + / +Sqoop Atlas Bridge + + +
[09/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/ui/swagger-ui.js -- diff --git a/0.8.1/api/v2/ui/swagger-ui.js b/0.8.1/api/v2/ui/swagger-ui.js new file mode 100644 index 000..34da79d --- /dev/null +++ b/0.8.1/api/v2/ui/swagger-ui.js @@ -0,0 +1,24993 @@ +/** + * swagger-ui - Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API + * @version v2.2.5 + * @link http://swagger.io + * @license Apache-2.0 + */ +(function(){/* jshint ignore:start */ + {(function() { + var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; +templates['apikey_auth'] = template({"1":function(container,depth0,helpers,partials,data) { +var stack1; + + return "" ++ ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || helpers.helperMissing).call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.value : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") ++ "\n"; +},"3":function(container,depth0,helpers,partials,data) { +return "\n"; +},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { +var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; + + return "\nApi key authorization\n" ++ ((stack1 = (helpers.sanitize || (depth0 && depth0.sanitize) || alias2).call(alias1,(depth0 != null ? depth0.description : depth0),{"name":"sanitize","hash":{},"data":data})) != null ? stack1 : "") ++ "\n\n\n name:\n" ++ ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.name : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") ++ "\n\n\n in:\n" ++ ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0["in"] : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") ++ "\n\n\n value:\n" ++ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isLogout : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "") ++ "\n\n\n"; +},"useData":true}); +templates['auth_button'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { +return "Authorize\n"; +},"useData":true}); +templates['auth_button_operation'] = template({"1":function(container,depth0,helpers,partials,data) { +return "authorize__btn_operation_login\n"; +},"3":function(container,depth0,helpers,partials,data) { +return "authorize__btn_operation_logout\n"; +},"5":function(container,depth0,helpers,partials,data) { +var stack1; + + return "\n" ++ ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.scopes : depth0),{"name":"each","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") ++ "\n"; +},"6":function(container,depth0,helpers,partials,data) { +var stack1, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing; + + return "" ++ ((stack1 = (helpers.escape || (depth0 && depth0.escape) || alias2).call(alias1,(depth0 != null ? depth0.scope : depth0),{"name":"escape","hash":{},"data":data})) != null ? stack1 : "") ++ "\n"; +},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { +var stack1, alias1=depth0 != null ? depth0 : {}; + + return "\n" ++ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.scopes : depth0),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") ++ "\n"; +},"useData":true}); +templates['auth_view'] = template({"1":function(container,depth0,helpers,partials,data) { +return "Authorize\n"; +},"3":function(container,depth0,helpers,partials,data) { +return "Logout\n"; +},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { +var stack1, alias1=depth0 != null ? depth0 : {}; + + return "\n\n\n\n" ++ ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.isLogout : depth0),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") ++ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isAuthorized : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") ++ "\n\n\n"; +},"useData":true});
[37/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/css/style.css -- diff --git a/0.8.1/api/css/style.css b/0.8.1/api/css/style.css new file mode 100644 index 000..3de29cc --- /dev/null +++ b/0.8.1/api/css/style.css @@ -0,0 +1,759 @@ +/** + * HTML5 â° Boilerplate + * + * style.css contains a reset, font normalization and some base styles. + * + * Credit is left where credit is due. + * Much inspiration was taken from these projects: + * - yui.yahooapis.com/2.8.1/build/base/base.css + * - camendesign.com/design/ + * - praegnanz.de/weblog/htmlcssjs-kickstart + */ + + +/** + * html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline) + * v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark + * html5doctor.com/html-5-reset-stylesheet/ + */ + +html, body, div, span, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, +small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, figcaption, figure, +footer, header, hgroup, menu, nav, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} + +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} + +blockquote, q { quotes: none; } + +blockquote:before, blockquote:after, +q:before, q:after { content: ""; content: none; } + +ins { background-color: #ff9; color: #000; text-decoration: none; } + +mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; } + +del { text-decoration: line-through; } + +abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; } + +table { border-collapse: collapse; border-spacing: 0; } + +hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; } + +input, select { vertical-align: middle; } + + +/** + * Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/ + */ + +body { font:13px/1.231 sans-serif; *font-size:small; } /* Hack retained to preserve specificity */ +select, input, textarea, button { font:99% sans-serif; } + +/* Normalize monospace sizing: + en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */ +pre, code, kbd, samp { font-family: monospace, sans-serif; } + + +/** + * Minimal base styles. + */ + +/* Always force a scrollbar in non-IE */ +html { overflow-y: scroll; } + +/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */ +a:hover, a:active { outline: none; } + +ul, ol { margin-left: 2em; } +ol { list-style-type: decimal; } + +/* Remove margins for navigation lists */ +nav ul, nav li { margin: 0; list-style:none; list-style-image: none; } + +small { font-size: 85%; } +strong, th { font-weight: bold; } + +td { vertical-align: top; } + +/* Set sub, sup without affecting line-height: gist.github.com/413930 */ +sub, sup { font-size: 75%; line-height: 0; position: relative; } +sup { top: -0.5em; } +sub { bottom: -0.25em; } + +pre { + /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */ + padding: 15px; +} + +textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */ + +.ie6 legend, .ie7 legend { margin-left: -7px; } + +/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css */ +input[type="radio"] { vertical-align: text-bottom; } +input[type="checkbox"] { vertical-align: bottom; } +.ie7 input[type="checkbox"] { vertical-align: baseline; } +.ie6 input { vertical-align: text-bottom; } + +/* Hand cursor on clickable input elements */ +label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; } + +/* Webkit browsers add a 2px margin outside the chrome of form elements */ +button, input, select, textarea { margin: 0; } + +/* Colors for form validity */ +input:valid, textarea:valid { } +input:invalid, textarea:invalid { + border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; +} +.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0; } + + +/* These selection declarations have to be separate + No text-shadow: twitter.com/miketaylr/status/12228805301 + Also: hot pink! */ +::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; } +::selection { background:#FF5E99; color:#fff; text-shadow: none; } + +/* j.mp/webkit-tap-highlight-color */ +a:link { -webkit-tap-highlight-color: #FF5E99; } + +/* Make buttons play nice in IE: +
[20/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/ui/lang/el.js -- diff --git a/0.8.1/api/v2/ui/lang/el.js b/0.8.1/api/v2/ui/lang/el.js new file mode 100644 index 000..fcd1ffd --- /dev/null +++ b/0.8.1/api/v2/ui/lang/el.js @@ -0,0 +1,56 @@ +'use strict'; + +/* jshint quotmark: double */ +window.SwaggerTranslator.learn({ +"Warning: Deprecated":"Î ÏοειδοÏοίηÏη: ÎÏει αÏοÏÏ Ïθεί", +"Implementation Notes":"ΣημειÏÏÎµÎ¹Ï Î¥Î»Î¿ÏοίηÏηÏ", +"Response Class":"ÎÏÏκÏιÏη", +"Status":"ÎαÏάÏÏαÏη", +"Parameters":"ΠαÏάμεÏÏοι", +"Parameter":"ΠαÏάμεÏÏοÏ", +"Value":"Τιμή", +"Description":"ΠεÏιγÏαÏή", +"Parameter Type":"ΤÏÏÎ¿Ï Î Î±ÏαμÎÏÏÎ¿Ï ", +"Data Type":"ΤÏÏÎ¿Ï ÎεδομÎνÏν", +"Response Messages":"ÎηνÏμαÏα ÎÏÏκÏιÏηÏ", +"HTTP Status Code":"ÎÏδικÏÏ ÎαÏάÏÏαÏÎ·Ï HTTP", +"Reason":"ÎιÏιολογία", +"Response Model":"ÎονÏÎλο ÎÏÏκÏιÏηÏ", +"Request URL":"URL ÎιÏήμαÏοÏ", +"Response Body":"ΣÏμα ÎÏÏκÏιÏηÏ", +"Response Code":"ÎÏδικÏÏ ÎÏÏκÏιÏηÏ", +"Response Headers":"ÎÏικεÏÎ±Î»Î¯Î´ÎµÏ ÎÏÏκÏιÏηÏ", +"Hide Response":"ÎÏÏκÏÏ Ïη ÎÏÏκÏιÏηÏ", +"Headers":"ÎÏικεÏαλίδεÏ", +"Try it out!":"ÎοκιμάÏÏε Ïο!", +"Show/Hide":"ÎμÏάνιÏη/ÎÏÏκÏÏ Ïη", +"List Operations":"ÎίÏÏα ÎειÏÎ¿Ï ÏγιÏν", +"Expand Operations":"ÎνάÏÏÏ Î¾Î· ÎειÏÎ¿Ï ÏγιÏν", +"Raw":"ÎκαÏÎÏγαÏÏο", +"can't parse JSON. Raw result":"Î±Î´Ï Î½Î±Î¼Î¯Î± Î±Î½Î¬Î»Ï ÏÎ·Ï JSON. ÎκαÏÎÏγαÏÏο αÏοÏÎλεÏμα", +"Example Value":"ΠαÏάδειγμα ΤιμήÏ", +"Model Schema":"ΣÏήμα ÎονÏÎÎ»Î¿Ï ", +"Model":"ÎονÏÎλο", +"Click to set as parameter value":"ΠαÏήÏÏε για να θÎÏεÏε Ïιμή ÏαÏαμÎÏÏÎ¿Ï ", +"apply":"εÏαÏμογή", +"Username":"Îνομα ÏÏήÏη", +"Password":"ÎÏδικÏÏ ÏÏÏÏβαÏηÏ", +"Terms of service":"ÎÏοι ÏÏήÏηÏ", +"Created by":"ÎÎ·Î¼Î¹Î¿Ï Ïγήθηκε αÏÏ", +"See more at":"ÎείÏε ÏεÏιÏÏÏÏεÏα ÏÏο", +"Contact the developer":"ÎÏικοινÏνήÏÏε με Ïον ÏÏογÏαμμαÏιÏÏή", +"api version":"ÎκδοÏη api", +"Response Content Type":"ΤÏÏÎ¿Ï Î ÎµÏιεÏομÎÎ½Î¿Ï ÎÏÏκÏιÏηÏ", +"Parameter content type:":"ΤÏÏÎ¿Ï ÏεÏιεÏομÎÎ½Î¿Ï ÏαÏαμÎÏÏÎ¿Ï :", +"fetching resource":"ÏαÏαλαβή ÏÏÏÎ¿Ï ", +"fetching resource list":"ÏαÏαλαβή λίÏÏÎ±Ï ÏÏÏÏν", +"Explore":"ÎξεÏεÏνηÏη", +"Show Swagger Petstore Example Apis":"ÎμÏάνιÏη Api ÎειγμάÏÏν Petstore ÏÎ¿Ï Swagger", +"Can't read from server. It may not have the appropriate access-control-origin settings.":"ÎÎ´Ï Î½Î±Î¼Î¯Î± ανάγνÏÏÎ·Ï Î±ÏÏ Ïον ÎµÎ¾Ï ÏηÏεÏηÏή. ÎÏοÏεί να μην ÎÏει καÏÎ¬Î»Î»Î·Î»ÎµÏ ÏÏ Î¸Î¼Î¯ÏÎµÎ¹Ï Î³Î¹Î± access-control-origin.", +"Please specify the protocol for":"ΠαÏÎ±ÎºÎ±Î»Ï ÏÏοÏδιοÏίÏÏε Ïο ÏÏÏÏÏκολλο για", +"Can't read swagger JSON from":"ÎÎ´Ï Î½Î±Î¼Î¯Î± ανάγνÏÏÎ·Ï swagger JSON αÏÏ", +"Finished Loading Resource Information. Rendering Swagger UI":"ÎλοκλήÏÏÏη ΦÏÏÏÏÏÎ·Ï Î Î»Î·ÏοÏοÏικÏν Î ÏÏÎ¿Ï . ΠαÏÎ¿Ï ÏίαÏη Swagger UI", +"Unable to read api":"ÎÎ´Ï Î½Î±Î¼Î¯Î± ανάγνÏÏÎ·Ï api", +"from path":"αÏÏ Ïο μονοÏάÏι", +"server returned":"ο ÎµÎ¾Ï ÏηÏεÏηÏÎ®Ï ÎµÏÎÏÏÏεÏε" +}); http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/ui/lang/en.js -- diff --git a/0.8.1/api/v2/ui/lang/en.js b/0.8.1/api/v2/ui/lang/en.js new file mode 100644 index 000..9183136 --- /dev/null +++ b/0.8.1/api/v2/ui/lang/en.js @@ -0,0 +1,56 @@ +'use strict'; + +/* jshint quotmark: double */ +window.SwaggerTranslator.learn({ +"Warning: Deprecated":"Warning: Deprecated", +"Implementation Notes":"Implementation Notes", +"Response Class":"Response Class", +"Status":"Status", +"Parameters":"Parameters", +"Parameter":"Parameter", +"Value":"Value", +"Description":"Description", +"Parameter Type":"Parameter Type", +"Data Type":"Data Type", +"Response Messages":"Response Messages", +"HTTP Status Code":"HTTP Status Code", +"Reason":"Reason", +"Response Model":"Response Model", +"Request URL":"Request URL", +"Response Body":"Response Body", +"Response Code":"Response Code", +"Response Headers":"Response Headers", +"Hide Response":"Hide
[12/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/ui/lib/lodash.min.js -- diff --git a/0.8.1/api/v2/ui/lib/lodash.min.js b/0.8.1/api/v2/ui/lib/lodash.min.js new file mode 100644 index 000..05870d1 --- /dev/null +++ b/0.8.1/api/v2/ui/lib/lodash.min.js @@ -0,0 +1,102 @@ +/** + * @license + * lodash 3.10.1 (Custom Build) lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE + * Build: `lodash compat -o ./lodash.js` + */ +;(function(){function n(n,t){if(n!==t){var r=null===n,e=n===w,u=n===n,o=null===t,i=t===w,f=t===t;if(n>t&&!o||!u||r&&!i&||e&)return 1;if(n=n&&9<=n&&13>=n||32==n||160==n||5760==n||6158==n||8192<=n&&(8202>=n||8232==n||8233==n||8239==n||8287==n||12288==n||65279==n); +}function v(n,t){for(var r=-1,e=n.length,u=-1,o=[];++r =F&&?new Dn(t):null,c=t.length;a&&(i=Mn,f=false,t=a);n:for(;++o i(t,a,0)&(a);return u}function lt(n,t){var r=true;return zu(n,function(n,e,u){return r=!!t(n,e,u)}),r}function st(n,t,r,e){var u=e,o=u;return zu(n,function(n,i,f){ +i=+t(n,i,f),(r(i,u)||i===e&===o)&&(u=i,o=n)}),o}function pt(n,t){var r=[];return zu(n,function(n,e,u){t(n,e,u)&(n)}),r}function ht(n,t,r,e){var u;return r(n,function(n,r,o){return t(n,r,o)?(u=e?r:n,false):void
[29/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/json_AttributeSearchResult.html -- diff --git a/0.8.1/api/v2/json_AttributeSearchResult.html b/0.8.1/api/v2/json_AttributeSearchResult.html new file mode 100644 index 000..6cb1aee --- /dev/null +++ b/0.8.1/api/v2/json_AttributeSearchResult.html @@ -0,0 +1,140 @@ + + + + + + + + + Atlas REST API: AttributeSearchResult + + + + + + https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css;> + + + + + + + + + + + + + + + Toggle navigation + + + + +Atlas REST API: AttributeSearchResult + + + + Resources + Data Types + + + + + + + + + + Back to Top + + + + + + Home + JSON + AttributeSearchResult + + + AttributeSearchResult Data Type + + + + + + + +Properties + + + name + data type + description + + + + +name + +array of string + + + + + + +values + +array of object + + + + + + + + + Example + + { + name : [ ..., ... ], + values : [ ] +} + + + +Generated by http://enunciate.webcohesion.com;>Enunciate. + + + + + + + + + + https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"> + + + https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"> + + + https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"> + +$(function() { + $(".clickable-row").click(function() { +window.document.location = $(this).data("href"); + }); + + $('[data-toggle="tooltip"]').tooltip() +}); + + + + http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/json_Cardinality.html -- diff --git a/0.8.1/api/v2/json_Cardinality.html b/0.8.1/api/v2/json_Cardinality.html new file mode 100644 index 000..99a344c --- /dev/null +++ b/0.8.1/api/v2/json_Cardinality.html @@ -0,0 +1,126 @@ + + + + + + + + + Atlas REST API: Cardinality + + + + + + https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css;> + + + + + + + + + + + + + + + Toggle navigation + + + + +Atlas REST API: Cardinality + + + + Resources + Data Types + + + + + + + + + + Back to Top + + + + + + Home + JSON + Cardinality + + + Cardinality Data Type + + single-valued attribute or multi-valued attribute. + + + + + +Values + + + value + description + + + + + SINGLE + + + + LIST + + + + SET + + + + + + + +Generated by http://enunciate.webcohesion.com;>Enunciate. + + + + + + + + + + https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"> + + + https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"> + + + https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"> + +$(function() { + $(".clickable-row").click(function() { +window.document.location = $(this).data("href"); + }); + + $('[data-toggle="tooltip"]').tooltip() +}); + + + + http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/json_ClassificationAssociateRequest.html -- diff --git a/0.8.1/api/v2/json_ClassificationAssociateRequest.html b/0.8.1/api/v2/json_ClassificationAssociateRequest.html new file mode 100644 index 000..1cc02de --- /dev/null +++ b/0.8.1/api/v2/json_ClassificationAssociateRequest.html @@ -0,0 +1,146 @@ + + + + + + + + + Atlas REST API: ClassificationAssociateRequest + + + + + + https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css;> + + + + + + + + + + + + + + + Toggle navigation + + + + +Atlas REST API: ClassificationAssociateRequest + + + + Resources + Data Types + +
[15/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/ui/lib/jquery-1.8.0.min.js -- diff --git a/0.8.1/api/v2/ui/lib/jquery-1.8.0.min.js b/0.8.1/api/v2/ui/lib/jquery-1.8.0.min.js new file mode 100644 index 000..066d72c --- /dev/null +++ b/0.8.1/api/v2/ui/lib/jquery-1.8.0.min.js @@ -0,0 +1,2 @@ +/*! jQuery v@1.8.0 jquery.com | jquery.org/license */ +(function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:+d+""===d?+d:H.test(d)?p.parseJSON(d):d}catch(f){}p.data(a,c,d)}else d=b}return d}function K(a){var b;for(b in a){if(b==="data"&(a[b]))continue;if(b!=="toJSON")return!1}return!0}function ba(){return!1}function bb(){return!0}function bh(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function bi(a,b){do a=a[b];while(a&!==1);return a}function bj(a,b,c){b=b||0;if(p.isFunction(b))return p.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return p.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=p.grep(a,function(a){return a.nodeType===1});if(be.test(b))return p.filter(b,d,!c);b=p.filter(b,d)}return p.grep(a,function(a,d){return p.inArray( a,b)>=0===c})}function bk(a){var b=bl.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function bC(a,b){return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))}function bD(a,b){if(b.nodeType!==1||!p.hasData(a))return;var c,d,e,f=p._data(a),g=p._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d").appendTo(e.body),c=b.css("display");b.remove();if(c==="none"||c===""){bI=e.body.appendChild(bI||p.extend(e.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!bJ||!bI.createEle ment)bJ=(bI.contentWindow||bI.contentDocument).document,bJ.write(""),bJ.close();b=bJ.body.appendChild(bJ.createElement(a)),c=bH(b,"display"),e.body.removeChild(bI)}return bR[a]=c,c}function ch(a,b,c,d){var e;if(p.isArray(b))p.each(b,function(b,e){c||cd.test(a)?d(a,e):ch(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&(b)==="object")for(e in b)ch(a+"["+e+"]",b[e],c,d);else d(a,b)}function cy(a){return function(b,c){typeof b!="string"&&(c=b,b="*");var
[24/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/resources.html -- diff --git a/0.8.1/api/v2/resources.html b/0.8.1/api/v2/resources.html new file mode 100644 index 000..ad57a61 --- /dev/null +++ b/0.8.1/api/v2/resources.html @@ -0,0 +1,216 @@ + + + + + + + + + Atlas REST API: Resources + + + + + + https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css;> + + + + + + + + + + + + + + + Toggle navigation + + + + +Atlas REST API: Resources + + + + Resources + Data Types + + + + + + + + + + Back to Top + + + + + + Home + Resources + + + Resources + + +There is a WADL document available that describes the resources API. + + +You may also enjoy the interactive interface provided for this API by http://swagger.io;>Swagger. + + +Try it out! + + + + + name + path + methods + description + + + + +DiscoveryREST + +/v2/search/attribute + /v2/search/basic + /v2/search/dsl + /v2/search/fulltext + /v2/search/relationship + +GET + GET POST + GET + GET + GET + +REST interface for data discovery using dsl or full text search + + + +EntityREST + +/v2/entity + /v2/entity/bulk + /v2/entity/bulk/classification + /v2/entity/guid/{guid} + /v2/entity/guid/{guid}/classifications + /v2/entity/uniqueAttribute/type/{typeName} + /v2/entity/guid/{guid}/classification/{classificationName} + +POST + DELETE GET POST + POST + DELETE GET PUT + GET POST PUT + DELETE GET PUT + DELETE GET + +REST for a single entity + + + +LineageREST + +/v2/lineage/{guid} + +GET + +REST interface for an entity's lineage information + + + +RelationshipREST + +/v2/relationship + /v2/relationship/guid/{guid} + +POST PUT + DELETE GET + +REST interface for entity relationships. + + + +TypesREST + +/v2/types/typedefs + /v2/types/typedefs/headers + /v2/types/classificationdef/guid/{guid} + /v2/types/classificationdef/name/{name} + /v2/types/entitydef/guid/{guid} + /v2/types/entitydef/name/{name} + /v2/types/enumdef/guid/{guid} + /v2/types/enumdef/name/{name} + /v2/types/relationshipdef/guid/{guid} + /v2/types/relationshipdef/name/{name} + /v2/types/structdef/guid/{guid} + /v2/types/structdef/name/{name} + /v2/types/typedef/guid/{guid} + /v2/types/typedef/name/{name} + +DELETE GET POST PUT + GET + GET + GET + GET + GET + GET + GET + GET + GET + GET + GET + GET + GET + +REST interface for CRUD operations on type definitions + + + + + + + +Generated by http://enunciate.webcohesion.com;>Enunciate. + + + + + + + + + + https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"> + + + https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"> + + + https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"> + +$(function() { + $(".clickable-row").click(function() { +window.document.location = $(this).data("href"); + }); + + $('[data-toggle="tooltip"]').tooltip() +}); + + + + http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/syntax_json.html -- diff --git a/0.8.1/api/v2/syntax_json.html b/0.8.1/api/v2/syntax_json.html new file mode 100644 index 000..858886e --- /dev/null +++ b/0.8.1/api/v2/syntax_json.html @@ -0,0 +1,427 @@ + + + + + + + + + Atlas REST API: JSON + + + + + + https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css;> + + + + + + + + + + + + + + + Toggle navigation + + + + +Atlas REST API: JSON + + + + Resources + Data Types + + + + + + + + + + Back to Top + + + + + + Home + JSON + + + JSON + + + + + type + description + + + + +AtlasAttributeDef + +class that captures details of a struct-attribute. + + + +AtlasBaseTypeDef + +Base class that captures common-attributes for all Atlas types. + + + +AtlasClassification + +An instance of a classification; it doesn't have an identity, this object exists only when associated with an
[04/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/css/print.css -- diff --git a/0.8.1/css/print.css b/0.8.1/css/print.css new file mode 100644 index 000..1cd02d9 --- /dev/null +++ b/0.8.1/css/print.css @@ -0,0 +1,23 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +/* $Id: print.css 1201871 2011-11-14 20:18:24Z simonetripodi $ */ + +#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn {display: none !important;} +#bodyColumn, body.docs div.docs {margin: 0 !important;border: none !important} http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/css/site.css -- diff --git a/0.8.1/css/site.css b/0.8.1/css/site.css new file mode 100644 index 000..055e7e2 --- /dev/null +++ b/0.8.1/css/site.css @@ -0,0 +1 @@ +/* You can override this file with your own styles */ \ No newline at end of file http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/images/accessories-text-editor.png -- diff --git a/0.8.1/images/accessories-text-editor.png b/0.8.1/images/accessories-text-editor.png new file mode 100644 index 000..abc3366 Binary files /dev/null and b/0.8.1/images/accessories-text-editor.png differ http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/images/add.gif -- diff --git a/0.8.1/images/add.gif b/0.8.1/images/add.gif new file mode 100644 index 000..1cb3dbf Binary files /dev/null and b/0.8.1/images/add.gif differ http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/images/apache-incubator-logo.png -- diff --git a/0.8.1/images/apache-incubator-logo.png b/0.8.1/images/apache-incubator-logo.png new file mode 100644 index 000..81fb31e Binary files /dev/null and b/0.8.1/images/apache-incubator-logo.png differ http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/images/apache-maven-project-2.png -- diff --git a/0.8.1/images/apache-maven-project-2.png b/0.8.1/images/apache-maven-project-2.png new file mode 100644 index 000..6c096ec Binary files /dev/null and b/0.8.1/images/apache-maven-project-2.png differ http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/images/application-certificate.png -- diff --git a/0.8.1/images/application-certificate.png b/0.8.1/images/application-certificate.png new file mode 100644 index 000..cc6aff6 Binary files /dev/null and b/0.8.1/images/application-certificate.png differ http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/images/atlas-logo.png -- diff --git a/0.8.1/images/atlas-logo.png b/0.8.1/images/atlas-logo.png new file mode 100644 index 000..50c0ffd Binary files /dev/null and b/0.8.1/images/atlas-logo.png differ http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/images/column_lineage_ex1.png -- diff --git a/0.8.1/images/column_lineage_ex1.png b/0.8.1/images/column_lineage_ex1.png new file mode 100644 index 000..a41c5fb Binary files /dev/null and b/0.8.1/images/column_lineage_ex1.png differ http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/images/contact-new.png -- diff --git a/0.8.1/images/contact-new.png b/0.8.1/images/contact-new.png new file mode 100644 index 000..ebc4316 Binary files /dev/null and b/0.8.1/images/contact-new.png differ http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/images/document-properties.png -- diff --git
[23/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/ui/css/screen.css -- diff --git a/0.8.1/api/v2/ui/css/screen.css b/0.8.1/api/v2/ui/css/screen.css new file mode 100644 index 000..39ff583 --- /dev/null +++ b/0.8.1/api/v2/ui/css/screen.css @@ -0,0 +1,1494 @@ +/* Original style from softwaremaniacs.org (c) Ivan Sagalaev*/ +.swagger-section pre code { + display: block; + padding: 0.5em; + background: #F0F0F0; +} +.swagger-section pre code, +.swagger-section pre .subst, +.swagger-section pre .tag .title, +.swagger-section pre .lisp .title, +.swagger-section pre .clojure .built_in, +.swagger-section pre .nginx .title { + color: black; +} +.swagger-section pre .string, +.swagger-section pre .title, +.swagger-section pre .constant, +.swagger-section pre .parent, +.swagger-section pre .tag .value, +.swagger-section pre .rules .value, +.swagger-section pre .rules .value .number, +.swagger-section pre .preprocessor, +.swagger-section pre .ruby .symbol, +.swagger-section pre .ruby .symbol .string, +.swagger-section pre .aggregate, +.swagger-section pre .template_tag, +.swagger-section pre .django .variable, +.swagger-section pre .smalltalk .class, +.swagger-section pre .addition, +.swagger-section pre .flow, +.swagger-section pre .stream, +.swagger-section pre .bash .variable, +.swagger-section pre .apache .tag, +.swagger-section pre .apache .cbracket, +.swagger-section pre .tex .command, +.swagger-section pre .tex .special, +.swagger-section pre .erlang_repl .function_or_atom, +.swagger-section pre .markdown .header { + color: #800; +} +.swagger-section pre .comment, +.swagger-section pre .annotation, +.swagger-section pre .template_comment, +.swagger-section pre .diff .header, +.swagger-section pre .chunk, +.swagger-section pre .markdown .blockquote { + color: #888; +} +.swagger-section pre .number, +.swagger-section pre .date, +.swagger-section pre .regexp, +.swagger-section pre .literal, +.swagger-section pre .smalltalk .symbol, +.swagger-section pre .smalltalk .char, +.swagger-section pre .go .constant, +.swagger-section pre .change, +.swagger-section pre .markdown .bullet, +.swagger-section pre .markdown .link_url { + color: #080; +} +.swagger-section pre .label, +.swagger-section pre .javadoc, +.swagger-section pre .ruby .string, +.swagger-section pre .decorator, +.swagger-section pre .filter .argument, +.swagger-section pre .localvars, +.swagger-section pre .array, +.swagger-section pre .attr_selector, +.swagger-section pre .important, +.swagger-section pre .pseudo, +.swagger-section pre .pi, +.swagger-section pre .doctype, +.swagger-section pre .deletion, +.swagger-section pre .envvar, +.swagger-section pre .shebang, +.swagger-section pre .apache .sqbracket, +.swagger-section pre .nginx .built_in, +.swagger-section pre .tex .formula, +.swagger-section pre .erlang_repl .reserved, +.swagger-section pre .prompt, +.swagger-section pre .markdown .link_label, +.swagger-section pre .vhdl .attribute, +.swagger-section pre .clojure .attribute, +.swagger-section pre .coffeescript .property { + color: #88F; +} +.swagger-section pre .keyword, +.swagger-section pre .id, +.swagger-section pre .phpdoc, +.swagger-section pre .title, +.swagger-section pre .built_in, +.swagger-section pre .aggregate, +.swagger-section pre .css .tag, +.swagger-section pre .javadoctag, +.swagger-section pre .phpdoc, +.swagger-section pre .yardoctag, +.swagger-section pre .smalltalk .class, +.swagger-section pre .winutils, +.swagger-section pre .bash .variable, +.swagger-section pre .apache .tag, +.swagger-section pre .go .typename, +.swagger-section pre .tex .command, +.swagger-section pre .markdown .strong, +.swagger-section pre .request, +.swagger-section pre .status { + font-weight: bold; +} +.swagger-section pre .markdown .emphasis { + font-style: italic; +} +.swagger-section pre .nginx .built_in { + font-weight: normal; +} +.swagger-section pre .coffeescript .javascript, +.swagger-section pre .javascript .xml, +.swagger-section pre .tex .formula, +.swagger-section pre .xml .javascript, +.swagger-section pre .xml .vbscript, +.swagger-section pre .xml .css, +.swagger-section pre .xml .cdata { + opacity: 0.5; +} +.swagger-section .hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + background: #F0F0F0; +} +.swagger-section .hljs, +.swagger-section .hljs-subst { + color: #444; +} +.swagger-section .hljs-keyword, +.swagger-section .hljs-attribute, +.swagger-section .hljs-selector-tag, +.swagger-section .hljs-meta-keyword, +.swagger-section .hljs-doctag, +.swagger-section .hljs-name { + font-weight: bold; +} +.swagger-section .hljs-built_in, +.swagger-section .hljs-literal, +.swagger-section .hljs-bullet, +.swagger-section .hljs-code, +.swagger-section .hljs-addition { + color: #1F811F; +} +.swagger-section .hljs-regexp, +.swagger-section .hljs-symbol, +.swagger-section
[14/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/ui/lib/jquery.ba-bbq.min.js -- diff --git a/0.8.1/api/v2/ui/lib/jquery.ba-bbq.min.js b/0.8.1/api/v2/ui/lib/jquery.ba-bbq.min.js new file mode 100644 index 000..bcbf248 --- /dev/null +++ b/0.8.1/api/v2/ui/lib/jquery.ba-bbq.min.js @@ -0,0 +1,18 @@ +/* + * jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010 + * http://benalman.com/projects/jquery-bbq-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function($,p){var i,m=Array.prototype.slice,r=decodeURIComponent,a=$.param,c,l,v,b=$.bbq=$.bbq||{},q,u,j,e=$.event.special,d="hashchange",A="querystring",D="fragment",y="elemUrlAttr",g="location",k="href",t="src",x=/^.*\?|#.*$/g,w=/^.*\#/,h,C={};function E(F){return typeof F==="string"}function B(G){var F=m.call(arguments,1);return function(){return G.apply(this,F.concat(m.call(arguments)))}}function n(F){return F.replace(/^[^#]*#?(.*)$/,"$1")}function o(F){return F.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}function f(H,M,F,I,G){var O,L,K,N,J;if(I!==i){K=F.match(H?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/);J=K[3]||"";if(G===2&(I)){L=I.replace(H?w:x,"")}else{N=l(K[2]);I=E(I)?l[H?D:A](I):I;L=G===2?I:G===1?$.extend({},I,N):$.extend({},N,I);L=a(L);if(H){L=L.replace(h,r)}}O=K[1]+(H?"#":L||!K[1]?"?":"")+L+J}else{O=M(F!==i?F:p[g][k])}return O}a[A]=B(f,0,o);a[D]=c=B(f,1,n);c.noEscape=function(G){G=G||"";var F=$.map(G.split(""),encodeURIComponent);h=new RegExp(F.join("|"),"g")};c.no Escape(",/");$.deparam=l=function(I,F){var H={},G={"true":!0,"false":!1,"null":null};$.each(I.replace(/\+/g," ").split("&"),function(L,Q){var K=Q.split("="),P=r(K[0]),J,O=H,M=0,R=P.split("]["),N=R.length-1;if(/\[/.test(R[0])&&/\]$/.test(R[N])){R[N]=R[N].replace(/\]$/,"");R=R.shift().split("[").concat(R);N=R.length-1}else{N=0}if(K.length===2){J=r(K[1]);if(F){J=J&&!isNaN(J)?+J:J==="undefined"?i:G[J]!==i?G[J]:J}if(N){for(;M<=N;M++){P=R[M]===""?O.length:R[M];O=O[P]=M
[01/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
+ + + + + + + + + + + + + + +http://www.apache.org; class="externalLink" title="Apache"> +Apache + + / + + +Atlas + + / +Team list + + + + Last Published: 2017-08-29 | + Version: 0.8.1 + + + + + + + + + +The Team +A successful project requires many people to play many roles. Some members write code or documentation, while others are valuable as testers, submitting patches and suggestions. +The team is comprised of Members and Contributors. Members have direct access to the source of a project and actively evolve the code-base. Contributors improve the project through submission of patches and suggestions to the Members. The number of Contributors to the project is unbounded. Get involved today. All contributions to the project are greatly appreciated. + +Members +The following is a list of developers with commit privileges that have directly contributed to the project in one way or another. + + +Id +Name +Email +Organization +Roles +Time Zone +Actual Time (GMT) + +adossett +Aaron Dossett +mailto:adoss...@target.com;>adoss...@target.com +Target Inc. +committer, PMC +America/Denver +America/Denver + +AAhn +Andrew Ahn +mailto:a...@apache.org;>a...@apache.org +- +committer, PMC +America/Los_Angeles +America/Los_Angeles + +apoorvnaik +Apoorv Naik +mailto:apoorvn...@apache.org;>apoorvn...@apache.org +Hortonworks Inc. +committer, PMC +America/Los_Angeles +America/Los_Angeles + +acmurthy +Arun C.Murthy +mailto:acmur...@apache.org;>acmur...@apache.org +Hortonworks Inc. +committer, PMC +America/Los_Angeles +America/Los_Angeles + +ayubpathan +Ayub Pathan +mailto:ayubpat...@apache.org;>ayubpat...@apache.org +Hortonworks Inc. +committer, PMC +Asia/Kolkata +Asia/Kolkata + +amestry +Ashutosh Mestry +mailto:ames...@apache.org;>ames...@apache.org +Hortonworks Inc. +committer +America/Los_Angeles +America/Los_Angeles + +bstortz +Barbara Stortz +mailto:bsto...@sap.com;>bsto...@sap.com +SAP Inc. +committer, PMC +America/Los_Angeles +America/Los_Angeles + +chyzer +Chris Hyzer +mailto:chy...@aetna.com;>chy...@aetna.com +Aetna Inc. +committer, PMC +America/New_York +America/New_York + +dmarkwat +Daniel Markwat +mailto:dmark...@aetna.com;>dmark...@aetna.com +Aetna Inc. +committer, PMC +America/New_York +America/New_York + +darshankumar +Darshan Kumar +mailto:darshanku...@apache.org;>darshanku...@apache.org +MPR +committer, PMC +Asia/Kolkata +Asia/Kolkata + +davidrad +David Radley +mailto:david...@apache.org;>david...@apache.org +IBM Corporation +committer +Europe/London +Europe/London + +dkantor +Dave Kantor +mailto:dkan...@apache.org;>dkan...@apache.org +IBM Corporation +committer, PMC +America/New_York +America/New_York + +dkaspar +David Kaspar +mailto:dkas...@merck.com;>dkas...@merck.com +Merck Co Inc. +committer, PMC +Europe/Berlin +Europe/Berlin + +dfusaro +Dennis Fusaro +mailto:dfus...@aetna.com;>dfus...@aetna.com +Aetna Inc. +committer, PMC +America/New_York +America/New_York + +gsenia +Greg Senia +mailto:gse...@aetna.com;>gse...@aetna.com +Aetna Inc. +committer, PMC +America/New_York +America/New_York + +rhbutani +Harish Butani +mailto:rhbut...@apache.org;>rhbut...@apache.org +- +committer, PMC +America/Los_Angeles +America/Los_Angeles + +yhemanth +Hemanth Yamijala +mailto:yhema...@apache.org;>yhema...@apache.org +Hortonworks Inc. +committer, PMC +Asia/Kolkata +Asia/Kolkata + +ilasek +Ivo Lasek +mailto:ila...@merck.com;>ila...@merck.com +Merck Co Inc. +committer, PMC +Europe/Berlin +Europe/Berlin + +jnhagelberg +Jeffrey Hagelberg +mailto:jnhagelb...@apache.org;>jnhagelb...@apache.org +IBM Corporation +committer, PMC +America/New_York +America/New_York + +jitendra +Jitendra Pandey +mailto:jiten...@apache.org;>jiten...@apache.org +Hortonworks Inc. +committer, PMC +America/Los_Angeles +America/Los_Angeles + +jmaron +Jon Maron +mailto:jma...@apache.org;>jma...@apache.org +- +committer, PMC +America/New_York +America/New_York + +kalyanikashikar +Kalyani Kashikar +mailto:kalyanikashi...@apache.org;>kalyanikashi...@apache.org +Freestone Infotech +committer, PMC +Asia/Kolkata +Asia/Kolkata + +kbhatt +Keval Bhatt +mailto:kbh...@apache.org;>kbh...@apache.org +Freestone Infotech +committer, PMC +Asia/Kolkata +Asia/Kolkata + +madhan +Madhan Neethiraj +mailto:mad...@apache.org;>mad...@apache.org +Hortonworks Inc. +committer, PMC +America/Los_Angeles +America/Los_Angeles + +mschussler +Mitch Schussler +mailto:mschuss...@apache.org;>mschuss...@apache.org +JPMC +committer, PMC +America/New_York +America/New_York + +guptaneeru +
[26/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/resource_LineageREST.html -- diff --git a/0.8.1/api/v2/resource_LineageREST.html b/0.8.1/api/v2/resource_LineageREST.html new file mode 100644 index 000..8ba2b34 --- /dev/null +++ b/0.8.1/api/v2/resource_LineageREST.html @@ -0,0 +1,246 @@ + + + + + + + + + Atlas REST API: LineageREST + + + + + + https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css;> + + + + + + + + + + + + + + + Toggle navigation + + + + +Atlas REST API: LineageREST + + + + Resources + Data Types + + + + + + + + + + GET /v2/lineage/{guid} + + Back to Top + + + + + + Home + Resources + LineageREST + + + LineageREST Resource + + REST interface for an entity's lineage information + + +GET /v2/lineage/{guid} + +Returns lineage info about entity. + + + Request Parameters + + +name +type +description +default +constraints + + + + +guid +path +- unique entity id + + + + +depth +query +- number of hops for lineage +3 +int + + +direction +query +- input, output or both +BOTH +"BOTH" or "INPUT" or "OUTPUT" + + + + + + Response Codes + + +code +condition + + + + +200 +If Lineage exists for the given entity + + +400 +Bad query parameters + + +404 +If no lineage is found for the given entity + + + + + + Response Body + + +media type +data type +description + + + + +application/json +AtlasLineageInfo + (JSON) +AtlasLineageInfo + + + +Example + + + + + Request + +GET /v2/lineage/{guid} +Accept: application/json + + + + + Response + +HTTP/1.1 200 OK +Content-Type: application/json + + +{ + baseEntityGuid : ..., + guidEntityMap : { +property1 : { + guid : ..., + status : DELETED, + displayText : ..., + classificationNames : [ ..., ... ], + typeName : ..., + attributes : { +property1 : { }, +property2 : { } + } +}, +property2 : { + guid : ..., + status : DELETED, + displayText : ..., + classificationNames : [ ..., ... ], + typeName : ..., + attributes : { +property1 : { }, +property2 : { } + } +} + }, + relations : [ { +fromEntityId : ..., +toEntityId : ... + }, { +fromEntityId : ..., +toEntityId : ... + } ], + lineageDirection : BOTH, + lineageDepth : 12345 +} + + + + + + + + + +Generated by http://enunciate.webcohesion.com;>Enunciate. + + + + + + + + + + https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"> + + + https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"> + + + https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"> + +$(function() { + $(".clickable-row").click(function() { +window.document.location = $(this).data("href"); + }); + + $('[data-toggle="tooltip"]').tooltip() +}); + + + + http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/resource_RelationshipREST.html -- diff --git a/0.8.1/api/v2/resource_RelationshipREST.html b/0.8.1/api/v2/resource_RelationshipREST.html new file mode 100644 index 000..26d77c9 --- /dev/null +++ b/0.8.1/api/v2/resource_RelationshipREST.html @@ -0,0 +1,502 @@ + + + + + + + + + Atlas REST API: RelationshipREST + + + + + + https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css;> + + + + + + + + + + + + + + + Toggle navigation + +
[02/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/license.html -- diff --git a/0.8.1/license.html b/0.8.1/license.html new file mode 100644 index 000..5657a7f --- /dev/null +++ b/0.8.1/license.html @@ -0,0 +1,456 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + + + + +Apache Atlas Project License + + + + + + + + + +$( document ).ready( function() { $( '.carousel' ).carousel( { interval: 3500 } ) } ); + + + + + + + + + + + + + + + +Atlas + + +About + + +https://cwiki.apache.org/confluence/display/ATLAS; title="Wiki">Wiki + + +https://cwiki.apache.org/confluence/display/ATLAS; title="News">News + + +https://git-wip-us.apache.org/repos/asf/atlas.git; title="Git">Git + + +https://issues.apache.org/jira/browse/ATLAS; title="Jira">Jira + + +https://cwiki.apache.org/confluence/display/ATLAS/PoweredBy; title="Powered by">Powered by + + +http://blogs.apache.org/atlas/; title="Blog">Blog + + + + +Project Information + + +Summary + + +Mailing Lists + + +http://webchat.freenode.net?channels=apacheatlas=d4; title="IRC">IRC + + +Team + + +Issue Tracking + + +Source Repository + + +License + + + + +Releases + + +http://www.apache.org/dyn/closer.cgi/atlas/0.8.1/; title="0.8.1">0.8.1 + + +http://archive.apache.org/dist/incubator/atlas/0.8.0-incubating/; title="0.8-incubating">0.8-incubating + + +http://archive.apache.org/dist/incubator/atlas/0.7.1-incubating/; title="0.7.1-incubating">0.7.1-incubating + + +http://archive.apache.org/dist/incubator/atlas/0.7.0-incubating/; title="0.7-incubating">0.7-incubating + + +http://archive.apache.org/dist/incubator/atlas/0.6.0-incubating/; title="0.6-incubating">0.6-incubating + + +http://archive.apache.org/dist/incubator/atlas/0.5.0-incubating/; title="0.5-incubating">0.5-incubating + + + + +Documentation + + +0.8.1 + + +0.8-incubating + + +0.7.1-incubating + + +0.7-incubating + + +0.6-incubating + + +0.5-incubating + + + + +ASF + + +http://www.apache.org/foundation/how-it-works.html; title="How Apache Works">How Apache Works + + +http://www.apache.org/foundation/; title="Foundation">Foundation + + +http://www.apache.org/foundation/sponsorship.html; title="Sponsoring Apache">Sponsoring Apache + + +http://www.apache.org/foundation/thanks.html; title="Thanks">Thanks + + + + + + http://www.google.com/search; method="get" class="navbar-search pull-right" > + + http://atlas.apache.org; name="sitesearch" type="hidden"/> + + +http://www.google.com/coop/cse/brand?form=search-form"> + + + + + +http://www.facebook.com/plugins/like.php?href=http://atlas.apache.org/atlas-docs=false=button_count=false=like=dark; +scrolling="no" frameborder="0" +style="border:none; width:80px; height:20px; margin-top: 10px;" class="pull-right" > + +https://apis.google.com/js/plusone.js"> + + + +http://atlas.apache.org/atlas-docs; data-size="medium" width="60px" align="right" > + + + + + + + + + + + + + + + + + + + + + + + + + + +http://www.apache.org; class="externalLink" title="Apache"> +Apache + + / + + +Atlas + + / +Project License + + + + Last
[13/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/ui/lib/jsoneditor.min.js -- diff --git a/0.8.1/api/v2/ui/lib/jsoneditor.min.js b/0.8.1/api/v2/ui/lib/jsoneditor.min.js new file mode 100644 index 000..343397f --- /dev/null +++ b/0.8.1/api/v2/ui/lib/jsoneditor.min.js @@ -0,0 +1,11 @@ +/*! JSON Editor v0.7.22 - JSON Schema -> HTML Editor + * By Jeremy Dorn - https://github.com/jdorn/json-editor/ + * Released under the MIT license + * + * Date: 2015-08-12 + */ +!function(){var a;!function(){var b=!1,c=/xyz/.test(function(){window.postMessage("xyz")})?/\b_super\b/:/.*/;return a=function(){},a.extend=function(a){function d(){!b&&(this,arguments)}var e=this.prototype;b=!0;var f=new this;b=!1;for(var g in a)f[g]="function"==typeof a[g]&&"function"==typeof e[g]&(a[g])?function(a,b){return function(){var c=this._super;this._super=e[a];var d=b.apply(this,arguments);return this._super=c,d}}(g,a[g]):a[g];return d.prototype=f,d.prototype.constructor=d,d.extend=arguments.callee,d},a}(),function(){function a(a,b){b=b||{bubbles:!1,cancelable:!1,detail:void 0};var c=document.createEvent("CustomEvent");return c.initCustomEvent(a,b.bubbles,b.cancelable,b.detail),c}a.prototype=window.Event.prototype,window.CustomEvent=a}(),function(){for(var a=0,b=["ms","moz","webkit","o"],c=0;c0& in a){for(c=0;c
[11/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/ui/lib/sanitize-html.min.js -- diff --git a/0.8.1/api/v2/ui/lib/sanitize-html.min.js b/0.8.1/api/v2/ui/lib/sanitize-html.min.js new file mode 100644 index 000..3e3b48d --- /dev/null +++ b/0.8.1/api/v2/ui/lib/sanitize-html.min.js @@ -0,0 +1,6 @@ +(function(f){if(typeof exports==="object"& module!=="undefined"){module.exports=f()}else if(typeof define==="function"&){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.sanitizeHtml=f()}})(function(){var define,module,exports;return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&if(!u&)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&for(var o=0;o=0){globRegex.push(quoteRegexp(name).replace(/\\\*/g,".*"))}else{allowedAttributesMap[tag].push(name)}});allowedAttributesGlobMap[tag]=new RegExp("^("+globRegex.join("|")+")$")})}var allowedClassesMap={};each(options.allowedClasses,function(classes,tag){if(allowedAttributesMap){if(!has(allowedAttributesMap,tag)){allowedAttributesMap[tag]=[]}allowedAttributesMap[tag].push("class")}allowedClassesMap[tag]=classes});var transformTagsMap={};var transformTagsAll;each(options.transformTags,function(transform,tag){var transFun;if(typeof transform==="function"){transFun=transform}else if(typeof transform==="string"){transFun=sanitizeHtml.simpleTransform(transform)}if(tag==="*"){transformTagsAll=transFun}else{transformTagsMap[tag]=transFun}});var depth=0;var stack=[];var skipMap={};var transformMap={};var skipText=false;var skipTextDepth=0;var parser=new htmlparser.Parser({onopentag:function(name,attribs){if(skipText){skipTextDepth++;return}v ar frame=new Frame(name,attribs);stack.push(frame);var skip=false;var hasText=frame.text?true:false;var transformedTag;if(has(transformTagsMap,name)){transformedTag=transformTagsMap[name](name,attribs);frame.attribs=attribs=transformedTag.attribs;if(transformedTag.text!==undefined){frame.innerText=transformedTag.text}if(name!==transformedTag.tagName){frame.name=name=transformedTag.tagName;transformMap[depth]=transformedTag.tagName}}if(transformTagsAll){transformedTag=transformTagsAll(name,attribs);frame.attribs=attribs=transformedTag.attribs;if(name!==transformedTag.tagName){frame.name=name=transformedTag.tagName;transformMap[depth]=transformedTag.tagName}}if(options.allowedTags&(name)===-1){skip=true;if(nonTextTagsArray.indexOf(name)!==-1){skipText=true;skipTextDepth=1}skipMap[depth]=true}depth++;if(skip){return}result+="<"+name;if(!allowedAttributesMap||has(allowedAttributesMap,name)||allowedAttributesMap["*"]){each(attribs,function(value,a){if(!allowed AttributesMap||has(allowedAttributesMap,name)&[name].indexOf(a)!==-1||allowedAttributesMap["*"]&["*"].indexOf(a)!==-1||has(allowedAttributesGlobMap,name)&[name].test(a)||allowedAttributesGlobMap["*"]&["*"].test(a)){if(a==="href"||a==="src"){if(naughtyHref(name,value)){delete frame.attribs[a];return}}if(a==="class"){value=filterClasses(value,allowedClassesMap[name]);if(!value.length){delete frame.attribs[a];return}}result+=" "+a;if(value.length){result+='="'+escapeHtml(value)+'"'}}else{delete frame.attribs[a]}})}if(options.selfClosing.indexOf(name)!==-1){result+="
[03/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/js/apache-maven-fluido-1.3.0.min.js -- diff --git a/0.8.1/js/apache-maven-fluido-1.3.0.min.js b/0.8.1/js/apache-maven-fluido-1.3.0.min.js new file mode 100644 index 000..677e611 --- /dev/null +++ b/0.8.1/js/apache-maven-fluido-1.3.0.min.js @@ -0,0 +1,21 @@ +/*! + * jQuery JavaScript Library v1.8.0 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2012 jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: Thu Aug 09 2012 16:24:48 GMT-0400 (Eastern Daylight Time) + */ +(function(a2,aB){var x,af,o=a2.document,aI=a2.location,d=a2.navigator,bg=a2.jQuery,I=a2.$,am=Array.prototype.push,a4=Array.prototype.slice,aK=Array.prototype.indexOf,A=Object.prototype.toString,V=Object.prototype.hasOwnProperty,aN=String.prototype.trim,bG=function(e,bZ){return new bG.fn.init(e,bZ,x)},bx=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,aa=/\S/,aV=/\s+/,D=aa.test("\xA0")?(/^[\s\xA0]+|[\s\xA0]+$/g):/^\s+|\s+$/g,bo=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,a=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,bf=/^[\],:{}\s]*$/,bi=/(?:^|:|,)(?:\s*\[)+/g,bD=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,a0=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,bP=/^-ms-/,aU=/-([\da-z])/gi,N=function(e,bZ){return(bZ+"").toUpperCase()},aF=function(){if(o.addEventListener){o.removeEventListener("DOMContentLoaded",aF,false);bG.ready()}else{if(o.readyState==="complete"){o.detachEvent("onreadystatechange",aF);bG.ready()}}},Z={};bG.fn=bG.prototype={constructor:bG,init:function(e,b2,b1){var b0,b3,b Z,b4;if(!e){return this}if(e.nodeType){this.context=this[0]=e;this.length=1;return this}if(typeof e==="string"){if(e.charAt(0)==="<"&(e.length-1)===">"&>=3){b0=[null,e,null]}else{b0=bo.exec(e)}if(b0&&(b0[1]||!b2)){if(b0[1]){b2=b2 instanceof bG?b2[0]:b2;b4=(b2&?b2.ownerDocument||b2:o);e=bG.parseHTML(b0[1],b4,true);if(a.test(b0[1])&(b2)){this.attr.call(e,b2,true)}return bG.merge(this,e)}else{b3=o.getElementById(b0[2]);if(b3&){if(b3.id!==b0[2]){return b1.find(e)}this.length=1;this[0]=b3}this.context=o;this.selector=e;return this}}else{if(!b2||b2.jquery){return(b2||b1).find(e)}else{return this.constructor(b2).find(e)}}}else{if(bG.isFunction(e)){return b1.ready(e)}}if(e.selector!==aB){this.selector=e.selector;this.context=e.context}return bG.makeArray(e,this)},selector:"",jquery:"1.8.0",length:0,size:function(){return this.length},toArray:function(){return a4.call(this)},get:function(e){return e==null?this.toArray():(e<0?this[t his.length+e]:this[e])},pushStack:function(bZ,b1,e){var b0=bG.merge(this.constructor(),bZ);b0.prevObject=this;b0.context=this.context;if(b1==="find"){b0.selector=this.selector+(this.selector?" ":"")+e}else{if(b1){b0.selector=this.selector+"."+b1+"("+e+")"}}return b0},each:function(bZ,e){return bG.each(this,bZ,e)},ready:function(e){bG.ready.promise().done(e);return this},eq:function(e){e=+e;return e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(a4.apply(this,arguments),"slice",a4.call(arguments).join(","))},map:function(e){return this.pushStack(bG.map(this,function(b0,bZ){return e.call(b0,bZ,b0)}))},end:function(){return this.prevObject||this.constructor(null)},push:am,sort:[].sort,splice:[].splice};bG.fn.init.prototype=bG.fn;bG.extend=bG.fn.extend=function(){var b7,b0,e,bZ,b4,b5,b3=arguments[0]||{},b2=1,b1=arguments.length,b6=false;if(typeof b3==="boolean"){b6=b3;b3=arguments[1]||{ };b2=2}if(typeof b3!=="object"&&!bG.isFunction(b3)){b3={}}if(b1===b2){b3=this;--b2}for(;b20){return}af.resolveWith(o,[bG]);if(bG.fn.trigger){bG(o).trigger("ready").off("ready")}},isFunction:function(e){return bG.type(e)==="function"},isArray:Array.isArray||function(e){return bG.type(e)==="array"},isWindow:function(e){return e!=null&==e.window},isNumeric:fu nction(e){return !isNaN(parseFloat(e))&(e)},type:function(e){return e==null?String(e):Z[A.call(e)]||"object"},isPlainObject:function(b1){if(!b1||bG.type(b1)!=="object"||b1.nodeType||bG.isWindow(b1)){return false}try{if(b1.constructor&&!V.call(b1,"constructor")&&!V.call(b1.constructor.prototype,"isPrototypeOf")){return
[30/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/json_AtlasQueryType.html -- diff --git a/0.8.1/api/v2/json_AtlasQueryType.html b/0.8.1/api/v2/json_AtlasQueryType.html new file mode 100644 index 000..2472ba0 --- /dev/null +++ b/0.8.1/api/v2/json_AtlasQueryType.html @@ -0,0 +1,138 @@ + + + + + + + + + Atlas REST API: AtlasQueryType + + + + + + https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css;> + + + + + + + + + + + + + + + Toggle navigation + + + + +Atlas REST API: AtlasQueryType + + + + Resources + Data Types + + + + + + + + + + Back to Top + + + + + + Home + JSON + AtlasQueryType + + + AtlasQueryType Data Type + + + + + + + +Values + + + value + description + + + + + DSL + + + + FULL_TEXT + + + + GREMLIN + + + + BASIC + + + + ATTRIBUTE + + + + RELATIONSHIP + + + + + + + +Generated by http://enunciate.webcohesion.com;>Enunciate. + + + + + + + + + + https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"> + + + https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"> + + + https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"> + +$(function() { + $(".clickable-row").click(function() { +window.document.location = $(this).data("href"); + }); + + $('[data-toggle="tooltip"]').tooltip() +}); + + + + http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/v2/json_AtlasRelationship.html -- diff --git a/0.8.1/api/v2/json_AtlasRelationship.html b/0.8.1/api/v2/json_AtlasRelationship.html new file mode 100644 index 000..5d9086e --- /dev/null +++ b/0.8.1/api/v2/json_AtlasRelationship.html @@ -0,0 +1,256 @@ + + + + + + + + + Atlas REST API: AtlasRelationship + + + + + + https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css;> + + + + + + + + + + + + + + + Toggle navigation + + + + +Atlas REST API: AtlasRelationship + + + + Resources + Data Types + + + + + + + + + + Back to Top + + + + + + Home + JSON + AtlasRelationship + + + AtlasRelationship Data Type + + Atlas relationship instance. + + + + + +Properties + + + name + data type + description + + + + +guid + +string + + + + + + +status + +Status + + + + + + +createdBy + +string + + + + + + +updatedBy + +string + + + + + + +createTime + +number + + + + + + +updateTime + +number + + + + + + +version + +number + + + + + + +end1 + +AtlasObjectId + + + + + + +end2 + +AtlasObjectId + + + + + + +label + +string + + + + + + + + Properties inherited from AtlasStruct + + + + typeName + string + + + + + attributes + map of object + + + + + + + Example + + { + guid : ..., + status : ACTIVE, + createdBy : ..., + updatedBy : ..., + createTime : 12345, + updateTime : 12345, + version : 12345, + end1 : { +guid : ..., +typeName : ..., +uniqueAttributes : { + property1 : { }, + property2 : { } +} + }, + end2 : { +guid : ..., +typeName : ..., +uniqueAttributes : { + property1 : { }, + property2 : { } +} + }, + label : ..., + typeName : ..., + attributes : { +property1 : { }, +property2 : { } + } +} + + +
[36/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/js/libs/jquery-1.5.1.min.js -- diff --git a/0.8.1/api/js/libs/jquery-1.5.1.min.js b/0.8.1/api/js/libs/jquery-1.5.1.min.js new file mode 100644 index 000..14fd647 --- /dev/null +++ b/0.8.1/api/js/libs/jquery-1.5.1.min.js @@ -0,0 +1,16 @@ +/*! + * jQuery JavaScript Library v1.5.1 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Wed Feb 23 13:55:29 2011 -0500 + */ +(function(a,b){function cg(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cd(a){if(!bZ[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";bZ[a]=c}return bZ[a]}function cc(a,b){var c={};d.each(cb.concat.apply([],cb.slice(0,b)),function(){c[this]=a});return c}function bY(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function bX(){try{return new a.XMLHttpRequest}catch(b){}}function bW(){d(a).unload(function(){for(var a in bU)bU[a](0,1)})}function bQ(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f={},g,h,i=e.length,j,k=e[0],l,m,n,o,p;for(g=1;g=0===c})}function N(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function
[34/42] atlas-website git commit: ATLAS-2068: Update atlas website about 0.8.1 release
http://git-wip-us.apache.org/repos/asf/atlas-website/blob/c5b7bdb3/0.8.1/api/ns0_errorBean.html -- diff --git a/0.8.1/api/ns0_errorBean.html b/0.8.1/api/ns0_errorBean.html new file mode 100644 index 000..feb179a --- /dev/null +++ b/0.8.1/api/ns0_errorBean.html @@ -0,0 +1,189 @@ + + + + + + + + + + + + + errorBean + + + + + + + + + + + + + + + + + + +errorBean + + +REST +Data Model +Files and Libraries + + + + + + Home + + + Data Model + +Data Model +REST +Files and Libraries + + + + ns0 + +ns0 + + + + errorBean + +errorBean +results + + + + + + + + errorBean + + + Namespace: + (default namespace) + + + XML Schema: + ns0.xsd + + + + XML + Elements + + + name (type) + min/maxoccurs + description + + + +status (int) + + 1/1 + + + + + +message (string) + + 0/1 + + + + + +stackTrace (string) + + 0/1 + + + + + + JSON + + + property + type + description + + + status + + status (int) + + + + + + message + + message (string) + + + + + + stackTrace + + stackTrace (string) + + + + + + + + + + +Generated by http://enunciate.codehaus.org;>Enunciate. + + + + + + + + + window.jQuery || document.write("