Aaron, thanks for verifying.
Also it seems error code 404 is misleading. We should be returning 400.
We might need JIRAs for both error code and also possibly for documentation.
Thanks
Bosco
From: "Stromas, Aaron"
Reply-To:
Yes, that was it (should have figured out myself…:()
Best regards,
-Aaron
—
Aaron Stromas | RSA The Security Division of EMC | Practice Consultant |
Identity & Fraud Protection Practice | M +1 240 271 64 58 |
From: Abhay Kulkarni
Hi Abhay,
Worked with the exception of delete policy by service-name and policy name
which resulted in HTTP 400:
curl -iv -u admin:admin -X DELETE
http://192.168.26.111:6080/service/public/v2/api/policy?servicename=Sandbox_hdfs=appaccess
[1] 26496
acm-700:~ # * About to connect() to
Hi Lune,
Thank you for the suggestion Unfortunately, it helped only partially. Not for
updating policy by service-name and policy-name? I changed
curl -iv -u admin:admin -H "Content-Type: application/json" -d
@hdfs-update-policy-by-name.payload -X PUT
Hi Aaron,
I have marked the correct URLs below in red. Could you please use these URLs
and share the results? Also, it will help to open a documentation JIRA for
these issues.
Thanks,
-Abhay
From: "Stromas, Aaron" >
Reply-To:
Hi Bosco,
I still do. My previous post was concerning the create policy object where I
had an error in the JSON payload. I listed the requests that I still have
problems with, namely,
* Get service definition by name
* Update policy by service-name and policy-name
* Delete policy
Is there a doc JIRA filed for this issue?
On Jul 20, 2016, at 5:35 AM, Lune Silver
> wrote:
I don't know if this is your problem, but there is an error in the rest api
documentation concerning for example the way to get of a policy
You can use json valider website to validate the json policy you submit. It
helped me a lot in the beginning.
BR.
Lune
Le 19 juil. 2016 20:09, "Stromas, Aaron" a écrit :
> I should have checked the logs before posting – I had an error in content.
>
> Best regards,
>
>
I don't know if this is your problem, but there is an error in the rest api
documentation concerning for example the way to get of a policy thanks to
the service-name and policy-name.
The error is a missing level in the api arborescence.
In the documentation, you can see this :
/public/v2/api/