Girish Vasmatkar
1361c3cdaf
Improved: Updated code to bypass auth for services having auth=false
...
2. Implemented ServiceValidationFilter to return various HTTP responses based on request's context(OFBIZ-11328)
2020-09-26 14:30:47 +05:30
Suraj Khurana
364613e310
Improved: Minor Formatting changes only, removed some unused spaces.
2020-09-26 12:22:02 +05:30
James Yong
9c40c67e7a
Improved: Open FTL File from browser (OFBIZ-12018)
...
Add request map for ecommerce
2020-09-25 22:25:15 +08:00
holivier
66070a6bc1
Documented: ofbiz-plugins / Example, migration of docbook help files
...
to asciidoc
(OFBIZ-11587)
example.adoc and example_main.adoc created
Help link now point to the html file generated from the asciidoc files
In the global Help Docbook index tree, change Example help page to a
short page with a link to the new help
Remove docbook help files for example
HELP_EXAMPLE_docbook.xml has not been migrate because it's replace by
the existing documentation_guidelines.adoc
2020-09-24 18:09:10 +02:00
Jacques Le Roux
8ced392fde
Fixes few JavaDoc issues
2020-09-24 11:00:45 +02:00
Jacques Le Roux
a4fb6d22ee
Fixed: Add support to read and register resources defined in XML DSL(OFBIZ-11995)
...
Fixes a JavaDoc issue and while at it replaces
// TODO Auto-generated catch block
e.printStackTrace();
by
Debug.logError(e, MODULE);
2020-09-24 06:59:30 +02:00
Girish Vasmatkar
0d8a5f0275
Improved: Cleaned up OpenAPI Tags generation logic.
...
Fixed: Issue with OpenAPI generation if service being mapped to an operation does not exist(OFBIZ-11328)
2020-09-23 16:58:19 +05:30
Girish Vasmatkar
d2e34ebe10
Improved: Added Consumes for non-GET methods(OFBIZ-11328)
2020-09-23 15:55:11 +05:30
Girish Vasmatkar
78c5d25331
Revered changes do for implementing ordered map as those changes are not in framework yet(OFBIZ-11328)
2020-09-23 15:29:27 +05:30
Girish Vasmatkar
65969e5ebb
Improved: Added Content-Type and Accept headers in OpenAPI definitions generated (OFBIZ-11328)
2020-09-23 14:53:50 +05:30
Girish Vasmatkar
7f7eee6eb4
Improved: Added 422 and 400 errors to the OpenAPI(OFBIZ-11328)
2020-09-21 18:57:28 +05:30
Girish Vasmatkar
43d4c0bd98
Improved: Error handling for the response and added new error 422 (Unprocessable Entity) to handle validation errors(OFBIZ-11995)
2020-09-21 17:02:24 +05:30
Girish Vasmatkar
fc0a447a2e
Improved: Added response status for UNPROCESSABLE_ENTITY to conform to rfc4918(OFBIZ-11328)
2020-09-19 10:10:45 +05:30
Girish Vasmatkar
e31fd640fd
Improved: Added support for publishing/unpublishing a resource and conditional auth support
...
2.Implemented: Added schema file for REST XML DSL
2020-09-17 17:39:07 +05:30
Girish Vasmatkar
5bcb7af25a
Implemented: Added support for other HTTP methods for exportable services endpoints.
...
2. Added Messages class holding keys for the error and success messages. The keys will be referenced in UiLabels XMLs (OFBIZ-11995)
2020-09-17 15:32:33 +05:30
Girish Vasmatkar
7a92f0640a
Implemented: Added service definition and implementation to generate JWT auth token(OFBIZ-11995)
2020-09-17 11:41:07 +05:30
Girish Vasmatkar
6ac1f28491
Implemented: Add support to read and register resources defined in XML DSL(OFBIZ-11995)
2020-09-16 18:21:27 +05:30
Girish Vasmatkar
85e76a3997
Implemented: OpenAPI generation for resources configured using XML DSL(OFBIZ-11995)
2020-09-16 13:10:46 +05:30
Girish Vasmatkar
476b42a15d
Implemented: Added support to read Rest XML DSL definitions(OFBIZ-11995)
2020-09-15 20:07:20 +05:30
Jacques Le Roux
6ac7dc934a
Improved: Checkstyle: Variable name must match pattern (OFBIZ-11926)
...
We have a lot of "do nothing" in Java code. In case of catch we should at least
have Debug.logError(e, MODULE); and maybe an explanation in the comment.
2020-09-15 15:25:08 +02:00
Girish Vasmatkar
93f5b6f4fb
Improved: Corrected formatting(OFBIZ-11995)
2020-09-15 17:57:37 +05:30
Girish Vasmatkar
dabca1e416
Improved: Structural changes in the OpenAPI reader to allow for reading resources defined in XML schema(OFBIZ-11995)
2020-09-15 16:58:55 +05:30
Girish Vasmatkar
2a85d30fdd
Fixed: javadoc generation error fixed. Dereferenced 'Service' link (OFBIZ-11995)
2020-09-15 15:49:32 +05:30
girishvasmatkar
290f0b8af9
Model classes added corresponding to REST XMl schema ( #42 )
2020-09-15 13:35:50 +05:30
Jacques Le Roux
b1c98eee47
Improved: display/selection of unit of measure is broken/plugins (OFBIZ-11993)
...
Better code
Thanks: Alex
2020-09-14 07:57:26 +02:00
Suraj Khurana
dc20b79324
Improved: Added missing Javadocs for some methods, this is required for all classes which looks like designed for extension (can be subclassed).
...
(OFBIZ-11947)
Thanks Jacques for review.
2020-09-13 11:26:48 +05:30
Suraj Khurana
f21eda4542
Improved: Make data members of class as private and added accessor methods for the same, also corrected occurences of the same in plugins component.
...
(OFBIZ-11963)
Also made some related checkstyle code enhancements. Thanks Jacques for review.
2020-09-12 11:57:19 +05:30
holivier
94e77248e5
Documented: migrate help link to asciidoc user manual for Plugin
...
Scrum (OFBIZ-11587)
All files have been migrated to asciidoc format and help link now point
to the html file generated from the asciidoc files
In the global Help Docbook index tree, change Scrum help page to a
short page with a link to the new help
Remove docbook help files for Scrum
2020-09-10 19:02:24 +02:00
holivier
e314fc7c99
Documented: ofbiz-plugins / Scrum, migration of docbook help files
...
to asciidoc
(OFBIZ-11587)
scrum.adoc created and re-organize adoc files to have them similar to
menu name and menu items order
2020-09-10 16:48:10 +02:00
Girish Vasmatkar
42192da7d3
Improved: Added 400 for POST requests with no request body(OFBIZ-11328)
2020-09-10 10:36:44 +05:30
Girish Vasmatkar
964a5d075b
Fixed: Service In schema reference for GET services(OFBIZ-11328)
2020-09-07 23:45:08 +05:30
Girish Vasmatkar
72458a1ef2
Improved: Return 400 when 'inParams' query parameter is missing
...
Fixed: Corrected service request in schema location referrence in OpenAPI schema file(OFBIZ-11328).
2020-09-07 16:13:42 +05:30
Suraj Khurana
f47525331e
Merge branch 'trunk' of https://gitbox.apache.org/repos/asf/ofbiz-plugins into trunk
2020-09-04 12:28:11 +05:30
Suraj Khurana
26ddcc0c8e
Improved: Corrected line is longer than 150 characters checkstyle issues in plugins component.
...
(OFBIZ-11921)
Also fixed some other extra space and naming related checkstyle issues observed.
Thanks Jacques for review.
2020-09-04 12:27:09 +05:30
Girish Vasmatkar
310a2a58ef
Improved: Added default api responses for each service operation
...
2. Modified certain method signatures for better readability.
2020-09-02 10:42:41 +05:30
Akash Jain
6a7136ada4
Fixed: Error on removing scrum members (OFBIZ-7249)
...
Thanks, Anurag Chandak for report.
2020-09-01 15:11:34 +05:30
Suraj Khurana
079f34e8fd
Merge branch 'trunk' of https://gitbox.apache.org/repos/asf/ofbiz-plugins into trunk
2020-09-01 15:08:22 +05:30
Suraj Khurana
46e0857e90
Fixed: Typo in class name.
...
(OFBIZ-11978)
Thanks Alex Bodnaru for reporting and providing the patch.
2020-09-01 15:05:35 +05:30
Girish Vasmatkar
fb8cae5df4
Fixed: Issue with service out schema for nested attributes (OFBIZ-11328)
2020-08-31 23:32:40 +05:30
Suraj Khurana
6dfc3c19e7
Improved: Corrected some extra spaces and naming conventions related checkstyle issues.
...
(OFBIZ-11921)
Also fixed some access modifiers for some private class members. Thanks Jacques Le Roux for review.
2020-08-31 20:01:25 +05:30
Girish Vasmatkar
0f8ca8cbcc
Fixed: Removed unncessary check for userLogin claim
...
2. Modified code to return 401 instead of 403 in case JWT auth fails.
(OFBIZ-11328)
2020-08-31 16:51:08 +05:30
Girish Vasmatkar
3174bd92ec
Fixed: Issue with checking Authentication Scheme(OFBIZ-11328)
2020-08-31 16:23:29 +05:30
Jacques Le Roux
bf60a20d9d
Fixed: display/selection of unit of measure is broken/plugins (OFBIZ-11993)
...
Allows selection of uom for multiple products on the same web page
Thanks: Alex
2020-08-31 10:08:37 +02:00
Girish Vasmatkar
fabb323a53
Improved: Added Enum for HTTP Auth Schemes(OFBIZ-11328)
2020-08-31 11:28:10 +05:30
Akash Jain
3b9fbffc6d
Improved: Fix Literals comparisons with variable to avoid NPE (OFBIZ-11929)
...
Thanks, Devanshu Vyas for your contribution.
2020-08-30 17:22:44 +05:30
Jacques Le Roux
9892828d56
Fixed: multiflex css is linking to wrong location (OFBIZ-11977)
...
Thanks: Alex
2020-08-30 11:18:38 +02:00
Jacques Le Roux
b049b93b55
Improved: Update information in README.md files from removed pages in wiki
2020-08-29 17:37:33 +02:00
Jacques Le Roux
b9a3be3e1e
Reverted: "Improved: Have a readme in every component (OFBIZ-6243)"
...
This reverts commit 598cf6c27d .
An Apache URL is much easier to have (NO bad idea, does not show like the
camo.githubusercontent.com link does, cache control issue on ASF servers?)
2020-08-29 13:53:36 +02:00
Jacques Le Roux
598cf6c27d
Improved: Have a readme in every component (OFBIZ-6243)
...
An Apache URL is much easier to have
2020-08-29 13:48:57 +02:00
Jacques Le Roux
9bf5e044f7
Improved: Have a readme in every component (OFBIZ-6243)
...
Not sure why we have this problem (according to
https://docs.github.com/en/github/authenticating-to-github/about-anonymized-image-urls
could be to missing cache control in our site server)
As I was fed up not viewing the OFBIz logo anywhere, and mostly in GH,
but just in browser at https://ofbiz.apache.org/images/ofbiz_logo.png
and I noticed I was viewing it well locally at
https://github.com/apache/ofbiz-framework/tree/trunk/themes/rainbowstone
so decided to use this URL everywhere rather!
2020-08-29 13:36:23 +02:00