Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9350

Deprecate Mini Lang

    XMLWordPrintableJSON

    Details

    • Sprint:
      OFBiz Community Day (Feb 2020)

      Description

      According to the proposal thread in [1] we decided to deprecate mini lang.

      This issue tracks the next steps proposed in the aformentioned thread, namely:

      1. create a Wiki page for the documentation and description of the migration process and how mini lang will be replaced.

      2. prominently state in the Wiki that minilang will be deprecated, e.g. in [2]

      3. put deprecation tags in the corresponding code

      4. kindly ask contributors with open patches written in mini lang to replace them by Groovy code [3]

      5. start an initiative to replace existing mini lang code with Groovy code where applicable. This needs some more planning and discussion which parts we'll like to replace with Groovy code and which parts will better be replaced by some kind of DSL. A good starting point can be [4][5][6].

      [1] https://lists.apache.org/thread.html/253b41060a295b8ab68bc78763cc129fc74b712cf776f8716022097f@%3Cdev.ofbiz.apache.org%3E
      [2] https://cwiki.apache.org/confluence/display/OFBADMIN/Mini+Language+-+minilang+-+simple-method+-+Reference
      [3] does anyone know a way to batch comment Jira issues like it is possible in Redmine?
      [4] https://cwiki.apache.org/confluence/display/OFBIZ/Groovy+DSL+for+OFBiz+business+logic
      [5] https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
      [6] https://cwiki.apache.org/confluence/display/OFBADMIN/Coding+Conventions

        Attachments

          Issue Links

          1.
          Convert RateServices.xml mini-lang to groovyDSL Sub-task Closed Nicolas Malin  
          2.
          Convert AcctgAdminServices.xml mini lang to groovy Sub-task Closed Gil Portenseigne  
          3.
          Convert AgreementServices.xml mini-lang to groovyDSL Sub-task Closed Arun Patidar  
          4.
          Convert OrderServices.xml mini-lang to groovyDSL Sub-task Patch Available Gil Portenseigne  
          5.
          Convert BudgetServices.xml mini lang to groovy Sub-task Closed Nicolas Malin  
          6.
          Convert InvoiceServices.xml mini lang to groovy Sub-task Closed Nicolas Malin  
          7.
          Convert CatalogServices.xml mini lang to groovy Sub-task Closed Nicolas Malin  
          8.
          Convert CommonPermissionServices.xml mini lang to groovy Sub-task Closed Nicolas Malin  
          9.
          Convert CategoryContentServices.xml mini lang to groovy Sub-task Closed Michael Brohl  
          10.
          Convert CategoryServices.xml mini lang to groovy Sub-task Closed Nicolas Malin  
          11.
          Convert QuoteServices.xml mini lang to groovy Sub-task Closed Nicolas Malin  
          12.
          Convert DimensionServices.xml minilang to groovy Sub-task Closed Pierre Smits

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 10m
          13.
          Convert FactServices.xml minilang to groovy Sub-task Closed Michael Brohl  
          14.
          Convert CommunicationEventServices.xml mini lang to groovy Sub-task Closed Nicolas Malin  
          15.
          Convert ProductServices.xml mini lang to groovy Sub-task Closed Michael Brohl

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 10m
          16.
          Convert Thesaurus services in CommonServices.xml from mini lang to groovy Sub-task Closed Michael Brohl  
          17.
          Convert ContactMechServices.xml mini-lang to groovyDSL Sub-task Closed Nicolas Malin  
          18.
          Convert PartyContactMechServices.xml mini-lang to groovyDSL Sub-task Open Nicolas Malin  
          19.
          Convert PartyInvitationServices.xml mini-lang to groovyDSL Sub-task Closed Nicolas Malin  
          20.
          Convert PartyServices.xml mini-lang to groovyDSL Sub-task Closed Nicolas Malin  
          21.
          Convert party/LookupServices.xml mini-lang to groovyDSL Sub-task Closed Nicolas Malin  
          22.
          Convert setContentStatus service from mini-lang to groovy DSL Sub-task Patch Available Devanshu Vyas  
          23.
          Convert deactivateAllContentRoles service from mini-lang to groovy DSL Sub-task Patch Available Devanshu Vyas  
          24.
          Convert updateSingleContentPurpose service from mini-lang to groovy DSL Sub-task Patch Available Sourabh Punyani  
          25.
          Convert createTextAndUploadedContent service from mini-lang to groovy DSL Sub-task Closed Rohit Hukkeri  
          26.
          Convert findAssocContent service from mini-lang to groovy DSL Sub-task Patch Available Prakhar Kumar  
          27.
          Convert createEmailContent service from mini-lang to groovy DSL Sub-task Patch Available Rohit Hukkeri  
          28.
          Convert updateEmailContent service from mini-lang to groovy DSL Sub-task Patch Available Pawan Verma  
          29.
          Convert createDownloadContent service from mini-lang to groovy DSL Sub-task Patch Available Rahul Marjiwe  
          30.
          Convert updateDownloadContent service from mini-lang to groovy DSL Sub-task Patch Available Harman kaur Matharu  
          31.
          Convert createSimpleTextContent service from mini-lang to groovy DSL Sub-task In Progress vivek singh bisen  
          32.
          Convert updateSimpleTextContent service from mini-lang to groovy DSL Sub-task In Progress vivek singh bisen  
          33.
          Remove createTopic service (unused) Sub-task Closed Priya Sharma  
          34.
          Convert createContentFromDataResource service from mini-lang to groovy DSL Sub-task Patch Available Anushi Gupta  
          35.
          Convert createCommContentDataResource service from mini-lang to groovy DSL Sub-task Open Komal Dayle  
          36.
          Convert updateCommContentDataResource service from mini-lang to groovy DSL Sub-task Patch Available sourabh jain  
          37.
          Convert createCommEventContentAssoc service from mini-lang to groovy DSL Sub-task Patch Available Rushikesh Mawal  
          38.
          Convert getDataResource service from mini-lang to groovy DSL Sub-task Patch Available Kirti Arora  
          39.
          Convert getContentAndDataResource service from mini-lang to groovy DSL Sub-task Patch Available Ravi Lodhi  
          40.
          Convert createArticleContent service from mini-lang to groovy DSL Sub-task Patch Available Priya Sharma  
          41.
          Convert createMissingCategoryContentAltUrlInline service from mini-lang to groovy DSL Sub-task In Progress Anushi Gupta  
          42.
          Convert createMissingContentAltUrls service from mini-lang to groovy DSL Sub-task Patch Available Sourabh Punyani  
          43.
          Convert createContentAlternativeUrl service from mini-lang to groovy DSL Sub-task Patch Available Priya Sharma  
          44.
          Convert indexContentKeywords service from mini-lang to groovy DSL Sub-task Patch Available Aishwary Shrivastava  
          45.
          Convert deleteContentKeywords service from mini-lang to groovy DSL Sub-task Patch Available Yogesh Naroliya  
          46.
          Convert forceIndexContentKeywords service from mini-lang to groovy DSL Sub-task Patch Available sourabh jain  
          47.
          Convert getSubSubContentWithPermCheck service from mini-lang to groovy DSL Sub-task Closed Sourabh Punyani  
          48.
          Convert getSubContentWithPermCheck service from mini-lang to groovy DSL Sub-task Closed Priya Sharma  
          49.
          Convert ProductionRunServices.xml file from mini-lang to groovy DSL Sub-task Patch Available Yashwant Dhakad  
          50.
          Convert CommonServices.xml from mini lang to groovy Sub-task Closed Nicolas Malin  
          51.
          Convert AccountServices.xml from mini lang to groovy Sub-task Open Wiebke Pätzold  
          52.
          Convert PartyServices.xml mini-lang to groovy Sub-task Closed Sebastian Berg  
          53.
          Convert PartyPermissionServices.xml minilang to groovy Sub-task Closed Nicolas Malin

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 20m
          54.
          Convert ProductContentServices.xml mini lang to groovy Sub-task Closed Sebastian Berg  
          55.
          Convert ProductFeatureServices.xml mini lang to groovy Sub-task Closed Nicolas Malin  
          56.
          Convert OrderReturnService mini-lang to groovy Sub-task Patch Available Sebastian Berg  
          57.
          Convert FixedAssetMaintServices.xml to groovy Sub-task Open Rohit Koushal  
          58.
          ConvertFixedAssetMaintTests.xml to groovy Sub-task Open Rahul Marjiwe  
          59.
          Convert ContentPermissionServices.xml mini lang to groovy Sub-task In Progress Wiebke Pätzold  
          60.
          Convert ProductStoreServices.xml mini-lang to groovy Sub-task Patch Available Sebastian Berg  
          61.
          Convert OrderDeliveryServices.xml minilang to groovy Sub-task Patch Available Sebastian Berg  
          62.
          Convert ShipmentServices.xml from minilang to groovy Sub-task Patch Available Sebastian Berg

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 10m
          63.
          Convert ProductConfigItemContentServices.xml minilang to groovy Sub-task Patch Available Harutyun Farajyan

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 10m
          64.
          Convert ShipmentReceiptServices.xml mini lang to groovy Sub-task Open Wiebke Pätzold  
          65.
          Convert DataServices.xml minilang to groovy Sub-task In Progress Benjamin Jugl  
          66.
          Convert createPayment service from mini-lang to groovy DSL Sub-task Open Priya Sharma  
          67.
          Convert updatePayment service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          68.
          Convert createPaymentApplication service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          69.
          Convert setPaymentStatus service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          70.
          Convert quickSendPayment service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          71.
          Convert createPaymentAndApplication service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          72.
          Convert getInvoicePaymentInfoList service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          73.
          Convert getInvoicePaymentInfoListByDueDateOffset service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          74.
          Convert voidPayment service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          75.
          Convert getPaymentRunningTotal service from mini-lang to groovy DSL Sub-task Open Nitish Mishra  
          76.
          Convert cancelPaymentBatch service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          77.
          Convert createPaymentAndPaymentGroupForInvoices service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          78.
          Convert createPaymentAndApplicationForParty service from mini-lang to groovy DSL Sub-task Open Sourabh Punyani  
          79.
          Convert createFinAccoutnTransFromPayment service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          80.
          Convert createPaymentGroupAndMember service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          81.
          Convert cancelCheckRunPayments service from mini-lang to groovy DSL Sub-task Open Yogesh Naroliya  
          82.
          Convert getPayments service from mini-lang to groovy DSL Sub-task Patch Available Yogesh Naroliya  
          83.
          Convert getPaymentGroupReconciliationId service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          84.
          Convert checkAndCreateBatchForValidPayments service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          85.
          Convert massChangePaymentStatus service from mini-lang to groovy DSL Sub-task Patch Available Rushikesh Mawal  
          86.
          Convert createPaymentFromOrder service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          87.
          Convert createMatchingPaymentApplication service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          88.
          Convert createPaymentContent service from mini-lang to groovy DSL Sub-task Patch Available Sourabh Punyani  
          89.
          Convert updatePaymentContent service from mini-lang to groovy DSL Sub-task Patch Available Sourabh Punyani  
          90.
          Convert createInvoiceItemPayrol service from mini-lang to groovy DSL Sub-task Open Devanshu Vyas  
          91.
          Convert LeadServices.xml minilang to groovy Sub-task In Progress Sebastian Berg  

            Activity

              People

              • Assignee:
                mbrohl Michael Brohl
                Reporter:
                mbrohl Michael Brohl
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h