This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Set entity method to public

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

  • 0  

    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

  • 0 in reply to   

    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

  • 0   in reply to 

    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

  • 0 in reply to   

    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

  • 0   in reply to 

    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