entities component and tenantcomponent

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

entities component and tenantcomponent

Pierre Smits
Hi all,

Can you please elaborate on how to use the entities 'Component' and
'TenantComponent'?

Regards,

Pierre
Reply | Threaded
Open this post in threaded view
|

Re: entities component and tenantcomponent

hans_bakker
These are the components belonging to a specific tenant only. When the
tenant data is loaded it will only load data from these components in
hot-deploy and not other components in hot-deploy.
So security of the other components is not loaded so other tenants will
not have access.

Regards,
Hans

On 04/23/2012 06:24 PM, Pierre Smits wrote:
> Hi all,
>
> Can you please elaborate on how to use the entities 'Component' and
> 'TenantComponent'?
>
> Regards,
>
> Pierre
>

Reply | Threaded
Open this post in threaded view
|

Fwd: entities component and tenantcomponent

Pierre Smits
Keeping it together for all developers in the community to read. I
accidentally replied Hans directly in stead of through the ML:


Pierre Smits
13:38 (36 minuten geleden)
aan Hans
Thanks Hans,

If I understand you correctly,

   1. I have to register all components there are
   2. and that if I want some components to be available to tenants I need
   to map those selected components from that entity to tenantId's in entity
   TenantComponent?


What about field 'RootLocation' in entity Component? Do I have to set it
manually? Or is it done automatically? Is it the file location relative to
OFBiz?

Regards,

Pierre



Op 23 april 2012 13:30 schreef Hans Bakker<[hidden email]> het
volgende:
Hans Bakker [hidden email]
13:59 (16 minuten geleden)
aan mij
only hot-deploy components.

if you only type in the domainname the system will redirect to the
'rootlocation'

Regards,
Hans
Pierre Smits
14:06 (9 minuten geleden)
aan Hans
Hans,

If you intend it to be for hot-deploy applications or components, how come
I see webtools as data in demo-trunk?

Webtools is a framework application and, according to your reasoning,
shouldn't be there. Am I correct?

See:
https://demo-trunk.ofbiz.apache.org/webtools/control/FindGeneric?entityName=Component

Regards,

Pierre

Op 23 april 2012 13:59 schreef Hans Bakker<[hidden email]> het
volgende:
Hans Bakker [hidden email]
14:11 (4 minuten geleden)
aan mij
Webtools is a developer option, so you could not make it available to your
tenants.....That is an implementation choice....by default it i showing
because it shows the power of the framework...a database admin function for
any type of database....pgadmin, mysql-admin all not required anymore....

Regards,
Hans
Reply | Threaded
Open this post in threaded view
|

Re: entities component and tenantcomponent

Pierre Smits
In reply to this post by hans_bakker
Hans, all,

My apologies, but telegramme-style communication is not my forté.

Re: webtools is a developer option.....

I can't agree on webtools being just a developers option. In a production
environment you wouldn't want developers to access anything part of that
setup, as it might disrupt operational business. It's more an admin tool.

Don't you agree?

Regards,

Pierre


Op 23 april 2012 14:11 schreef Hans Bakker
<[hidden email]>het volgende:

>  Webtools is a developer option, so you could not make it available to
> your tenants.....That is an implementation choice....by default it i
> showing because it shows the power of the framework...a database admin
> function for any type of database....pgadmin, mysql-admin all not required
> anymore....
>
> Regards,
> Hans
>
>
> On 04/23/2012 07:06 PM, Pierre Smits wrote:
>
> Hans,
>
>  If you intend it to be for hot-deploy applications or components, how
> come I see webtools as data in demo-trunk?
>
>  Webtools is a framework application and, according to your reasoning,
> shouldn't be there. Am I correct?
>
>  See:
> https://demo-trunk.ofbiz.apache.org/webtools/control/FindGeneric?entityName=Component
>
> Regards,
>
>  Pierre
>
> Op 23 april 2012 13:59 schreef Hans Bakker <[hidden email]>het volgende:
>
>>  only hot-deploy components.
>>
>> if you only type in the domainname the system will redirect to the
>> 'rootlocation'
>>
>> Regards,
>> Hans
>>
>>
>> On 04/23/2012 06:38 PM, Pierre Smits wrote:
>>
>> Thanks Hans,
>>
>>  If I understand you correctly,
>>
>>    1. I have to register all components there are
>>    2. and that if I want some components to be available to tenants I
>>    need to map those selected components from that entity to tenantId's in
>>    entity TenantComponent?
>>
>>
>>  What about field 'RootLocation' in entity Component? Do I have to set
>> it manually? Or is it done automatically? Is it the file location relative
>> to OFBiz?
>>
>>  Regards,
>>
>>  Pierre
>>
>>
>>
>> Op 23 april 2012 13:30 schreef Hans Bakker <[hidden email]
>> > het volgende:
>>
>>> These are the components belonging to a specific tenant only. When the
>>> tenant data is loaded it will only load data from these components in
>>> hot-deploy and not other components in hot-deploy.
>>> So security of the other components is not loaded so other tenants will
>>> not have access.
>>>
>>> Regards,
>>> Hans
>>>
>>>
>>> On 04/23/2012 06:24 PM, Pierre Smits wrote:
>>>
>>>> Hi all,
>>>>
>>>> Can you please elaborate on how to use the entities 'Component' and
>>>> 'TenantComponent'?
>>>>
>>>> Regards,
>>>>
>>>> Pierre
>>>>
>>>>
>>>
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: entities component and tenantcomponent

Scott Gray-2
By the way, this is really a user list discussion.  Generally if your question is along the lines of "How do I use..." or "What is the purpose of..." then it probably belongs on the user list.

Regards
Scott

On 24/04/2012, at 12:59 AM, Pierre Smits wrote:

> Hans, all,
>
> My apologies, but telegramme-style communication is not my forté.
>
> Re: webtools is a developer option.....
>
> I can't agree on webtools being just a developers option. In a production
> environment you wouldn't want developers to access anything part of that
> setup, as it might disrupt operational business. It's more an admin tool.
>
> Don't you agree?
>
> Regards,
>
> Pierre
>
>
> Op 23 april 2012 14:11 schreef Hans Bakker
> <[hidden email]>het volgende:
>
>> Webtools is a developer option, so you could not make it available to
>> your tenants.....That is an implementation choice....by default it i
>> showing because it shows the power of the framework...a database admin
>> function for any type of database....pgadmin, mysql-admin all not required
>> anymore....
>>
>> Regards,
>> Hans
>>
>>
>> On 04/23/2012 07:06 PM, Pierre Smits wrote:
>>
>> Hans,
>>
>> If you intend it to be for hot-deploy applications or components, how
>> come I see webtools as data in demo-trunk?
>>
>> Webtools is a framework application and, according to your reasoning,
>> shouldn't be there. Am I correct?
>>
>> See:
>> https://demo-trunk.ofbiz.apache.org/webtools/control/FindGeneric?entityName=Component
>>
>> Regards,
>>
>> Pierre
>>
>> Op 23 april 2012 13:59 schreef Hans Bakker <[hidden email]>het volgende:
>>
>>> only hot-deploy components.
>>>
>>> if you only type in the domainname the system will redirect to the
>>> 'rootlocation'
>>>
>>> Regards,
>>> Hans
>>>
>>>
>>> On 04/23/2012 06:38 PM, Pierre Smits wrote:
>>>
>>> Thanks Hans,
>>>
>>> If I understand you correctly,
>>>
>>>   1. I have to register all components there are
>>>   2. and that if I want some components to be available to tenants I
>>>   need to map those selected components from that entity to tenantId's in
>>>   entity TenantComponent?
>>>
>>>
>>> What about field 'RootLocation' in entity Component? Do I have to set
>>> it manually? Or is it done automatically? Is it the file location relative
>>> to OFBiz?
>>>
>>> Regards,
>>>
>>> Pierre
>>>
>>>
>>>
>>> Op 23 april 2012 13:30 schreef Hans Bakker <[hidden email]
>>>> het volgende:
>>>
>>>> These are the components belonging to a specific tenant only. When the
>>>> tenant data is loaded it will only load data from these components in
>>>> hot-deploy and not other components in hot-deploy.
>>>> So security of the other components is not loaded so other tenants will
>>>> not have access.
>>>>
>>>> Regards,
>>>> Hans
>>>>
>>>>
>>>> On 04/23/2012 06:24 PM, Pierre Smits wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> Can you please elaborate on how to use the entities 'Component' and
>>>>> 'TenantComponent'?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Pierre
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: entities component and tenantcomponent

Pierre Smits
I agree. My apologies for not having it started there.

Regards,

Pierre

Op 23 april 2012 15:07 schreef Scott Gray <[hidden email]> het
volgende:

> By the way, this is really a user list discussion.  Generally if your
> question is along the lines of "How do I use..." or "What is the purpose
> of..." then it probably belongs on the user list.
>
> Regards
> Scott
>
> On 24/04/2012, at 12:59 AM, Pierre Smits wrote:
>
> > Hans, all,
> >
> > My apologies, but telegramme-style communication is not my forté.
> >
> > Re: webtools is a developer option.....
> >
> > I can't agree on webtools being just a developers option. In a production
> > environment you wouldn't want developers to access anything part of that
> > setup, as it might disrupt operational business. It's more an admin tool.
> >
> > Don't you agree?
> >
> > Regards,
> >
> > Pierre
> >
> >
> > Op 23 april 2012 14:11 schreef Hans Bakker
> > <[hidden email]>het volgende:
> >
> >> Webtools is a developer option, so you could not make it available to
> >> your tenants.....That is an implementation choice....by default it i
> >> showing because it shows the power of the framework...a database admin
> >> function for any type of database....pgadmin, mysql-admin all not
> required
> >> anymore....
> >>
> >> Regards,
> >> Hans
> >>
> >>
> >> On 04/23/2012 07:06 PM, Pierre Smits wrote:
> >>
> >> Hans,
> >>
> >> If you intend it to be for hot-deploy applications or components, how
> >> come I see webtools as data in demo-trunk?
> >>
> >> Webtools is a framework application and, according to your reasoning,
> >> shouldn't be there. Am I correct?
> >>
> >> See:
> >>
> https://demo-trunk.ofbiz.apache.org/webtools/control/FindGeneric?entityName=Component
> >>
> >> Regards,
> >>
> >> Pierre
> >>
> >> Op 23 april 2012 13:59 schreef Hans Bakker <
> [hidden email]>het volgende:
> >>
> >>> only hot-deploy components.
> >>>
> >>> if you only type in the domainname the system will redirect to the
> >>> 'rootlocation'
> >>>
> >>> Regards,
> >>> Hans
> >>>
> >>>
> >>> On 04/23/2012 06:38 PM, Pierre Smits wrote:
> >>>
> >>> Thanks Hans,
> >>>
> >>> If I understand you correctly,
> >>>
> >>>   1. I have to register all components there are
> >>>   2. and that if I want some components to be available to tenants I
> >>>   need to map those selected components from that entity to tenantId's
> in
> >>>   entity TenantComponent?
> >>>
> >>>
> >>> What about field 'RootLocation' in entity Component? Do I have to set
> >>> it manually? Or is it done automatically? Is it the file location
> relative
> >>> to OFBiz?
> >>>
> >>> Regards,
> >>>
> >>> Pierre
> >>>
> >>>
> >>>
> >>> Op 23 april 2012 13:30 schreef Hans Bakker <
> [hidden email]
> >>>> het volgende:
> >>>
> >>>> These are the components belonging to a specific tenant only. When the
> >>>> tenant data is loaded it will only load data from these components in
> >>>> hot-deploy and not other components in hot-deploy.
> >>>> So security of the other components is not loaded so other tenants
> will
> >>>> not have access.
> >>>>
> >>>> Regards,
> >>>> Hans
> >>>>
> >>>>
> >>>> On 04/23/2012 06:24 PM, Pierre Smits wrote:
> >>>>
> >>>>> Hi all,
> >>>>>
> >>>>> Can you please elaborate on how to use the entities 'Component' and
> >>>>> 'TenantComponent'?
> >>>>>
> >>>>> Regards,
> >>>>>
> >>>>> Pierre
> >>>>>
> >>>>>
> >>>>
> >>>
> >>>
> >>
> >>
>
>