Hi,
how is it possible to set a entity method (runs POST) to public to work with it with rest api requests?
Kind regards,
Alex
Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
Hi,
how is it possible to set a entity method (runs POST) to public to work with it with rest api requests?
Kind regards,
Alex
Hi Alex,
Is your question related to runs - or various Octane entities in general?
In general our team (product management and R&D) evaluates which entities and methods should be public based on customer feedback.
What exactly is your use case? Do you plan to create a manual or automatic run? Actually Run Manual allows POST; Run Automated only PUT (but I am quite sure there is a public method to create a run):
Regards,
Dirk
Hi, I found a video on youtube in that a guy explaines how to start automated suit_runs from outside of Octane. And the guy uses a ALM Octane postman collection for this. I tried it out and i get an error that this operation is forbidden (I think because the runs PST methods are private for me in my company.
here is the youtube link: https://youtu.be/7dTKzAQp34E
here is my Postman request:
maybe there is a way to change the access to the methods to public so i could try it out ?
Best regards,
Alex
Hi Alex,
Maybe Octane features were changed - Amir Khan recorded this video quite a while ago. The access to the method listed in the ALM Developer Tools is not user-specific; the user / role based access is done separately and not shown in the tool.
What exactly do you try to do? Do you want to create test runs via the REST API?
Regards,
Dirk
Hi Dirk, thank you for your reply.
Creating a run in status “planned” is not the problem.
I created a pipeline with Jenkins so I want to start an automated run. At the moment I have to press “run suit” in Octane to create the run and make things happen in Jenkins. I want to create a rest api tool to start run completely from Jenkins.
Amir Khan shows in the Video how it should look like but when the functionality is removed now then it is really sad…
best regards,
Alex
Hi Alex,
Could you perhaps just use the standard Jenkins features to run a pipeline periodically or triggered? The pipeline information should be available in Octane automatically. I assume you've read the online help regarding pipelines at https://admhelp.microfocus.com/octane/en/latest/Online/Content/UserGuide/articles_pipelines.htm and setup the CI/CD integration?
I am quite sure the functionality Amir used is not removed but maybe entities were renamed in the meantime or new functions introduced to do the same.
Regards,
Dirk