It's all about the answers!

Ask a question

Failing to update ELM theme on RM apps using REST or HTTP calls


sridevi k (111) | asked Jun 29 '22, 12:26 a.m.
edited Jun 29 '22, 12:39 a.m.

 I am using the below urls to upload/activate/delete themes for ELM apps but it is failing for RM apps and working for EWM/ETM apps. Any idea of failure.


upload = https://xxxt3.rchland.ibm.com:16443/rm +'/_theming/save/' + themefile name
                session.post(upload, files={themefile: open(themefile, 'rb')})
active = https://xxx3.rchland.ibm.com:16443/rm +'/_theming/active/' + themefile name
               session.post(active)
delete = https://xxx3.rchland.ibm.com:16443/rm +'/_theming/’ + theme filename
               session.delete(delete)


Comments
Ralph Schoon commented Jun 29 '22, 3:09 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

This is most certainly  an internal API and it is not very likely that the forum can provide any insight. However, I think I speak for all forum members, that we are willing to help. This, however, requires the question to contain the information required. If you say "it is not working", the question lacks the basics. What does that mean. Is there an error? Different status codes?   


sridevi k commented Jun 30 '22, 6:19 a.m.

 Thank you Ralph for the help. There is no error in the rm log file and status code is returning as status 200 like other apps EWM/ETM but when verified on rm web it was not uploading or activating or deleting for rm apps. Please let me know if any info required further. This actually blocking automation of adding/deleting themes on mass repositories list. Thank you! 


Ralph Schoon commented Jun 30 '22, 7:17 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I do not know and can not provide further help. The only thing that comes into mind is, to authenticate against RM, you have to actually log in to JTS and not RM.


You can try to open a case with support, but the API you are using is very likely an internal one that is not meant to be used by anything than the Web UI, so it is possible that this gets rejected.


sridevi k commented Jul 05 '22, 8:57 a.m. | edited Jul 05 '22, 8:57 a.m.

 Thank you Ralph for the update. I also tested the authentication with JTS for RM apps, it did not help. As per your suggestion, I opened a case to understand from the product team why it is failing for RM and working for other EWM/ETM apps. Thank you!


Ralph Schoon commented Jul 05 '22, 9:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

As far as I know, guessing from the host name, your team should have good access to our organization. It would be nice if you share the outcome here. Thanks! 

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.