ant devop tasks/targets

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ant devop tasks/targets

Pierre Smits
Hi all,

Currently we have the various ant tasks to instantiate the OFBiz
environment, such as:

   - ./ant start
   - various ./ant load- commands.

However, we don't have specific (separate) DEVOPS commands to help
instantiation and checking of the OFBiz environment. I am thinking of:

   - a command to instantiate the database structrure, its tables and
   indexes (based on the OFBiz entity definitions)
   - a command to check the database structure against the OFBiz entity
   definitions
   - a command to update the database structure based on the OFBiz entity
   definitions

It seems to me that having these commands would help OFBiz system admins
and in a more general way help adoption.

What are your thoughts?

Best regards,


Pierre Smits

ORRTIZ.COM <http://www.orrtiz.com>
OFBiz based solutions & services

OFBiz Extensions Marketplace
http://oem.ofbizci.net/oci-2/
Reply | Threaded
Open this post in threaded view
|

Re: ant devop tasks/targets

Jacques Le Roux
Administrator
That sounds like a good idea to me

So we could have
     ant db-create
     ant db-check
    ant db-update

db-create could be based on <entity-data-reader name="none"/>
db-check on CheckDb.groovy
and db-update on db-create

Disclaimer: only thinking out loud to start the discussion :)

Jacques

Le 29/03/2016 12:16, Pierre Smits a écrit :

> Hi all,
>
> Currently we have the various ant tasks to instantiate the OFBiz
> environment, such as:
>
>     - ./ant start
>     - various ./ant load- commands.
>
> However, we don't have specific (separate) DEVOPS commands to help
> instantiation and checking of the OFBiz environment. I am thinking of:
>
>     - a command to instantiate the database structrure, its tables and
>     indexes (based on the OFBiz entity definitions)
>     - a command to check the database structure against the OFBiz entity
>     definitions
>     - a command to update the database structure based on the OFBiz entity
>     definitions
>
> It seems to me that having these commands would help OFBiz system admins
> and in a more general way help adoption.
>
> What are your thoughts?
>
> Best regards,
>
>
> Pierre Smits
>
> ORRTIZ.COM <http://www.orrtiz.com>
> OFBiz based solutions & services
>
> OFBiz Extensions Marketplace
> http://oem.ofbizci.net/oci-2/
>
Reply | Threaded
Open this post in threaded view
|

Re: ant devop tasks/targets

james yong
In reply to this post by Pierre Smits
Good idea.
+ 1 from me.

Pierre Smits wrote
Hi all,

Currently we have the various ant tasks to instantiate the OFBiz
environment, such as:

   - ./ant start
   - various ./ant load- commands.

However, we don't have specific (separate) DEVOPS commands to help
instantiation and checking of the OFBiz environment. I am thinking of:

   - a command to instantiate the database structrure, its tables and
   indexes (based on the OFBiz entity definitions)
   - a command to check the database structure against the OFBiz entity
   definitions
   - a command to update the database structure based on the OFBiz entity
   definitions

It seems to me that having these commands would help OFBiz system admins
and in a more general way help adoption.

What are your thoughts?

Best regards,


Pierre Smits

ORRTIZ.COM <http://www.orrtiz.com>
OFBiz based solutions & services

OFBiz Extensions Marketplace
http://oem.ofbizci.net/oci-2/