Strolch is a parameterized framework for use on servers and IoT
Go to file
Robert von Burg 30ad0fcaa8 [New] Added new generic report creator
Create a Report as follows:

<Resource Id="stockReport" Name="Stock Report" Type="Report">

  <ParameterBag Id="parameters" Name="parameters" Type="Parameters">
    <Parameter Id="objectType" Name="Object Type" Type="String"
Interpretation="Resource-Ref" Uom="Slot" Value="Slot" />
  </ParameterBag>

  <ParameterBag Id="columns" Name="Display Columns" Type="Display">
    <Parameter Id="location" Name="Location" Type="String"
Interpretation="Resource-Ref" Uom="Location" Value="$name" />
    <Parameter Id="storage" Name="Storage" Type="String"
Interpretation="Resource-Ref" Uom="Storage" Value="$name" />
    <Parameter Id="section" Name="Section" Type="String"
Interpretation="Resource-Ref" Uom="Section" Value="$name" />
    <Parameter Id="slot" Name="Slot" Type="String"
Interpretation="Resource-Ref" Uom="Slot" Value="$name" />
    <Parameter Id="product" Name="Product" Type="String"
Interpretation="Resource-Ref" Uom="Product" Value="$name" />
    <Parameter Id="quantity" Name="Quantity" Type="String"
Interpretation="Resource-Ref" Uom="Slot"
Value="Bags/parameters/quantity" />
    <Parameter Id="maxQuantity" Name="Quantity" Type="String"
Interpretation="Resource-Ref" Uom="Slot"
Value="Bags/parameters/maxQuantity" />
  </ParameterBag>

  <ParameterBag Id="joins" Name="Joins" Type="Joins">
    <Parameter Id="Product" Name="Product" Type="String"
Interpretation="Resource-Ref" Uom="Product" Value="Slot" />
    <Parameter Id="Section" Name="Section" Type="String"
Interpretation="Resource-Ref" Uom="Section" Value="Slot" />
    <Parameter Id="Storage" Name="Storage" Type="String"
Interpretation="Resource-Ref" Uom="Storage" Value="Section" />
    <Parameter Id="Location" Name="Location" Type="String"
Interpretation="Resource-Ref" Uom="Location" Value="Storage" />
  </ParameterBag>

</Resource>

This creates a report for objects of type Slot, where a Join is done on
multiple objects:
  Slot
    -> Product
    -> Section
         -> Storage
               -> Location

Thus the columns can then be fetched from different joing objects. The
joing is done by searching for a Parameter on the joined object on the
ParameterBag "relations". See the example XML on how this is done.

Or ask eitch@eitchnet.ch to write a proper documentation =))

Filtering is missing, and will be added later
2017-03-20 19:27:59 +01:00
dev [Project] Minor fix in codetemplates.xml 2017-03-12 14:22:06 +01:00
li.strolch.agent [New] Added StrolchElementQuery.internal() 2017-03-01 01:37:55 +01:00
li.strolch.bom [Project] Set new version 1.5.0-SNAPSHOT 2016-11-03 12:07:38 +01:00
li.strolch.model [Minor] Wrapping exception in FromFlatJsonVisitor 2017-03-14 18:48:42 +01:00
li.strolch.performancetest [New] Added transient perf test 2017-02-01 18:56:43 +01:00
li.strolch.persistence.postgresql [Major] Removed many visitors and implemented proper visitor pattern... 2017-03-02 16:52:50 +01:00
li.strolch.persistence.xml [Major] Refactored SystemAction in privileges 2016-09-29 12:26:27 +02:00
li.strolch.planningwebapp [Project] Skipping deployment of demo/test apps to Central 2017-01-18 10:05:26 +01:00
li.strolch.privilege [Fix broken tests] 2017-03-09 11:21:11 +01:00
li.strolch.rest [Minor] Don't log exceptions if user fails to auth 2017-03-09 11:07:39 +01:00
li.strolch.service [New] Added new generic report creator 2017-03-20 19:27:59 +01:00
li.strolch.testbase [Minor] Added RuntimeMock.mockRuntime(String, String) 2017-03-20 19:24:03 +01:00
li.strolch.tutorialapp [Project] Skipping deployment of demo/test apps to Central 2017-01-18 10:05:26 +01:00
li.strolch.tutorialwebapp [Project] Skipping deployment of demo/test apps to Central 2017-01-18 10:05:26 +01:00
li.strolch.utils [New] SmtpMailer now understands whitelists for override 2017-03-16 13:45:30 +01:00
li.strolch.website [Project] Skipping deployment of demo/test apps to Central 2017-01-18 10:05:26 +01:00
li.strolch.xmlpers [Project] Set new version 1.5.0-SNAPSHOT 2016-11-03 12:07:38 +01:00
strolch_minimal [Project] Skipping deployment of demo/test apps to Central 2017-01-18 10:05:26 +01:00
strolch_minimal_rest [Project] Skipping deployment of demo/test apps to Central 2017-01-18 10:05:26 +01:00
.gitignore [Project] Ignore dependencies folder 2016-11-14 09:50:19 +01:00
LICENSE [Project] added LICENSE and README.md 2014-09-16 09:29:42 +02:00
README.md Added Coverity badge 2016-11-08 11:19:40 +01:00
createBundle.sh [Minor] Don't fail deploy if directory already exists 2016-07-07 14:35:18 +02:00
deploy.sh [Project] naje deploy.sh executable 2016-11-03 09:27:16 +01:00
hotfix.sh [Project] allow creating hotfix from any branch 2017-01-23 17:37:22 +01:00
pom.xml [Project] Updated to petit-parser 2.0.3 2017-03-07 09:49:56 +01:00
release.sh [Project] added release scripts 2016-10-24 10:48:35 +02:00
setVersion.sh [Project] Cleaned up build scripts 2016-07-05 09:50:54 +02:00

README.md

Strolch

Build Status Coverity Scan Build Status

The main repository which contains all of Strolch.

Strolch consists of the following modules:

  • li.strolch.utils
  • li.strolch.privilege
  • li.strolch.agent
  • li.strolch.model
  • li.strolch.persistence.postgresql
  • li.strolch.persistence.xml
  • li.strolch.rest
  • li.strolch.service
  • li.strolch.testbase

With the following test applications:

  • li.strolch.tutorialapp
  • li.strolch.tutorialwebapp
  • li.strolch.planningwebapp
  • strolch_minimal
  • strolch_minimal_rest

And of course the website itself:

  • li.strolch.website

Find more to Strolch at our website: http://strolch.li