Bug 17190

Summary: Mark REST API dependencies as mandatory in PerlDependencies.pm
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: REST APIAssignee: Alex Buckley <alexbuckley>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P5 - low CC: alexbuckley, gmcharlt, jonathan.druart, kyle, mtj, veron
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 14868    
Bug Blocks:    
Attachments: Bug 17190 - Marked REST API as mandatory (require = 1) in PerlDependencies.pm
Bug 17190 - Marked REST API as mandatory (require = 1) in PerlDependencies.pm
Bug 17190 - Marked REST API as mandatory (require = 1) in PerlDependencies.pm

Description Katrin Fischer 2016-08-24 19:44:49 UTC
A bug to not forget this when making the REST API mandatory by using it for features in the GUI.
Comment 1 Alex Buckley 2017-04-01 03:34:24 UTC
Created attachment 61766 [details] [review]
Bug 17190 - Marked REST API as mandatory (require = 1) in PerlDependencies.pm
Comment 2 Alex Buckley 2017-04-01 03:40:41 UTC
Hi Katrin
I am assuming the changes you requested in this bug report were covered by the two minor changes I made in this patch.

Test plan:
1. In your terminal view C4/Installer/PerlDependencies.pm and notice that the Mojolicious and swagger2 dependencies which use REST API are optionally required (i.e. have 'required' => '0')

2. Apply this patch

3. View C4/Installer/PerlDependencies.pm again and notice that Mojolicious and swagger2 now have mandatory dependency on REST API (i.e. 'require' => '1')
Comment 3 Marc Véron 2017-04-02 17:58:59 UTC
Created attachment 61772 [details] [review]
Bug 17190 - Marked REST API as mandatory (require = 1) in PerlDependencies.pm

For testing I went in Staff client to Home > About Koha > tab  Perl modules
and verified that both Mojolicious (6.0) and Swagger2 (0.59) are marked
as mandatory.
Signed-off-by: Marc Véron <veron@veron.ch>
Comment 4 Katrin Fischer 2017-05-01 12:32:09 UTC
Thx Alex and Marc!
Comment 5 Nick Clemens 2017-05-02 10:08:20 UTC
Created attachment 62946 [details] [review]
Bug 17190 - Marked REST API as mandatory (require = 1) in PerlDependencies.pm

For testing I went in Staff client to Home > About Koha > tab  Perl modules
and verified that both Mojolicious (6.0) and Swagger2 (0.59) are marked
as mandatory.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Comment 6 Kyle M Hall 2017-05-08 13:06:38 UTC
Pushed to master for 17.05, thanks Alex!
Comment 7 Katrin Fischer 2017-05-14 09:19:39 UTC
This patch has been pushed to 16.11.x and will be in 16.11.08.
Comment 8 Mason James 2017-05-24 02:24:49 UTC
Blocked by Enhancement, skipping for 16.05.x