Updated REST API  Topic is solved

Discussions relating to the REST API of Jiwa 7.

Updated REST API

Postby pricerc » Tue Apr 12, 2022 9:56 pm

When the document said find the XML file inside the ZIP file, I wasn't expecting this expedition...


2022-04-12 22_54_55-Window.png


:D
/Ryan

ERP Consultant,
Advanced ERP Limited, NZ
https://aerp.co.nz
User avatar
pricerc
Senpai
Senpai
 
Posts: 504
Joined: Mon Aug 10, 2009 12:22 pm
Location: Auckland, NZ
Topics Solved: 20

Re: Updated REST API

Postby Mike.Sheen » Wed Apr 13, 2022 10:58 am

pricerc wrote:When the document said find the XML file inside the ZIP file, I wasn't expecting this expedition...


Yeah, we know it's a rather silly situation, and we recognise we need to improve that.

We've debated having all the standard plugins deployed to the file system as XML files - so in a /plugins folder they could all be in there and service release installs could update those in there, and then it's easy and obvious to discover where the latest plugins are - we didn't design around this because service releases are not supposed to have such changes, but since then management have bent, broken and tied into a pretzel all the rules and so here we are.

We were actually fortunate that we did choose to store the REST API plugin in the source folder of the IIS package, so at least that plugin gets updated when installing service releases. That decision was made very early on in the REST API development days, and was not intended to be how we deploy updates at all.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756

Re: Updated REST API

Postby SBarnes » Wed Apr 13, 2022 2:47 pm

We've debated having all the standard plugins deployed to the file system as XML files - so in a /plugins folder they could all be in there and service release installs could update those in there, and then it's easy and obvious to discover where the latest plugins are


Sounds like a good idea, you already have the report cache that could act in a similar way in that you could update reports even though you would still have to refresh them into the database.
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Updated REST API  Topic is solved

Postby Mike.Sheen » Mon Jul 25, 2022 4:41 pm

Mike.Sheen wrote:We've debated having all the standard plugins deployed to the file system as XML files - so in a /plugins folder they could all be in there and service release installs could update those in there, and then it's easy and obvious to discover where the latest plugins are



This has been implemented in DEV-9340
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756


Return to REST API

Who is online

Users browsing this forum: No registered users and 2 guests