You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ab...@apache.org on 2017/03/22 17:46:38 UTC

ranger git commit: RANGER-1472: tag downloads fail with error "XXServiceResourceElement.findTaggedResourcesInServiceId"

Repository: ranger
Updated Branches:
  refs/heads/master 063bf890a -> 683f1e3a6


RANGER-1472: tag downloads fail with error "XXServiceResourceElement.findTaggedResourcesInServiceId"


Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/683f1e3a
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/683f1e3a
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/683f1e3a

Branch: refs/heads/master
Commit: 683f1e3a6ced7368891ddd58183e3be46f649004
Parents: 063bf89
Author: Abhay Kulkarni <ak...@hortonworks.com>
Authored: Wed Mar 22 10:46:06 2017 -0700
Committer: Abhay Kulkarni <ak...@hortonworks.com>
Committed: Wed Mar 22 10:46:06 2017 -0700

----------------------------------------------------------------------
 security-admin/src/main/resources/META-INF/jpa_named_queries.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/683f1e3a/security-admin/src/main/resources/META-INF/jpa_named_queries.xml
----------------------------------------------------------------------
diff --git a/security-admin/src/main/resources/META-INF/jpa_named_queries.xml b/security-admin/src/main/resources/META-INF/jpa_named_queries.xml
index 589f3cd..68548a5 100644
--- a/security-admin/src/main/resources/META-INF/jpa_named_queries.xml
+++ b/security-admin/src/main/resources/META-INF/jpa_named_queries.xml
@@ -791,7 +791,7 @@
 		<query>select obj from XXServiceResourceElement obj where obj.resourceId = :resourceId order by obj.resourceId, obj.id</query>
 	</named-query>
 
-	<named-query name="XXServiceResourceElement.findForTaggedResourcesInServiceId">
+	<named-query name="XXServiceResourceElement.findTaggedResourcesInServiceId">
 		<query>select obj from XXServiceResourceElement obj where obj.resourceId in
 			(select serviceresource.id from XXServiceResource serviceresource where serviceresource.serviceId = :serviceId and serviceresource.id in
 			(select tagResMap.resourceId from XXTagResourceMap tagResMap)
@@ -829,7 +829,7 @@
 		<query>select obj.value from XXServiceResourceElementValue obj where obj.resElementId = :resElementId</query>
 	</named-query>
 
-	<named-query name="XXServiceResourceElementValue.findForTaggedResourcesInServiceId">
+	<named-query name="XXServiceResourceElementValue.findTaggedResourcesInServiceId">
 		<query>select obj from XXServiceResourceElementValue obj, XXServiceResourceElement resElem where obj.resElementId = resElem.id and resElem.resourceId in
 					(select res.id from XXServiceResource res where res.serviceId = :serviceId and res.id in
 						(select tagResMap.resourceId from XXTagResourceMap tagResMap)