Re: We'd like to remove "isis.deploymentType" ... any objections?

2018-10-28 Thread Óscar Bou - GOVERTIS
Hi, Andy! No problems here … Cheers! > El 28 oct 2018, a las 10:29, Andi Huber escribió: > > Hello everyone! > > Dan and I discussed [1], whether we should remove the config option > 'isis.deploymentType'. > > Remember, we are having this, in order for developers to decide, whether an

Re: Announcing the "Incode Platform"

2017-09-24 Thread Óscar Bou - GOVERTIS
Hi Dan, Johan and Jeroen. Many thanks for putting this altogether!!! For all those out there that must develop an app where the balance between domain complexity vs supporting millions of users falls on the first item, THE INCODE PLATFORM’S ARCHETYPE IS THE WAY TO GO !! It has so many

Re: Many-to-1 relationship?

2017-08-18 Thread Óscar Bou - GOVERTIS
Dear Kevin, Not sure if this question was properly answered, as there were a discussion about ValueObjects on Apache Isis. But if what you want is, as you detail, to have m-n relationships, being 2 different domain entities, each with its own “identity” in terms of DDD, and most probably

Re: How to display value object

2017-08-16 Thread Óscar Bou - GOVERTIS
Hi all, Nice to have support for Value Objects directly on Apache Isis. On [1] there’s a description about how do they work on DataNucleus. We can “infer” from DN annotations the existence of the ValueObject (as we do with the @Column annotation, etc.) that could be recorded on the Apache

Re: Many-to-many association

2017-03-02 Thread Óscar Bou - GOVERTIS
Hi L Eder, You can find some code templates for both Eclipse and IntelliJ [1] that include the proper DataNucleus annotations to define a m-n relationship. On this case, DN supports many options [2]. I would recommend the one using a Set, which details the following example: public class

Re: Announcement: Change of Apache Isis VP

2017-01-23 Thread Óscar Bou - GOVERTIS
Congrats, and thanks, Kevin, for your commitment, and Dan to promote others involvement!! Cheers, Oscar > El 23 ene 2017, a las 21:23, Dan Haywood > escribió: > > Many thanks, Kevin... > appreciate you stepping up to take over this role. > > And for

Re: trying out caching

2016-12-07 Thread Óscar Bou - GOVERTIS
Hi Stephen. Have you tried to add through Maven any of the Java Caches available? As per [1], seems DN declares a wrapper arround them, so you will need to add one implementation. Many are mentioned on the URL you included. HTH, Oscar > El 7 dic 2016, a las 12:47, Stephen Cameron

Re: [ANNOUNCE] New Committer - Bilgin Ibryam

2016-11-09 Thread Óscar Bou - GOVERTIS
Welcome, Bilgin. Really nice to have you on board! Cheers, Oscar > El 9 nov 2016, a las 15:30, Martin Grigorov escribió: > > Честито! > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Wed, Nov 9, 2016 at 1:26 PM, Dan

Re: Common way for deploying isis apps

2016-11-09 Thread Óscar Bou - GOVERTIS
Hi Willie. Really nice workflow. Could you contribute part of the CD/CI scripts that could be used/evolved by the community ? Thanks, Oscar > El 9 nov 2016, a las 18:24, Willie Loyd Tandingan > escribió: > > We used to deploy using cargo to a remote Wildfly

Re: choices / autocomplete with option to create new item

2016-10-01 Thread Óscar Bou - GOVERTIS
On 29 September 2016 at 09:20, Óscar Bou - GOVERTIS <o....@govertis.com> >>>> wrote: >>>> >>>>> Hi, Dan. >>>>> >>>>> In our case it’s a top level annotation with any params. >>>>> >>>>> But prob

Re: choices / autocomplete with option to create new item

2016-09-29 Thread Óscar Bou - GOVERTIS
ht look like in terms of > (an extension to) Isis' annotations? > Cheers > Dan > > > On 28 September 2016 at 18:24, Óscar Bou - GOVERTIS <o@govertis.com > <mailto:o@govertis.com>> wrote: > > In our custom viewer, we have a specific annotation to id

Re: choices / autocomplete with option to create new item

2016-09-28 Thread Óscar Bou - GOVERTIS
In our custom viewer, we have a specific annotation to identify Factory Methods. We infer from the returned type the associated class they are able to instantiate. That way, we can draw a drop-down menu associated with a button, present in any param requiring an entity of that class. When a

Re: object level ownership / tenancy

2016-09-23 Thread Óscar Bou - GOVERTIS
Hi, Martin. We discussed about this recently. Please, read this thread [1] and determine if it can be helpful for your use case or need more detail. Regards, Oscar [1] https://lists.apache.org/thread.html/%3c9d9b9075-c6b8-4637-80a3-0d4801bfa...@govertis.com%3E

Re: Action is not working on deployment

2016-09-13 Thread Óscar Bou - GOVERTIS
Hi, Steve. You’re not setting both sides of the relationship (only adding to the collection, but not setting the property on the other side, assuming it’s a 1-n relationship). This is managed through 2 DN properties: - datanucleus.manageRelationships - datanucleus.manageRelationshipsChecks

Re: Anyone want to answer this question on Quora re: Isis?

2016-08-30 Thread Óscar Bou - GOVERTIS
Hi all. Nice to see that public debate and comments. The "Apache way" has the problem that you must be subscribed to the mailing lists to access all these valuable mails all we contribute ... Cheers, Oscar > El 30 ago 2016, a las 18:54, Dan Haywood >

Re: Relationship between parents and childrens Apache Isis

2016-07-13 Thread Óscar Bou - GOVERTIS
gt; > > El 13 de julio de 2016, 9:32, Óscar Bou - GOVERTIS <o@govertis.com > <mailto:o@govertis.com>> escribió: > Hi Jose Alejandro. > > Only the screenshot visible, at least for me. > > Please, can you send the code for relevant properties and collect

Re: Using Twitter to promote Apache Isis

2016-07-10 Thread Óscar Bou - GOVERTIS
d <d...@haywood-associates.co.uk> > escribió: > > Many thanks, Oscar! > On 20 Apr 2016 12:00 pm, "Óscar Bou - GOVERTIS" <o@govertis.com> wrote: > >> Hi all. >> >> I’ve just scheduled more tweets on the @ApacheIsis account [1], pointing >>

Re: strange query resultset

2016-07-01 Thread Óscar Bou - GOVERTIS
Hi Stephen. HAve you properly implemented the Comparable interface? Perhaps you’re inserting on a SortedSet or similar List structure. If so, some results could potentially be detected as the same of others previously inserted on the SortedSet, hence not available. Cheers, Oscar > El 1 jul

Re: Integrating Flyway for database migrations

2016-06-22 Thread Óscar Bou - GOVERTIS
Hi, Jeroen. Nice to know you drop the constraints when upgrading. I’ve also noticed that they get duplicated. Seems DN does not detect they’re already created and re-create them. In my case the db is PostgreSQL. As you’re using MS SQL Server in Estatio, seems it can be a generic issue. It’s

Re: Action that takes an enum set?

2016-06-19 Thread Óscar Bou - GOVERTIS
Hi Jan-Willem, Let me show you a possible implementation of the multi-tenancy feature some of us (Dan, Jeroen, Martin and me) implemented in a project. We have an abstract base class for our Domain Entities, like this one: public abstract class AbstractDomainEntity> extends

Re: for your delectation and delight...

2016-06-02 Thread Óscar Bou - GOVERTIS
Yes… Many interest and questions at the end :) Nice video for the community, together with the 67 (!!!) available 2-4 min. screencasts at [1]. Cheers, Oscar [1] https://isis.apache.org/screencasts.html > El 3 jun 2016, a las 0:24, Stephen Cameron >

Re: Edit modes in Apache Isis

2016-05-24 Thread Óscar Bou - GOVERTIS
<d...@haywood-associates.co.uk> > escribió: > > > > On 25 May 2016 at 06:41, Óscar Bou - GOVERTIS <o@govertis.com > <mailto:o@govertis.com>> wrote: > > @Dan > Not sure if at the “core” level, currently property value changes are also >

Re: Edit modes in Apache Isis

2016-05-24 Thread Óscar Bou - GOVERTIS
Hi all. I think it’s also the correct way to do it. A change in a property is considered at the UI the same way as an action execution “intent”, that can be successful or not, and can have logic associated with that update, including input validation. @Dan Not sure if at the “core” level,

Re: todoapp build failing

2016-05-18 Thread Óscar Bou - GOVERTIS
Hi Stephen. Create your own account on Github. Clone the Apache-Isis repository to Your account. Download it locally by using any git client (or make "simple" edits online using the Github editor). If changed locally, push changes to your own. GitHub repo on a new brand (I.e., ISIS-,

Re: Isis security module questions

2016-05-13 Thread Óscar Bou - GOVERTIS
lt;dar...@m-creations.com> escribió: > > Hi Óscar, > > On 2016-05-12 17:17 CEST, Óscar Bou - GOVERTIS <o@govertis.com> wrote: > >> Regarding Users and Roles current implementation, perhaps we could >> refactor it using interfaces, giving: >> - a d

Re: error 404 does not exist or is not visible

2016-04-27 Thread Óscar Bou - GOVERTIS
Hi Arturo. The error message seems to point to invoking an action that has either be misspelled, it's hidden or has been annotated with @Programmatic (and excluded from the meta model despite being a public method). Verify also you're invoking it over the proper service or domain entity

Re: HTML and Binding generator for Wicket built on top of Wicket-Bootstrap

2016-04-27 Thread Óscar Bou - GOVERTIS
UserList, since I forgot that on last reply. See answer >> below. >> >> -- Forwarded message -- >> From: subes <gsu...@gmail.com> >> Date: 2016-04-17 18:49 GMT+02:00 >> Subject: Re: HTML and Binding generator for Wicket built on top

Re: Using Twitter to promote Apache Isis

2016-04-20 Thread Óscar Bou - GOVERTIS
?list=PLbRpnAmQ6xsA-m4d2iwAuWrX1icJz0SnM > El 14 abr 2016, a las 0:03, Dan Haywood <d...@haywood-associates.co.uk> > escribió: > > Thanks, Oscar. > > > > On 13 April 2016 at 23:01, Óscar Bou - GOVERTIS <o@govertis.com> wrote: > >> Hi all.

Re: 1.12 changes to editing

2016-04-20 Thread Óscar Bou - GOVERTIS
+1 I also consider really useful a TabOrderService or similar that could allow define the tab order for a given Entity. A default implementation could navigate from top to bottom, left to right, by groups. > El 20 abr 2016, a las 11:08, Stephen Cameron >

Re: 1.12 changes to editing

2016-04-20 Thread Óscar Bou - GOVERTIS
Hi Dan. For me Jira has always been an inspiration. So I would love inbound editing, as it would hide if the property has or not a modifyXXX method associated (or a clearXXX one) when Domain Rules are placed. That ways there's no need to implement its single change through an action. Obviously

Re: HTML and Binding generator for Wicket built on top of Wicket-Bootstrap

2016-04-17 Thread Óscar Bou - GOVERTIS
Hi there also! As Dan said, it’s really a pity you did that as a separate framework. I’ve been navigating your website and noticed it’s an amazing work on the UI side. You have really advanced use cases like Wizards that could be of great help for all the Apache Isis community. In fact, as

Using Java 8 streaming API with DataNucleus Collections requires "datanucleus-java8" plugin

2016-04-10 Thread Óscar Bou - GOVERTIS
Hi all. Simply for all to know about it, if somebody is using Apache Isis with Java8 and wants to use the Streaming API with Collections managed by DataNucleus, it’s needed to add to the pom.xml the datanucleus-java8 plugin, same way as many of us use the datanucleus-jodatime plugin. If not

Re: New video showing the upcoming dynamic layout support

2016-03-07 Thread Óscar Bou - GOVERTIS
Hi, Dan. Really nice to see all this in Apache Isis. It’s really flexible and has all requirements we detailed in the email discussion: tabs, custom property groups (we internally called them sections), … Also it’s really nice the option to attach the actions to a group header, in addition

Re: multiple tenancy/scoped roles in ISIS security

2016-02-23 Thread Óscar Bou - GOVERTIS
Hi David and Jeroen, Current Isis Security add-on has an interface, "WithApplicationTenancy”, that can also be used to apply custom domain/business logic to resolve the Application Tenancy to assign to a given entity. By means of the tenancy path returned, you can determine the permissions

Re: Problems running Isis from Quartz Jobs

2016-01-04 Thread Óscar Bou - GOVERTIS
Hi Dan, Thanks for your response. Effectively, I’ve just changed in [1] the UNIT_TESTING DeploymentType to use “ContextCategory.THREADLOCAL” and the test now runs smoothly. Other tests also run ok, so seems it has solved the problem. I’ve seen you’ve just created [ISIS-1295] for addressing

Re: How should we handle void and null results

2015-12-23 Thread Óscar Bou - GOVERTIS
=THIS” or similar. Cheers, Oscar > El 22 dic 2015, a las 19:13, Dan Haywood <d...@haywood-associates.co.uk> > escribió: > > On 22 December 2015 at 15:19, Óscar Bou - GOVERTIS <o@govertis.com> > wrote: > >> >> Hi all. >> >> I fin

Re: How should we handle void and null results

2015-12-22 Thread Óscar Bou - GOVERTIS
Hi all. I find the SPI Service really useful for advanced use cases. But in order to have the desired behavior clearly specified on the same class definition, shouldn't be helpful to also have an annotation indicating the desired behavior (like returning this instance)? Christmas here also

Re: Swagger UI integration, custom mobile apps

2015-12-13 Thread Óscar Bou - GOVERTIS
Hi, Dan. Really nice work! It opens up a whole new world of options, allowing Apache Isis to be a first class option for modeling the Domain of Webapps implemented by other technologies. There are plenty of Web / Mobile UI frameworks or dev environments out there, but neither of them have

Re: Thinking about re-introducing UML in our workflow

2015-11-26 Thread Óscar Bou - GOVERTIS
gt; will watch the video. >>> >>> >>>> The issue I have found is that if the class contains a java.util.List, >> it >>>> won't import the whole class (typically repositories or menu classes). >>>> Haven't find the time to check why or solv

Re: Overly complex compareTo()

2015-11-26 Thread Óscar Bou - GOVERTIS
Hi Stephen. You can also use Guava’s ComparisonChain as detailed in [1]. Cheers, Oscar [1] http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/collect/ComparisonChain.html > El 26 nov 2015, a las 12:30, Stephen Cameron > escribió: > > Hi

Re: Thinking about re-introducing UML in our workflow

2015-11-23 Thread Óscar Bou - GOVERTIS
grams >>>> including use cases, state machine, activity and many more). I tried >>>> adding a property within a domain object class, then redo java >>>> engineer and it keeps my diagram and was able to include the new >>>> property. I haven't been able to d

Re: Thinking about re-introducing UML in our workflow

2015-11-16 Thread Óscar Bou - GOVERTIS
o the database. >>> >>> Quite right. Any business app that is non trivial should be domain >>> modelled. >>> >>> David. >>> >>>> Dan >>> >>> >>> >>> >>> >>>> On 14 Novemb

Re: Thinking about re-introducing UML in our workflow

2015-11-16 Thread Óscar Bou - GOVERTIS
://www.eclipse.org/papyrus/ [4] https://www.eclipsecon.org/europe2015/session/papyrus4java-uml-diagrams-ordinary-java-developers > El 16 nov 2015, a las 11:29, Óscar Bou - GOVERTIS <o@govertis.com> > escribió: > > > Hi all. > > First of all, the good news for al

Re: Thinking about re-introducing UML in our workflow

2015-11-14 Thread Óscar Bou - GOVERTIS
ada > Chief Technology Officer > > > >> On 14 Nov 2015, at 3:49 PM, Óscar Bou - GOVERTIS <o@govertis.com >> <mailto:o@govertis.com>> wrote: >> >> Many thanks, Stephen for this detailed explanation. >> >> The problem I’m facing is that I in

Re: Thinking about re-introducing UML in our workflow

2015-11-14 Thread Óscar Bou - GOVERTIS
; [2]http://schemaspy.sourceforge.net/sample/relationships.html > [3] > http://www.datanucleus.org/products/accessplatform_2_1/rdbms/schematool.html > [4]http://camprocessor.sourceforge.net/wiki/index.php/Main_Page > [5]https://wiki.eclipse.org/EclipseLink/Examples/MOXy/Dynamic &

Re: Thinking about re-introducing UML in our workflow

2015-11-14 Thread Óscar Bou - GOVERTIS
Perhaps you could see what the plantunl/xtext/Eclipse story is, and > whether it fits your desired work flow . > > Cheers, > Dan >> On 14 Nov 2015 17:23, "Óscar Bou - GOVERTIS" <o@govertis.com> wrote: >> >> Really nice to hear is your full circle, D

Re: Thinking about re-introducing UML in our workflow

2015-11-14 Thread Óscar Bou - GOVERTIS
..@haywood-associates.co.uk> > escribió: > > On 13 November 2015 at 09:45, Óscar Bou - GOVERTIS <o@govertis.com> > wrote: > >> >> Hi all. >> >> I’m considering re-introducing UML Class diagrams in our workflow mainly >> for: >>

Thinking about re-introducing UML in our workflow

2015-11-13 Thread Óscar Bou - GOVERTIS
Hi all. I’m considering re-introducing UML Class diagrams in our workflow mainly for: - graphically design the domain entities. - modeling relationships. - agree with names of properties, collections and actions needed. It would be wonderful if the UML solution could also be “integrated” with

Re: Update to the "Powered by" page

2015-11-11 Thread Óscar Bou - GOVERTIS
It’s even more than that, Cesar. After a thoughtful technical Due Diligence, Telefonica has bought a solution implemented on the Apache Isis platform. So it’s even more than that. Both Nacho (currently working for Telefonica) and me (still in the Product Management role) can assure you its

Re: datanucleus foreign key name

2015-11-06 Thread Óscar Bou - GOVERTIS
Hi to all. Not sure and cannot test it now, but the "jpa” naming config. didn’t included those suffixes. Try it yourself. Regards, Oscar > El 6 nov 2015, a las 14:35, Jeroen van der Wal escribió: > > You can write your own Datanucleus identifier factory [1]: extend >

Re: Add tenancy programtically

2015-11-04 Thread Óscar Bou - GOVERTIS
Hi again, Cesar. You can use the ApplicationTenancies domain service. It has a "newTenancy" action. See [1]. HTH, Oscar [1] https://github.com/isisaddons/isis-module-security/blob/master/dom/src/main/java/org/isisaddons/module/security/dom/tenancy/ApplicationTenancies.java > El 4 nov

Re: Add tenancy programtically

2015-11-04 Thread Óscar Bou - GOVERTIS
Answered before by Dan in greater detail (and with the new domain service name). So forget :) > El 5 nov 2015, a las 0:07, Óscar Bou - GOVERTIS <o@govertis.com> escribió: > > > Hi again, Cesar. > > You can use the ApplicationTenancies domain service. > >

Re: faster development in eclipse

2015-10-17 Thread Óscar Bou - GOVERTIS
Hi to all. Just our experience. We currently have in production an Isis-based system with more than 4.600 integration tests fully automated through Jenkins, giving us a code coverage over the 70% barrier normally used as reference in Silicon Valley. We currently have “no UI” testing at all,

Re: Spiro support in Isis

2015-10-14 Thread Óscar Bou - GOVERTIS
> I do also think we should provide a Swagger (or Blueprints, or RAML) > integration, though. > > I guess maybe I need to roll my sleeves up and dig into all this (sigh). > > Thx > Dan > > > > On 14 October 2015 at 08:04, Óscar Bou - GOVERTIS <o@govertis.c

Re: Apache ISIS relationships

2015-10-09 Thread Óscar Bou - GOVERTIS
Hi Cesar. As Dan points out, m:n relationships are only useful when the "link" does not have associated attributes or domain logic associated. We have use cases similar to yours. Many times there's a hidden "entity" there with its own meaning, and just sometimes we simply model it as an m:n

Re: Apache ISIS relationships

2015-10-09 Thread Óscar Bou - GOVERTIS
Foreign Keys): public class Vendor { // {{ Item (Collection) @Persistent(mappedBy = "vendor", dependentElement = "true") @Join private SortedSet items = new TreeSet(); public SortedSet getItem() { return items; } public void setItem( final SortedSet items