Apache OFBiz News September 2020

Welcome to our regular monthly round-up of OFBiz news. This month
we have news about the OMS & B2B discussions, REST sessions, and new PMC Members along with our usual list of features, improvements, and
Statistics.

New PMC Members

The OFBiz PMC has invited Mridul Pathak, and Swapnil Shah to become new members of the committee and we are glad to announce that they have accepted the nomination. Please join us in welcoming and congratulating them for their new role on the project, and also thanking them for all their contributions.

OFBiz as OMS

The OFBiz community is discussing where Apache
OFBiz stands as an Omnichannel Order Management System. As the
businesses are evolving they are looking for cloud-native,
cost-effective specialized solutions, and positioning OFBiz in that
space can help a wide user community.
The community had the initial discussion and also defined a schedule:

Here is the link to the initial discussion:
https://youtu.be/37E777O7050

Here is the link to the playlist for all the discussions:
https://www.youtube.com/playlist?list=PLobIkeUbRXqe7YKSOdrXTrbRlCa7xvyGe

Here is the complete schedule:
29th September 2020 Real-time inventory visibility

6th October 2020 Order routing to a facility for fulfilment

13th October 2020 Order splitting of available items for faster fulfilment

20th October 2020 Fulfilment application to be used at Stores(BOSS - Buy Online Ship-to-Store)

27th October 2020 Store inventory management

3rd November 2020 Integrations with applications like BOPIS(Buy Online
and Pick in Store), BORIS(Buy Online Return in Store), and Endless
Aisle.

10th November 2020 Preorder and Backorder Management

If
you want to to be part of this discussion and share your experiences, join the conversation
https://s.apache.org/nb9aj

Thanks Pranay Pandey for initiating it and to everyone who contributed to it.

B2B commerce with Apache OFBiz

The OFBiz community is
discussing the user experiences while implementing B2B commerce with
Apache OFBiz. The community already had the first discussion on the
Basics of B2B Commerce and its difference with B2C commerce.

Here is the link to the first discussion:
https://youtu.be/ezSanR4lZJc

If
you want to be part of this discussion and share your experiences, join the conversation
https://s.apache.org/85qnh


Thanks Pritam Kute for initiating it and to everyone who contributed to it.

REST Implementation Sessions

Girish Vasmatkar has recently contributed a new REST plugin to the Apache OFBiz. Girish will be sharing insights about the implementation with the community through various sessions.

Here is the link to the plugin:
https://github.com/apache/ofbiz-plugins/tree/trunk/ofbiz-rest-impl

Here is the link to the playlist with the first session:
https://www.youtube.com/watch?v=vvVMwQP0O9s&list=PLobIkeUbRXqfu9iTaq7zz7e71bUBXEfAd

If
you want to be part of these sessions, join the conversation
https://s.apache.org/ef6au

Thanks Girish Vasmatkar for this valuable contribution to the community.

OFBiz Statistics

Apache Kibble tracks some Apache OFBiz community statistics on its
demo instance, so we have highlighted a few of our stats for the last
month:

  • JIRA Issue Tracker: 40 issues were opened and 24 issues were closed ( 7 different people helped to close these issues)
  • Code Change and Commit Activity:
    • Framework: 71 commits to the code base that changed 8,050 lines of code ( 7 committers were active)
    • Plugins: 44 commits to the code base that changed 6,055 lines of code ( 7 committers were active)
  • Mailing Lists:
    • Dev: 165 emails sent and 34 topics discussed (41 different people)
    • User: 125 emails sent and 33 topics discussed (42 different people)

New features and improvements

Functional enhancements and improvements as well as updates of third party libraries and source code refactoring:

Framework

  • Removes ProductStoreWorker dependencies on ecommerce email screen forms (OFBIZ-9419)
  • Allows logging to be disabled for getJs request (OFBIZ-11980)
  • Moves page-specific script links to html template (OFBIZ-11799)
  • Adds product to purchase order auto assigned PRODUCT_ORDER_ITEM (OFBIZ-9339)
  • Corrects line is longer than 150 characters checkstyle issues in applications component. Also fixes some other extra space and naming related checkstyle issues (OFBIZ-11921)
  • Corrects line is longer than 150 characters checkstyle issues in framework component. Also fixes some other extra space and naming related checkstyle issues (OFBIZ-11921)
  • Updates tasks.checkstyleMain.maxErrors to 751 ~(-1250) (GitHub Link)
  • Adds missing ASL2 header (GitHub Link)
  • Improves Well-formed html in ftl template (OFBIZ-11996)
  • Allows to accept CDATA (OFBIZ-7004)
  • Improves: Refactor ThemeFactory.java (GitHub Link)
  • Makes data members of class as private and adds accessor methods for the same, also corrected occurences of the same in framework component (OFBIZ-11963)
  • Makes data members of class as private and adds accessor methods for the same, also corrected occurences of the same in applications component (OFBIZ-11963)
  • Updates tasks.checkstyleMain.maxErrors to 590 ~(-160) (GitHub Link)
  • Shows border and file name for content rendered from ftl (OFBIZ-12002)
  • Adds missing Javadocs for remaining methods in framework component, this is required for all classes which looks like designed for extension (can be subclassed) (OFBIZ-11947)
  • Adds missing Javadocs for remaining methods in applications component, this is required for all classes which looks like designed for extension (can be subclassed) (OFBIZ-11947)
  • Updates tasks.checkstyleMain.maxErrors to 545 ~(-45) (GitHub Link)
  • Removes trailing space (GitHub Link)
  • Improves checkstyle: Variable name must match pattern (OFBIZ-11926)
  • Improves Demo Data in conflict with Entity Unique Index when loading data during creation (OFBIZ-11998)
  • Converts ProductStoreServices.xml file from mini-lang to groovy DSL (OFBIZ-11449)
  • Removes formatBoundaryComment function in HtmlWidgetRenderer class (OFBIZ-12015)
  • Improves multi-block attribute for html-template tag (OFBIZ-11686)
  • Improves open FTL File from browser (OFBIZ-12018)
  • Improves: fixes the executionpolicy for last update of Windows 10 (GitHub Link)
  • Corrects some spacing issues in code, where there are extra white spaces, this will fix some checkstyle issues in framework component (OFBIZ-12022)
  • Corrects some spacing issues in code, where there are extra white spaces, this will fix some checkstyle issues in applications component (OFBIZ-12022)
  • Updates tasks.checkstyleMain.maxErrors to 503 ~(-42) (GitHub Link)
  • Improves handle case of partial amount available for return in adjustment in OrderReadHelper.getAvailableOrderHeaderAdjustments method (OFBIZ-11185)

Plugins

  • Adds default api responses for each service operation 2. Modified certain method signatures for better readability (GitHub Link)
  • Corrects line is longer than 150 characters checkstyle issues in plugins component (OFBIZ-11921)
  • Returns 400 when 'inParams' query parameter is missing. Corrects service request in schema location referrence in OpenAPI schema file (OFBIZ-11328).
  • Adds 400 for POST requests with no request body (OFBIZ-11328)
  • Makes data members of class as private and adds accessor methods for the same, also corrects occurences of the same in plugins component (OFBIZ-11963)
  • Adds missing Javadocs for some methods, this is required for all classes which looks like designed for extension (can be subclassed) (OFBIZ-11947)
  • Improves display/selection of unit of measure is broken/plugins (OFBIZ-11993)
  • Model classes adds corresponding to REST XMl schema (#42) (GitHub Link)
  • Structural changes in the OpenAPI reader to allow for reading resources defined in XML schema (OFBIZ-11995)
  • Corrects formatting (OFBIZ-11995)
  • Improves checkstyle: Variable name must match pattern (OFBIZ-11926)
  • Adds support to read Rest XML DSL definitions (OFBIZ-11995)
  • OpenAPI generation for resources configured using XML DSL (OFBIZ-11995)
  • Adds support to read and register resources defined in XML DSL (OFBIZ-11995)
  • Adds service definition and implementation to generate JWT auth token (OFBIZ-11995)
  • Adds support for other HTTP methods for exportable services endpoints. 2. Adds Messages class holding keys for the error and success messages. The keys will be referenced in UiLabels XMLs (OFBIZ-11995)
  • Adds support for publishing/unpublishing a resource and conditional auth support 2.Implements: Adds schema file for REST XML DSL (GitHub Link)
  • Adds response status for UNPROCESSABLE_ENTITY to conform to rfc4918 (OFBIZ-11328)
  • Improves error handling for the response and adds new error 422 (Unprocessable Entity) to handle validation errors (OFBIZ-11995)
  • Adds 422 and 400 errors to the OpenAPI (OFBIZ-11328)
  • Adds Content-Type and accept headers in OpenAPI definitions generated (OFBIZ-11328)
  • Reverts changes do for implementing ordered map as those changes are not in framework yet (OFBIZ-11328)
  • Adds consumes for non-GET methods (OFBIZ-11328)
  • Cleans up OpenAPI Tags generation logic. Fixes: Issue with OpenAPI generation if service being mapped to an operation does not exist (OFBIZ-11328)
  • Improves open FTL File from browser (OFBIZ-12018)
  • Minor Formatting changes only, removes some unused spaces (GitHub Link)
  • Updates code to bypass auth for services having auth=false 2. Implements ServiceValidationFilter to return various HTTP responses based on request's context (OFBIZ-11328)

Bugfixes

Functional and technical bugfixes:

Framework

  • Fixes: Display/functionality improvement in findParty of OOTB regarding classification group (OFBIZ-10302)
  • Fixes: display/selection of unit of measure is broken (OFBIZ-11955)
  • Fixes link address correction on EditAgreement and EditAgreementItem documentation (GitHub Link)
  • Fixes error while decoding url parameters with percent character (OFBIZ-12014)
  • Fixes issue in OpenAPI generation due to duplicate ModelParam in the IN model param list. Adds a BinaryOperarion function to account for duplicates (OFBIZ-11328)
  • Fixes incorrect data issue for InvoiceItemTypeMap and ReturnItemTypeMap (OFBIZ-11971)

Plugins

  • Fixes typo in class name (OFBIZ-11978)
  • Fixes error on removing scrum members (OFBIZ-7249)
  • Fixes: Service In schema reference for GET services (OFBIZ-11328)
  • Fixes javadoc generation error. Dereferenced 'Service' link (OFBIZ-11995)
  • Fixes: Adds support to read and register resources defined in XML DSL (OFBIZ-11995)
  • Fixes few JavaDoc issues (GitHub Link)

Documentation

Framework

  • Framework, migration of all docbook files to asciidoc (OFBIZ-11587)
  • Fixes a JavaDoc issue (GitHub Link)
  • Provides migration to help system using asciidoc files (OFBIZ-11587)

Plugins

  • Scrum, migration of docbook help files to asciidoc (OFBIZ-11587)
  • Migrates help link to asciidoc user manual for Plugin Scrum (OFBIZ-11587)
  • Example, migration of docbook help files to asciidoc (OFBIZ-11587)