Failing to update ELM theme on RM apps using REST or HTTP calls
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
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jun 29 '22, 3:09 a.m.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
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
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jun 30 '22, 7:17 a.m.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.
sridevi k
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
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jul 05 '22, 9:45 a.m.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!