Re: Apache Isis Demo App

2018-05-11 Thread Bilgin Ibryam
hi Andi,

I gave it a go and and all the docker/isis stuff worked smoothly.
Wasn't sure what to expect and what does it demonstrate though.

B.



On Thu, May 10, 2018 at 3:25 AM, Andi Huber <ahu...@apache.org> wrote:
> Dear users and developers,
>
> we've started a new github project for a demo app [1], meant to demonstrate 
> Apache Isis' UI features.
>
> The app itself is yet in an early stage, does not show much, but is ready to 
> be filled with content.
>
> We have a first working docker image, which is auto-built and hosted on 
> hub.docker.com. For anyone familiar with docker, its now just 3 commands and 
> you have a running Apache Isis Demo, freshly built from the latest sources.
>
> If you'd like to contribute and help us with the app itself, you are very 
> welcome to get involved on github [1].
>
> Kind regards,
> Andi Huber
>
> [1] https://github.com/andi-huber/isis-2-demo
>



-- 
Bilgin Ibryam
ASF Member | Architect at Red Hat
http://ofbizian.com | @bibryam

Kubernetes Patterns http://leanpub.com/k8spatterns (in progress)
Camel Design Patterns https://leanpub.com/camel-design-patterns


Re: [ANNOUNCE] New Committer - Johan Doornenbal

2018-03-25 Thread Bilgin Ibryam
Johan, welcome on board.

Bilgin

On Sun, Mar 25, 2018 at 1:34 PM, Dan Haywood
<d...@haywood-associates.co.uk> wrote:
> I'm delighted to announce that Johan Doornenbal has been voted in as a
> committer on Apache Isis, and also as a member of the Isis PMC.  The first
> gives Johan the right to commit changes directly to the Apache Isis
> codebase, the second gives him the right to be involved in future votes.
>
> Johan has an abundance of real-world experience in using the framework for
> delivering business solutions.  He's been working with Jeroen and I for
> several years now on Estatio [1], and is now responsible for specifying and
> implementing the great proportion of the new functionality of that app.
>
> For Apache Isis he contributed an extended version of the PetClinic
> tutorial [2], and in terms of code has provided numerous contributions to
> the companion Incode Platform, most notably for the Excel module [4] and on
> a integration with mailchimp.  Informally he's provided great insight and
> feedback on new features for the framework, the most recent example being
> the implementation of checkboxes for parented collections [4].
>
> I've really enjoyed working with Johan over the last few years, and I'm
> very pleased he's joining as a committer and onto the PMC; he'll be a great
> addition to our team.  Please join me in welcoming him to our happy band!
>
> Dan Haywood
> Apache Isis Committer
>
> [1] http://github.com/estatio/estatio
> [2]
> http://isis.apache.org/versions/1.13.2/guides/tg.html#3.-pet-clinic-(extended)
> [3] http://platform.incode.org/modules/lib/excel/lib-excel.html
> [4]
> http://isis.apache.org/guides/rgant/rgant.html#_rgant-Action_associateWith



-- 
Bilgin Ibryam
ASF Member | Architect at Red Hat
http://ofbizian.com | @bibryam

Kubernetes Patterns http://leanpub.com/k8spatterns (in progress)
Camel Design Patterns https://leanpub.com/camel-design-patterns


Re: SEMAT app with Apache ISIS

2017-12-19 Thread Bilgin Ibryam
Hi all,

I've deployed the Isis based SEMAT application on Red Hat's free OpenShift
free tier.

Blogged about it here:
http://www.ofbizian.com/2017/12/rapid-semat-application-development.html
Deployed app: http://semat.ofbizian.com/

Cheers,
Bilgin


On Sat, Oct 29, 2016 at 12:21 PM, Bilgin Ibryam <bibr...@gmail.com> wrote:

> Hi all,
>
> I'm creating a simple application [1] to showcase apache isis using semat
> [2]
> In simple terms, SEMAT is a way to describe the software project from
> different perspectives [3]
>
> A project has 7 alphas/perspectives
>
> Opportunity
> Stakeholders
> Requirements
> Software System
> Work
> Team
> Way-of-Working
>
> and each of these can be at different stastes and have the states
> transitioned. I think it is a quite good and simplish model (which can
> get complicated if desired) for apache isis.
>
> It is still work in progress, and the UI is not ready, but I'd love to
> hear your thoughts so far.
>
> One of the problems I'm facing right is that I'm not able to order the
> properties of my ProjectStateView view model in the parented table [4]
>
> I tried to reorder the fields, use @MemberOrder(), use @XmlType with
> propOrder instead of @ViewModel but w/o any luck.
>
> I guess I might be missing something simple.
>
> Cheers,
>
>
>
> [1] https://github.com/bibryam/semat
> [2] http://semat.org/
> [3] https://camo.githubusercontent.com/4091112d613a94e8dfa91803b91a6d
> f4416b3ebb/68747470733a2f2f312e62702e626c6f6773706f742e636f6d2f2d763937
> 6d326766534175672f5741386638776e6c4a73492f414141414141414147
> 694d2f4a6a6f497030536c545534663369466f49454d76534a764448386c
> 793869563477434c63422f73313630302f73656d61742e706e67
> [4] https://github.com/bibryam/semat/blob/master/dom/src/
> main/java/com/ofbizian/semat/dom/domain/ProjectStateView.java
>
> --
> Bilgin Ibryam
> Camel Committer at ASF & Integration Architect at Red Hat
> Blog: http://ofbizian.com | Twitter: @bibryam
>
> Camel Design Patterns https://leanpub.com/camel-design-patterns
> Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475
>



-- 
Bilgin Ibryam
ASF Member | Architect at Red Hat
http://ofbizian.com | @bibryam <https://twitter.com/bibryam>

Kubernetes Patterns http://leanpub.com/k8spatterns (in progress)
Camel Design Patterns https://leanpub.com/camel-design-patterns


Re: [ANN] Apache Isis version 1.14.0 Released

2017-02-20 Thread Bilgin Ibryam
A great release!

I'm updating my Semat app from 1.13 to 1.14 and I had to also update
the various modules I use.

For the time being, I also had to disable

isis.reflector.validator.jdoqlVariablesClause=false
isis.reflector.validator.explicitObjectType=false
isis.reflector.validator.jdoqlFromClause=false

as the security module was complaining about  some validations.

Are there any examples/docs for how to use the new features from this
release, more specifically:

ISIS-1529 - TableColumnOrderService, to allow column order to be fine-tuned
ISIS-709 - Support multi-select for the drop-down box
ISIS-785 - Invoke action parameter with a collection of entities.


Cheers,


[1] http://github.com/bibryam/semat

On 19 February 2017 at 15:56, Dan Haywood <d...@haywood-associates.co.uk> wrote:
> The Apache Isis team is pleased to announce the release of Apache Isis
> v1.14.0.
>
> The new features and improvements in this release include:
>
> * the ability to invoke actions with collection parameters (rendered by the
> Wicket viewer as a multi-select drop-down).
>
> * a number of metamodel validations intended to make it apps already in
> production easier to refactor (including a new objectType attribute for
> @DomainService)
>
> * improvements to EmailService so easier to use in system test (non-prod)
> environments
>
> * a new TableColumnOrderService to allow column order of parented
> collections to be fine-tuned.
>
>
> Full release notes are available on the Apache Isis website at [1].  Please
> also read the migration notes [2].
>
> You can access this release directly from the Maven central repo [3], or
> download the release and build it from
> source [4].
>
> Enjoy!
>
> --The Apache Isis team
>
> [1] http://isis.apache.org/release-notes.html#r1.14.0
> [2]
> http://isis.apache.org/migration-notes.html#_migration-notes_1.13.0-to-1.14.0
> [3] http://search.maven.org
> [4] http://isis.apache.org/downloads.html



-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Re: How can isis be made web scale

2017-02-20 Thread Bilgin Ibryam
Isis relies heavily on a DB which is accessed through JDO.
So if there is JDO storage that can scale as per your requirements the
rest of Isis could become web scale.

If you find that Wicket is not web scale, you could create your own UI
and interact with Isis through its REST API.

There is also a multi-tenancy plugin which is required quite often for
web-scale/SaaS use cases that might be useful too.

HTH,



On 20 February 2017 at 11:06, james agada <okwuiag...@gmail.com> wrote:
> Can Isis be scaled to handle web scale traffic - hundreds of thousands.l of
> simultaneous users? What are the bottlenecks? What architectural patterns
> work? What data store should be considered?
> Rgds



-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Any slides about Apache Isis?

2016-11-20 Thread Bilgin Ibryam
Hi all,

In 2 weeks time I have to give a short 15 min talk about Apache Isis
for my colleagues. Are there any public slides from previous events,
or anything else you can share with privately?

Having something ready to start with would help me a lot.

Cheers,

-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Re: [ANNOUNCE] New Committer - Bilgin Ibryam

2016-11-13 Thread Bilgin Ibryam
Thansk for the great intro Dan, and thanks everybody for the warm welcome.
I've been following Apache Isis for a long time, and I really like it.
Hope I can help to make it even better.

Cheers,

On 9 November 2016 at 17:39, Óscar Bou - GOVERTIS <o@govertis.com> wrote:
> Welcome, Bilgin.
>
> Really nice to have you on board!
>
>
> Cheers,
>
> Oscar
>
>
>
>> El 9 nov 2016, a las 15:30, Martin Grigorov <mgrigo...@apache.org> escribió:
>>
>> Честито!
>>
>> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>> On Wed, Nov 9, 2016 at 1:26 PM, Dan Haywood <d...@haywood-associates.co.uk>
>> wrote:
>>
>>> I'm delighted to announce that Bilgin Ibryam has been voted in as a
>>> committer on Apache Isis, and also as a member of the Isis PMC.  The first
>>> gives Bilgin the right to commit changes directly to the Apache Isis
>>> codebase, the second gives him the right to be involved in future votes.
>>>
>>> Bilgin is already a committer on both the Apache Camel [1,2,3] project and
>>> also for Apache Ofbiz [4, 5, 6].  He also recently wrote "Camel Design
>>> Patterns" book, via leanpub [7].  He works in London for RedHat [7].
>>>
>>> Bilgin has been aware of Apache Isis for a long while; in fact it was he
>>> who introduced the predecessor - naked objects framework - to Jeroen, from
>>> whence the Estatio project (a major driver for the development of Apache
>>> Isis) was spawned.
>>>
>>> More recently Bilgin has started contributing to the mailing list and
>>> started providing a number of pull requests [9].  He is also using Apache
>>> Isis for some internal projects within RedHat, which may help spread
>>> knowledge of the framework to a wider open-source community.
>>>
>>> I'm looking forward to working with Bilgin in the future; another great
>>> addition to Isis' committers.  So please join me in welcoming him to our
>>> happy band!
>>>
>>> Dan Haywood
>>> Apache Isis PMC Chair
>>>
>>>
>>> [1] http://camel.apache.org/
>>> [2] https://github.com/apache/camel/graphs/contributors
>>> [3] http://camel.apache.org/team.html
>>> [4] http://ofbiz.apache.org/
>>> [5] https://github.com/apache/ofbiz/graphs/contributors
>>> [6]
>>> https://cwiki.apache.org/confluence/display/OFBADMIN/Apache+
>>> OFBiz+PMC+Members+and+Committers
>>> [7] https://leanpub.com/u/bibryam
>>> [8] http://developers.redhat.com/blog/author/bibryam/
>>> [9] https://github.com/apache/isis/graphs/contributors
>>>
>
>



-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Go live settings for isis

2016-11-06 Thread Bilgin Ibryam
Hi all,

I'm looking for some information around configuring isis apps for prod
environments.
Is there such a document or email thread, or should we create one?

Basically a document with things to configure in isis before going
into production environment.
 - DB configurations
 - isis/wicket change to production mode
 - configure caches
 - security
 - check web.xml for unnecessary endpoints
 - securing the app

Not sure what else is there.
May be existing isis users can share some experience with kind of
changes they had to do for their apps.

Thanks,


-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Common way for deploying isis apps

2016-11-06 Thread Bilgin Ibryam
Hi all,

I was wondering what is the most common way for running isis apps?
I know while developing I can use jetty plugin or the WebServer
classes, but what about for running it on other environments?

For my semat app I have used the .war file in a tomcat instance. And
ll that in a docker container.
You can see my pom.xml used for building docker container and running
at [1] and the demo app running at [2]

Also noticed that with tomcat 9 the app was throwing lot's of errors
with some not allowed cookie values, so moved back to tomcat 7.

Is anyone running isis w/o a web container, as standalone Java app?
How do you package the app in the case?


[1] https://github.com/bibryam/semat/blob/master/pom.xml
[2] http://semat.ofbizian.com/

Cheers,

-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Re: Hack the tower

2016-11-05 Thread Bilgin Ibryam
I cannot make 12th, but I'll be at ApacheCon in Seville the week
after. If there are Apache isis users or committers, would love to
meet with them.

B.

On 5 November 2016 at 10:47, Ali Ebadian <a...@ebadian.co.uk> wrote:
> Hey all,
> I have asked this question before, but nothing has come of it.
> Would anyone be able to give a demo/training/workshop session in the next
> hack the the tower event.
>
> Next one is Nov 12th.
> There is always FREE food and drinks on those events.
> Thanks.



-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Re: Ability to hide the links in collection

2016-11-02 Thread Bilgin Ibryam
Hhhmmm, looking at the implementation I can see how it can hide
certain columns that correspond to a property, but I want to hide the
column that is auto generated link to the entity itself and doesn't
corresponds to a specific property I believe. Any idea how to hide
that column?



On 2 November 2016 at 07:55, Bilgin Ibryam <bibr...@gmail.com> wrote:
> Thanks Martin, I did see the commit but didn't realized it was what I needed.
>
> Cheers,
>
> On 2 November 2016 at 07:07, Martin Grigorov <mgrigo...@apache.org> wrote:
>> Hi Bilgin,
>>
>> Check https://issues.apache.org/jira/browse/ISIS-1529
>>
>> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>> On Wed, Nov 2, 2016 at 8:04 AM, Bilgin Ibryam <bibr...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> before creating a new feature ticket I wanted to check whether there
>>> is a way to achieve what I want.
>>> I have a collection of view models and each view model has a link to
>>> the view model itself. But I'd like to hide the first column which is
>>> the link to the view model itself. It seems currently there is no way
>>> to hide that column, or modify it to point to a different entity
>>> rather than view model.
>>>
>>> Thanks
>>>
>>> --
>>> Bilgin Ibryam
>>> Camel Committer at ASF & Integration Architect at Red Hat
>>> Blog: http://ofbizian.com | Twitter: @bibryam
>>>
>>> Camel Design Patterns https://leanpub.com/camel-design-patterns
>>> Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475
>>>
>
>
>
> --
> Bilgin Ibryam
> Camel Committer at ASF & Integration Architect at Red Hat
> Blog: http://ofbizian.com | Twitter: @bibryam
>
> Camel Design Patterns https://leanpub.com/camel-design-patterns
> Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475



-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Re: Ability to hide the links in collection

2016-11-02 Thread Bilgin Ibryam
Thanks Martin, I did see the commit but didn't realized it was what I needed.

Cheers,

On 2 November 2016 at 07:07, Martin Grigorov <mgrigo...@apache.org> wrote:
> Hi Bilgin,
>
> Check https://issues.apache.org/jira/browse/ISIS-1529
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Wed, Nov 2, 2016 at 8:04 AM, Bilgin Ibryam <bibr...@gmail.com> wrote:
>
>> Hi all,
>>
>> before creating a new feature ticket I wanted to check whether there
>> is a way to achieve what I want.
>> I have a collection of view models and each view model has a link to
>> the view model itself. But I'd like to hide the first column which is
>> the link to the view model itself. It seems currently there is no way
>> to hide that column, or modify it to point to a different entity
>> rather than view model.
>>
>> Thanks
>>
>> --
>> Bilgin Ibryam
>> Camel Committer at ASF & Integration Architect at Red Hat
>> Blog: http://ofbizian.com | Twitter: @bibryam
>>
>> Camel Design Patterns https://leanpub.com/camel-design-patterns
>> Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475
>>



-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Ability to hide the links in collection

2016-11-02 Thread Bilgin Ibryam
Hi all,

before creating a new feature ticket I wanted to check whether there
is a way to achieve what I want.
I have a collection of view models and each view model has a link to
the view model itself. But I'd like to hide the first column which is
the link to the view model itself. It seems currently there is no way
to hide that column, or modify it to point to a different entity
rather than view model.

Thanks

-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


SEMAT app with Apache ISIS

2016-10-29 Thread Bilgin Ibryam
Hi all,

I'm creating a simple application [1] to showcase apache isis using semat [2]
In simple terms, SEMAT is a way to describe the software project from
different perspectives [3]

A project has 7 alphas/perspectives

Opportunity
Stakeholders
Requirements
Software System
Work
Team
Way-of-Working

and each of these can be at different stastes and have the states
transitioned. I think it is a quite good and simplish model (which can
get complicated if desired) for apache isis.

It is still work in progress, and the UI is not ready, but I'd love to
hear your thoughts so far.

One of the problems I'm facing right is that I'm not able to order the
properties of my ProjectStateView view model in the parented table [4]

I tried to reorder the fields, use @MemberOrder(), use @XmlType with
propOrder instead of @ViewModel but w/o any luck.

I guess I might be missing something simple.

Cheers,



[1] https://github.com/bibryam/semat
[2] http://semat.org/
[3] 
https://camo.githubusercontent.com/4091112d613a94e8dfa91803b91a6df4416b3ebb/68747470733a2f2f312e62702e626c6f6773706f742e636f6d2f2d7639376d326766534175672f5741386638776e6c4a73492f414141414141414147694d2f4a6a6f497030536c545534663369466f49454d76534a764448386c793869563477434c63422f73313630302f73656d61742e706e67
[4] 
https://github.com/bibryam/semat/blob/master/dom/src/main/java/com/ofbizian/semat/dom/domain/ProjectStateView.java

-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Re: how to invoke long running task

2016-10-29 Thread Bilgin Ibryam
Thanks Dan,

inline

On 26 October 2016 at 18:13, Dan Haywood <d...@haywood-associates.co.uk> wrote:
> On 26 October 2016 at 17:56, Bilgin Ibryam <bibr...@gmail.com> wrote:
>
>> Hi all,
>>
>> I have a use case where the use triggers an actions that takes a
>> couple of minutes computation.
>> What would be best way to invoke such an action in ISIS? Currently it
>> runs in the calling thread and simply the UI hands for a while.
>>
>> Ideally I like to run that in a background thread,
>
>
> this bit is easy, just use the BackgroundService [1] in conjunction with
> the command addon module [2]. then use the Quartz addon module [3] to
> invoke queued up commands.
>

I'll check that.

>
>
>
>
>> but also give the
>> user some indication of progress of the background task.
>
>
>
> ... this bit doesn't yet exist.
>
> We did spike a little counter using Wicket's integration with Atmosphere
> [4] a couple of years ago, just to push the current time down to the web
> browser, but we didn't take it any further.
>
> There are a couple of ways I can see this requirement might be tackled, but
> perhaps the easiest would be to provide some sort of Wicket widget (maybe
> rendered in the footer) that has built-in knowledge of the background
> command queue, and so which could indicate to the user what the status of
> their job(s) are.  When the user clicks on a job it could perhaps render
> the persisted Command (or maybe a view model for a simplified UI / could
> perhaps go to the "target" / most relevant object that has been updated).
>
>
> Interested in your thoughts; we actually have a somewhat similar
> requirement for Estatio, so would be good to kick around some ideas.

Are there any examples of simple wicket widget that refresh from the
backend? What would be the closes code sampel to that?


Thanks

>
> Thx
> Dan
>
>
>
>
>> I wonder if
>> there is anything in the framework or addons that could help me.
>>
>>
> [1] http://isis.apache.org/guides/rgsvc.html#_rgsvc_api_BackgroundService
> [2] https://github.com/isisaddons/isis-module-command
> [3] https://github.com/isisaddons/isis-module-quartz
> [4] http://examples7x.wicket.apache.org/atmosphere/?0
>
>
> Thanks,
>>
>> --
>> Bilgin Ibryam
>> Camel Committer at ASF & Integration Architect at Red Hat
>> Blog: http://ofbizian.com | Twitter: @bibryam
>>
>> Camel Design Patterns https://leanpub.com/camel-design-patterns
>> Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475
>>



-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


how to invoke long running task

2016-10-26 Thread Bilgin Ibryam
Hi all,

I have a use case where the use triggers an actions that takes a
couple of minutes computation.
What would be best way to invoke such an action in ISIS? Currently it
runs in the calling thread and simply the UI hands for a while.

Ideally I like to run that in a background thread, but also give the
user some indication of progress of the background task. I wonder if
there is anything in the framework or addons that could help me.

Thanks,

-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Re: Hide and replace certain UI fragments

2016-10-17 Thread Bilgin Ibryam
>>
>
> As far as I remember all I had to do when I needed a custom footer was a
> custom factory + a panel (java & html).
> I didn't need to touch the application and the registrar.

According to docs here https://isis.apache.org/guides/ugvw.html
it is necessary to create a custom registart and add your factory
there. Then you have to add your custom register to the app.



>
>
>>
>> I think if we give the users ability to customise the existing footer,
>> it will be an easy win.
>>
>> It is already possible to disable the theme selector through
>>
>> isis.viewer.wicket.themes.showChooser=false
>>
>> and we can add similar features for the  breadcrumb and bookmarks too.
>> I can do that for breadcrumbs, but the bookmark one is slightly more
>> complicated for me.
>>
>> And last but not least, if I can provide my own html snippet for the
>> footer text, it will be enough. Then the whole UI is customisable w/o
>> touching 5-6 java classes.
>>
>> WDYT?
>>
>
> IMO the current way is better because by providing your own FooterPanel you
> decide where exactly to put the text (left, middle, right), what font to
> use, etc.
> If it is just a text then most probably won't look good enough for everyone.

Agreed. I had to replace the whole fotter.
But I've also PR ability to hide breadcrumbs similarly to themes.

I still need a way to hide bookmarks panel though.


>
>
>>
>> PS: as for the broken theme, it is not giving a good first impression
>> to new comers who would try the few options on the UI. And hiding the
>> broken template will be easy though configuration. I'll do a PR for
>> it.
>>
>
> I think the proper way is to update Wicket-Bootstrap dependency. This will
> remove Amelia from the list of available themes.
> But the upgrade might break the current UI for some themes too...
>
> We have seen in the past that not all themes look perfect as is. That's why
> there are overrides like
> https://github.com/apache/isis/blob/d023786e74f4f16c57cb67e38c08c7e63f9036fe/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/bootstrap-overrides-darkly.css
> The list of themes is just to show that is relatively easy to customize the
> UI for your needs. I guess the best we can do is to explain this in the
> documentation.


I still think we should avoid bad UX with a broken theme, considering
there is a one line config change fix for it which we can use now.

Thanks for your help,

>
>
>> Cheers,
>> B.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> >
>> > About the Amelia theme - this has been reported several months ago.
>> Amelia
>> > theme has been deprecated in Bootswatch, and after that in
>> > Wicket-Bootstrap. It is just that Isis uses old versions of Wicket &
>> > Wicket-Bootstrap.
>> > I believe also the problem (another ticket by Dan) with the three-state
>> > checkbox (CheckboxX) is due to the old version of WB.
>> >
>> > Martin Grigorov
>> > Wicket Training and Consulting
>> > https://twitter.com/mtgrigorov
>> >
>> > On Sun, Oct 16, 2016 at 4:08 PM, Bilgin Ibryam <bibr...@gmail.com>
>> wrote:
>> >
>> >> Hi all,
>> >>
>> >> I've started using ISIS for a project and so far my experience has
>> >> been really good. With very little code, I've managed to achieve quite
>> >> a lot. Also adding the addons was quite straight forward.
>> >>
>> >> Now I need few UI customizations and couldn't find an easy way.
>> >>
>> >> I've already created an improvement ticket [1] but also wanted to
>> >> check what are other doing in this aread.  For example I want to
>> >> completely disable/hide the bookmarks panel that appear on hoover, it
>> >> is a little bit annoying. Also I'd like to customize the footer
>> >> content completly, but it seems it is hardcoded.
>> >>
>> >> Cheers,
>> >>
>> >>
>> >> [1] https://issues.apache.org/jira/browse/ISIS-1518
>> >>
>> >> --
>> >> Bilgin Ibryam
>> >> Camel Committer at ASF & Integration Architect at Red Hat
>> >> Blog: http://ofbizian.com | Twitter: @bibryam
>> >>
>> >> Camel Design Patterns https://leanpub.com/camel-design-patterns
>> >> Instant Apache Camel Message Routing http://www.amazon.com/dp/
>> 1783283475
>> >>
>>
>>
>>
>> --
>> Bilgin Ibryam
>> Camel Committer at ASF & Integration Architect at Red Hat
>> Blog: http://ofbizian.com | Twitter: @bibryam
>>
>> Camel Design Patterns https://leanpub.com/camel-design-patterns
>> Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475
>>



-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Re: Hide and replace certain UI fragments

2016-10-17 Thread Bilgin Ibryam
Hi Martin,

On 16 October 2016 at 15:52, Martin Grigorov <mgrigo...@apache.org> wrote:
> Hi Bilgin,
>
> The footer is replaceable, see https://github.com/apache/
> isis/blob/master/core/viewer-wicket-ui/src/main/java/org/
> apache/isis/viewer/wicket/ui/components/footer/FooterPanelFactory.java.
> It uses ComponentType.FOOTER as a key.
> Check the other ComponentTypes for what else is possible to be replaced
> directly by providing your own factory.
> Some other small things, like the logo and app name, are exposed in the
> Guice config.

I've seen component types, but to replace a footer I have to touch

IsisWicketApplication
ComponentFactoryRegistrarDefault
ComponentFactoryAbstract
create my panel, html, css...

I think if we give the users ability to customise the existing footer,
it will be an easy win.

It is already possible to disable the theme selector through

isis.viewer.wicket.themes.showChooser=false

and we can add similar features for the  breadcrumb and bookmarks too.
I can do that for breadcrumbs, but the bookmark one is slightly more
complicated for me.

And last but not least, if I can provide my own html snippet for the
footer text, it will be enough. Then the whole UI is customisable w/o
touching 5-6 java classes.

WDYT?

PS: as for the broken theme, it is not giving a good first impression
to new comers who would try the few options on the UI. And hiding the
broken template will be easy though configuration. I'll do a PR for
it.

Cheers,
B.









>
> About the Amelia theme - this has been reported several months ago. Amelia
> theme has been deprecated in Bootswatch, and after that in
> Wicket-Bootstrap. It is just that Isis uses old versions of Wicket &
> Wicket-Bootstrap.
> I believe also the problem (another ticket by Dan) with the three-state
> checkbox (CheckboxX) is due to the old version of WB.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Sun, Oct 16, 2016 at 4:08 PM, Bilgin Ibryam <bibr...@gmail.com> wrote:
>
>> Hi all,
>>
>> I've started using ISIS for a project and so far my experience has
>> been really good. With very little code, I've managed to achieve quite
>> a lot. Also adding the addons was quite straight forward.
>>
>> Now I need few UI customizations and couldn't find an easy way.
>>
>> I've already created an improvement ticket [1] but also wanted to
>> check what are other doing in this aread.  For example I want to
>> completely disable/hide the bookmarks panel that appear on hoover, it
>> is a little bit annoying. Also I'd like to customize the footer
>> content completly, but it seems it is hardcoded.
>>
>> Cheers,
>>
>>
>> [1] https://issues.apache.org/jira/browse/ISIS-1518
>>
>> --
>> Bilgin Ibryam
>> Camel Committer at ASF & Integration Architect at Red Hat
>> Blog: http://ofbizian.com | Twitter: @bibryam
>>
>> Camel Design Patterns https://leanpub.com/camel-design-patterns
>> Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475
>>



-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Hide and replace certain UI fragments

2016-10-16 Thread Bilgin Ibryam
Hi all,

I've started using ISIS for a project and so far my experience has
been really good. With very little code, I've managed to achieve quite
a lot. Also adding the addons was quite straight forward.

Now I need few UI customizations and couldn't find an easy way.

I've already created an improvement ticket [1] but also wanted to
check what are other doing in this aread.  For example I want to
completely disable/hide the bookmarks panel that appear on hoover, it
is a little bit annoying. Also I'd like to customize the footer
content completly, but it seems it is hardcoded.

Cheers,


[1] https://issues.apache.org/jira/browse/ISIS-1518

-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Re: object level ownership / tenancy

2016-09-26 Thread Bilgin Ibryam
Hi Dan,

great timing. I was looking at multi tenancy today and wanted to see
something different than the path concept (which is not very common
for implementing multi tenancy).

In your demo app, users bill/joe see the correct number of entities
(2), but the home page shows description "3 objects". I wonder why?


Thanks,
Bilgin

On 26 September 2016 at 15:38, Dan Haywood <d...@haywood-associates.co.uk> 
wrote:
> Hi Martin,
>
> Your post has prompted me to push out a new version of security module [1],
> 1.13.3.  (We also had a related requirement in Estatio, so a matter of
> killing two bird with one stone).
>
> So, there is now a more general optional SPI service which doesn't depend
> on the concept of application tenancy paths, instead it just gives the
> service the two objects to evaluate and asks it to say if they are visible
> (or hidden) and editable (or disabled):
>
>
> public interface ApplicationTenancyEvaluator {
> boolean handles(Class cls);  
> (1)
> String hides(Object domainObject, ApplicationUser applicationUser); 
> (2)
> String disables(Object domainObject, ApplicationUser applicationUser);  
> (3)
> }
>
>
>
> To test this, I knocked up a demo app; it's implementation of this service
> is:
>
> @DomainService(nature = NatureOfService.DOMAIN)public class
> ApplicationTenancyEvaluatorForConcerts implements
> ApplicationTenancyEvaluator {
> public boolean handles(Class cls) {
> return Concert.class.isAssignableFrom(cls);
> }
> public String hides(Object domainObject, ApplicationUser applicationUser) 
> {
> if (!(domainObject instanceof Concert)) {
> return null;
> }
> final Concert concert = (Concert) domainObject;
>
> final Optional roleIfAny =
> applicationUser.getRoles()
> .stream()
> .filter(role -> Objects.equals(role.getName(),
> concert.getName()))  (1)
> .findAny();
>
> return roleIfAny.isPresent()? null: "Requires role " +
> concert.getName();
> }
> public String disables(Object domainObject, ApplicationUser
> applicationUser) {
> return null;
> }
> }
>
>
>
> Hope that makes sense, let us know how you get on.
>
> Cheers
> Dan
>
>
> [1] https://github.com/isisaddons/isis-module-security
> [2] https://github.com/danhaywood/security-generalized-tenancy-app
>
>
>
> On 24 September 2016 at 23:53, David Tildesley <davo...@yahoo.co.nz.invalid>
> wrote:
>
>> Just read my own post. Sorry those chevrons were meant to be double, and
>> they are only indicating color modelling "archetypes"[1] - force of habit -
>> helps me conceptualize problem domains.
>>
>> [1] http://www.nebulon.com/articles/fdd/download/adspostera3.pdf
>>
>>
>>
>>
>> On 24-Sep-16 3:59 PM, David Tildesley wrote:
>>
>>> Hi Martin,
>>>
>>> You haven't described a  tenancy problem so I wouldn't necessarily try
>>> and bend that to your problem. I would model it in the domain and use
>>> domain behavior. The behaviour checks if the user is a member of a
>>> committee (Committee) in the role of managing (ConcertManager)
>>> the concert (Concert) before allowing operations on the
>>> concert component.
>>>
>>> Regards,
>>>
>>> David.
>>>
>>>
>>> On 23-Sep-16 6:07 PM, Martin wrote:
>>>
>>>> Hello,
>>>>
>>>> We want to give ownership of specific objects in the domain model to a
>>>> subset of users.
>>>>
>>>> Example: an application to manage concerts, and a subset of the users is
>>>> the concert organization committee. The members of
>>>> the organization committee can be added and removed at runtime or defined
>>>> when creating a new concert object. A user can be assigned to be a member
>>>> of multiple committees, and the members of a concerts organization
>>>> committee should be granted permissions to manipulate the concert and its
>>>> associated objects.
>>>>
>>>> I looked at the isis-security-module (
>>>> https://github.com/isisaddons/isis-module-security) and also at the
>>>> tenancy, but I had trouble figuring out if this could actually serve our
>>>> needs.
>>>>
>>>> How would one go about this with apache isis?
>>>>
>>>> Thanks and regards,
>>>> Martin
>>>>
>>>>
>>>
>>



-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Re: London Apache Isis meeting

2016-04-30 Thread Bilgin Ibryam
I'd love to come.

Bilgin

On 29 April 2016 at 14:40, Ali Ebadian <a...@ebadian.co.uk> wrote:
> Hey all,
> I'm planning on setting up a weekend or an evening night for learning
> Apache ISIS.
>
> I would like to get the general ideas for the head counts and the level of
> interest.
>
> For the first meeting I'm thinking of a crash course to bring people up to
> speed.
> Let me know your thoughts.
>
> Thanks.



-- 
Bilgin Ibryam
Camel Committer at ASF & Integration Architect at Red Hat
Blog: http://ofbizian.com | Twitter: @bibryam

Camel Design Patterns https://leanpub.com/camel-design-patterns
Instant Apache Camel Message Routing http://www.amazon.com/dp/1783283475


Re: Project name

2015-12-05 Thread Bilgin Ibryam
 searching for
> > >>> apache isis usually brings up some unwanted / unsavoury results, and
> I
> > >>> would expect that might just increase over time. It also might
> trigger
> > >>> email spam filtering, company firewall rules, etc to kick in for
> some.
> > >>> I could imagine other contexts in which the mere occurrence of the
> > >>> word isis might create some unwanted distraction or issue.
> > >>>
> > >>> I can appreciate how much upheaval that such a name change could
> > >>> cause, but nonetheless thought it worth asking about.
> > >>>
> > >>> Thanks
> > >>>
> > >>>
> > >>
> > >> Kühne + Nagel (AG & Co.) KG
> > >> Rechtsform: Kommanditgesellschaft, Bremen HRA 21928, USt-IdNr.: DE
> > >> 812773878.
> > >> Geschäftsleitung Kühne + Nagel (AG & Co.) KG: Reiner Heiken (Vors.),
> > Dirk
> > >> Blesius, Martin Brinkmann, Matthias Heimbach, Jan-Hendrik
> Köstergarten,
> > >> Nicholas Minde, Lars Wedel, Jens Wollesen.
> > >> Persönlich haftende Gesellschafterin: Kühne & Nagel A.G., Rechtsform:
> > >> Aktiengesellschaft nach luxemburgischem Recht, HR-Nr.: B 18745,
> > >> Geschäftsführendes Verwaltungsratsmitglied: Karl Gernandt.
> > >> Geschäftsleitung Region Westeuropa: Yngve Ruud (Vors.), Richard Huhn,
> > >> Diederick de Vroet, Björn Johansson, Jan Kunze, Bruno Mang, Stefan
> Paul,
> > >> Holger Ketz, Dominic Edmonds.
> > >>
> > >> Wir arbeiten ausschließlich auf Grundlage der Allgemeinen Deutschen
> > >> Spediteursbedingungen (ADSp), jeweils neuester Fassung. Wir verweisen
> > >> insbesondere auf die vom Gesetz abweichenden Haftungsbeschränkungen
> von
> > >> Ziffer 23 und 24 ADSp. Den vollständigen Text der ADSp übersenden wir
> > Ihnen
> > >> gerne auf Anfrage und können Sie auch unter
> http://www.kuehne-nagel.com
> > >> einsehen. Ergänzend wird vereinbart, dass (1) Ziffer 27 ADSp im Rahmen
> > >> internationaler Übereinkommen weder unsere Haftung noch die Zurechnung
> > des
> > >> Verschuldens von Leuten und sonstigen Dritten zu Gunsten des
> > Auftraggebers
> > >> erweitert, und (2) wir in den im deutschen Seehandelsrecht
> aufgeführten
> > >> Fällen des nautischen Verschuldens oder Feuer an Bord nur für eigenes
> > >> Verschulden und (3) im Sinne der CMNI genannten Voraussetzungen nicht
> > für
> > >> nautisches Verschulden, Feuer an Bord oder Mängel des Schiffes haften.
> > >>
> > >>
> > >> ---
> > >> This email has been checked for viruses by Avast antivirus software.
> > >> https://www.avast.com/antivirus
> > >>
> > >>
> >
> >
>



-- 
Bilgin Ibryam

Red Hat, Inc.
Apache Camel & Apache OFBiz committer
Blog: ofbizian.com
Twitter: @bibryam <https://twitter.com/bibryam>

Author of Instant Apache Camel Message Routing
http://www.amazon.com/dp/1783283475