iip-ecosphere / platform

oktoflow AI-enabled IIoT/I4.0 platform
https://www.oktoflow.de/
Other
16 stars 5 forks source link

Simplify build process for examples #40

Closed eichelbe closed 2 years ago

eichelbe commented 2 years ago

already on the way :)

impl.impl/impl.model -> README.md -> platform handbook (Section 6.4)

eichelbe commented 2 years ago

examples.python, examples.KODEX, examples.rtsa done but need dependency revision @JimmyAppel

eichelbe commented 2 years ago

examples.vdw seems to be different/cause problems @AhmadAlamoush Jenkins does not run the code as regression test, because it is not allowed to contact VDW Umati (in discussion with Uwe/RZ). Thus, difficult to keep eye on. Bug #60 fixed.

eichelbe commented 2 years ago

impl.impl/impl.model? @AhmadAlamoush

eichelbe commented 2 years ago

Also Install (change handbook install and README.md accordingly), consider resources folder, synch with #22 to enable new authentication for broker @AhmadAlamoush

eichelbe commented 2 years ago

Further, can we have a Maven system property to define the name of the resources folder ("resources" vs. "resources.ipr") to switch on demand with "resources" as default, e.g., -Diip.resources=resources.ipr on the Maven command line @AhmadAlamoush

eichelbe commented 2 years ago

JFYI, upgraded hm22 build process to maven profiles @JimmyAppel

eichelbe commented 2 years ago

Question: Shall we stay in the POM files with "Example"/"EasyGen" for the profile names or - thinking about the service workshop - uniformly switch to "App"/"EasyGen"...

eichelbe commented 2 years ago

In some cases an explicit default profile may be helpful (must not be in all cases): https://stackoverflow.com/questions/11824328/default-build-profile-for-maven

AhmadAlamoush commented 2 years ago

examples.vdw seems to be different/cause problems @AhmadAlamoush Jenkins does not run the code as regression test, because it is not allowed to contact VDW Umati (in discussion with Uwe/RZ). Thus, difficult to keep eye on. Bug #60 fixed.

examples.vdw is completed

impl.impl/impl.model? @AhmadAlamoush

Completed

Also Install (change handbook install and README.md accordingly), consider resources folder, synch with #22 to enable new authentication for broker @AhmadAlamoush

Completed

AhmadAlamoush commented 2 years ago

Question: Shall we stay in the POM files with "Example"/"EasyGen" for the profile names or - thinking about the service workshop - uniformly switch to "App"/"EasyGen"...

Completed

AhmadAlamoush commented 2 years ago

Further, can we have a Maven system property to define the name of the resources folder ("resources" vs. "resources.ipr") to switch on demand with "resources" as default, e.g., -Diip.resources=resources.ipr on the Maven command line @AhmadAlamoush

Completed, I have updated the pom.xml file for examples.python, examples.KODEX, examples.rtsa, and examples.vdw to have a default value for iip.resources (which is resources) and to allow passing new value for iip.resources by adding (-Diip.resources="NewFolderName") to the command.

eichelbe commented 2 years ago

Cool. Did you mention that already in the README.md? Can you write a short paragraph for the platform handbook explaining the unified build commands and their options (such as -Diip.resources) - as a summary of Section 6.4 where you already updated the figure?

eichelbe commented 2 years ago

Seems that we then can close this issue :)

eichelbe commented 2 years ago

As discussed yesterday