Re: I'm working on an OFBiz helm chart for kubernetes

2021-11-28 Thread Pierre Smits
Hi Ioan,

Thanks for the reply.

I know this what you stated about Kubernetes and Docker images. But that is
not about the point I was asking about. My apologies if it didn't trigger
the right bells.

You talked about not having a clear way of loading data (I presume seed,
and maybe seed-ext) into the database of an OFBiz implementation (either in
a Docker environment, or a Kubernetes setup, on prem or off prem), and this
is what I am driving at:

   1. An OFBiz implementation with Apache Derby (whatever the
   environment) s not suitable for production. It is suitable for development.
   Every user, like me, doesn't use OFBiz in combination with Derby as
   production environment. It can be used for testing (SIT, UAT), but as you
   say, loading data into the database can be a problem with given means for
   Derby.;
   2. An OFBiz implementation with a production grade rdbms underneath is
   suitable for production. And it is suitable for testing. Most
   implementation will have the OFBiz implementation not on the same as the
   rdbms is.

In both cases, loading of data into the underlying rdbms is an issue
solvable. in the first case, we have scripts for that available. In the
second case, devops will have their ways to load data into the rdbms
directly (with sql scripts) before firing up (running OFBiz).

Met vriendelijke groet,

Pierre Smits
*Proud* *contributor** of* Apache OFBiz  since
2008 (without privileges)
Proud contributor to the ASF since 2006

*Apache Directory , PMC Member*


On Mon, Nov 29, 2021 at 1:39 AM Eugen Stan  wrote:

> Hello Alexis, Pierre,
>
> Alexis: if you have any questions or a specific interest, et me know on
> ofbiz slack channel, ask on email or open an issue on the chart repository.
>
> What are your plans for this?
> What are your interests?
> Are you currently running ofbiz in a dev/prod environment?
>
>
> Pierre, see my reply bellow:
>
> On 28.11.2021 11:15, Pierre Smits wrote:
> > Hi Ioan,
> >
> > Would you say that OFBiz in Kubernetes is more geared towards a
> production
> > environment, and OFBiz in Docker is more geared towards a development
> > environment?
> >
>
> kubernetes will use the same docker image IMO so depends on your setup
> and preference.
> Kubernetes is backed up by major cloud providers (you get hosting
> offerings) and not so much for docker clusters (beyond one server).
>
> This is of course debatable, and in the end left to the end user.
>
> Hope this helps,
> --
> Eugen Stan
>
> +40770 941 271  / https://www.netdava.com


Re: I'm working on an OFBiz helm chart for kubernetes

2021-11-28 Thread Eugen Stan

Hello Alexis, Pierre,

Alexis: if you have any questions or a specific interest, et me know on 
ofbiz slack channel, ask on email or open an issue on the chart repository.


What are your plans for this?
What are your interests?
Are you currently running ofbiz in a dev/prod environment?


Pierre, see my reply bellow:

On 28.11.2021 11:15, Pierre Smits wrote:

Hi Ioan,

Would you say that OFBiz in Kubernetes is more geared towards a production
environment, and OFBiz in Docker is more geared towards a development
environment?



kubernetes will use the same docker image IMO so depends on your setup 
and preference.
Kubernetes is backed up by major cloud providers (you get hosting 
offerings) and not so much for docker clusters (beyond one server).


This is of course debatable, and in the end left to the end user.

Hope this helps,
--
Eugen Stan

+40770 941 271  / https://www.netdava.combegin:vcard
fn:Eugen Stan
n:Stan;Eugen
email;internet:eugen.s...@netdava.com
tel;cell:+40720898747
x-mozilla-html:FALSE
url:https://www.netdava.com
version:2.1
end:vcard



Re: Logical dependency tree for ofbiz components OFBIZ-12309

2021-11-28 Thread Eugen Stan

Hi,

I think I made some progress while reverse engineering how ofbiz is 
built and I decided to share this so on the issue 
https://issues.apache.org/jira/browse/OFBIZ-3500


My train of thought is to split the current setup first into 4 static 
gradle sub-projects:

* framework
* application
* themes
* plugins - we should add plugins dynamically first

Each sub-project should have it's own dependencies {}, source-sets {} etc.

We can then depend these sub-projects in the main project.

Benefits we get from this change:
* we get closer to publish ofbiz parts as libraries .
* we get closer to smaller components - which are easier to maintain
* we get better dependency management - and closer into splitting the 
ofbiz monolith into smaller services



Please let me know how you feel about this.

--
Eugen Stan

+40770 941 271  / https://www.netdava.combegin:vcard
fn:Eugen Stan
n:Stan;Eugen
email;internet:eugen.s...@netdava.com
tel;cell:+40720898747
x-mozilla-html:FALSE
url:https://www.netdava.com
version:2.1
end:vcard



Re: I'm working on an OFBiz helm chart for kubernetes

2021-11-28 Thread Pierre Smits
Hi Ioan,

Would you say that OFBiz in Kubernetes is more geared towards a production
environment, and OFBiz in Docker is more geared towards a development
environment?

Met vriendelijke groet,

Pierre Smits
*Proud* *contributor** of* Apache OFBiz  since
2008 (without privileges)
Proud contributor to the ASF since 2006

*Apache Directory , PMC Member*


On Fri, Nov 26, 2021 at 8:05 PM Eugen Stan  wrote:

> I made some small updates to the chart and it's now
> I managed to publish the chart
>
> https://github.com/ieugen/charts
>
>
> Instalation details are on the ofbiz chart page:
> https://github.com/ieugen/charts/tree/main/charts/ofbiz
>
> Right now I can use the chart + custom valus to start ofbiz in
> kubernetes but I don't have a clear way to load data into it.
>
> I'll open another thread about this if I don't find something online first.
>
>
> I'll add more examples on how to use it since right now it might not be
> that obvious, but it works for me.
>
> Let me know if you need help with it or if you would like to be involved
> with this.
>
> --
> Eugen Stan
>
> +40770 941 271  / https://www.netdava.com