ranger-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stromas, Aaron" <aaron.stro...@rsa.com>
Subject Question about Ranger REST URL with service-name component
Date Tue, 19 Jul 2016 20:17:15 GMT
Greetings,

None of the REST API calls using the service-name do not work for me. All of the following
return HTTP 404

curl -iv -u admin:admin  -X GET http://192.168.26.111:6080/service/public/v2/api/servicedef/hdfs

curl -iv -u admin:admin  -H "Content-Type: application/json" -d @hdfs-update-policy-by-name.payload
-X PUT http://192.168.26.111:6080/service/public/v2/api/Sandbox_hdfs/policy/appaccess

curl -iv -u admin:admin -X DELETE  http://192.168.26.111:6080/service/public/v2/api/Sandbox_hdfs/policy/appaccess

curl -iv -u admin:admin -X GET http://192.168.26.111:6080/service/public/v2/api/Sandbox_hdfs/policy

Service name Sandbox_hdfs and policy app access exist and the calls that use ID rather than
name work, so are the URLs incorrect? What should they be?
Thanks.

Best regards,

-Aaron

—
Aaron Stromas  |  RSA  The Security Division of EMC | Practice Consultant  |  Identity &
Fraud Protection Practice |  M +1 240 271 64 58 |

Mime
View raw message