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 hidden

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 eac

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 Isi

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 Prod

Re: How to hide a menu obejct

2017-02-15 Thread Óscar Bou - GOVERTIS
're not >> certain if we're going to stick with it, but the original thinking was >> similar to what you say. >> >> Cheers >> >> [1] >> https://github.com/estatio/estatio/tree/master/estatioapp/app/src/main/java/org/estatio/app/menus >> &g

Re: How to hide a menu obejct

2017-02-15 Thread Óscar Bou - GOVERTIS
You could define the "menu service", and other coordination services invoking domain actions that could be guided by the use cases / UI, in an "app" module, different from the "domain" one. My 2cts ... > El 15 feb 2017, a las 17:17, Dan Haywood > escribió: > > The pattern we suggest is tw

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 everyone else... > I just to say this i

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 Haywood > wrote: > >> I'm

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 server. After several > deplo

Re: choices / autocomplete with option to create new item

2016-10-01 Thread Óscar Bou - GOVERTIS
r >> was very slow, as I assume Apache Isis was building all the complete >> objects, essentially just to be able to create the title of each to show in >> the UI. So to get around this I created an "ParticipantIdentity" ViewModel >> class (based on a data

Re: choices / autocomplete with option to create new item

2016-09-29 Thread Óscar Bou - GOVERTIS
Isis' annotations? > Cheers > Dan > > > On 28 September 2016 at 18:24, Óscar Bou - GOVERTIS <mailto:o@govertis.com>> wrote: > > In our custom viewer, we have a specific annotation to identify Factory > Methods. > We infer from the returned type the

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 fac

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 Hav

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 > escribió: > > many thanks, Patrick. >

Re: Redefining schema name in config file (to override JDO class annotation setting)

2016-08-22 Thread Óscar Bou - GOVERTIS
Hi Stephen, Found Dan’s comment on a issue on github which details how to override it with “package.jdo” in META-INF: https://github.com/isisaddons/isis-module-security/issues/35 HTH, Oscar > El 17 ago 2016, a las 4:24, Stephen Cameron > escribió: > > Hi, > > I am using the security mod

Re: Relationship between parents and childrens Apache Isis

2016-07-13 Thread Óscar Bou - GOVERTIS
s.applib.services.repository.RepositoryService; > import org.apache.isis.applib.util.ObjectContracts; > > import org.apache.isis.applib.annotation.MemberOrder; > import org.apache.isis.applib.annotation.NatureOfService; > import org.apache.isis.applib.annotation.ParameterLayout; > import org.apache.isis.applib.annotation.SemanticsOf; > > @D

Re: Relationship between parents and childrens Apache Isis

2016-07-13 Thread Óscar Bou - GOVERTIS
Hi Jose Alejandro. Only the screenshot visible, at least for me. Please, can you send the code for relevant properties and collections in all classes ? Cheers, Oscar > El 13 jul 2016, a las 16:27, José Alejandro Manaure Martinez > escribió: > > Hi Dan > > I have a relationship between cl

Re: Relationship between parents and childrens Apache Isis

2016-07-13 Thread Óscar Bou - GOVERTIS
Hola, Jose Alejandro. Seems screenshots are allowed, but attachments removed. Can you copy-n-paste Java code for relevant classes? > El 13 jul 2016, a las 16:37, José Alejandro Manaure Martinez > escribió: > > Hi Oscar > Attached class code. > > > El 13 de julio

Re: Using Twitter to promote Apache Isis

2016-07-10 Thread Óscar Bou - GOVERTIS
od > escribió: > > Many thanks, Oscar! > On 20 Apr 2016 12:00 pm, "Óscar Bou - GOVERTIS" wrote: > >> Hi all. >> >> I’ve just scheduled more tweets on the @ApacheIsis account [1], pointing >> to Dan’s YouTube short (and wonderful !!!) video tutorials

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 2

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 st

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 AbstractDoma

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 > escribió: > > delicious! > > On Fr

Re: Edit modes in Apache Isis

2016-05-24 Thread Óscar Bou - GOVERTIS
ood > escribió: > > > > On 25 May 2016 at 06:41, Óscar Bou - GOVERTIS <mailto:o@govertis.com>> wrote: > > @Dan > Not sure if at the “core” level, currently property value changes are also > managed the same way as an Action execution “intent”. Perhaps not? T

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, curr

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-, bein

Re: Isis security module questions

2016-05-13 Thread Óscar Bou - GOVERTIS
abi escribió: > > Hi Óscar, > > On 2016-05-12 17:17 CEST, Óscar Bou - GOVERTIS wrote: > >> Regarding Users and Roles current implementation, perhaps we could >> refactor it using interfaces, giving: >> - a default implementation (the current JDO-based one that persists

Re: Isis security module questions

2016-05-12 Thread Óscar Bou - GOVERTIS
Hi, Kambiz. Interesting. Regarding Users and Roles current implementation, perhaps we could refactor it using interfaces, giving: - a default implementation (the current JDO-based one that persists to the database). - a new one based on the DN LDAP repository support, extending that interface,

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 instan

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

2016-04-27 Thread Óscar Bou - GOVERTIS
See answer >> below. >> >> -- Forwarded message -- >> From: subes >> Date: 2016-04-17 18:49 GMT+02:00 >> Subject: Re: HTML and Binding generator for Wicket built on top of >> Wicket-Bootstrap >> To: Óscar Bou - GOVERTIS >> &g

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 > escribió: > > Thanks, Oscar. > > > > On 13 April 2016 at 23:01, Óscar Bou - GOVERTIS wrote: > >> Hi all. >> >> I’ve just scheduled tweets until next Sunday. &

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 > escribió: > > Thanks for the detail

Re: 1.12 changes to editing

2016-04-19 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 a

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 far

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 pr

Re: Problem with menu bars translation

2016-03-13 Thread Óscar Bou - GOVERTIS
Hi Dan and ROBERTO. Roberto is a mate of Carlos in the TellmeGen project. Not sure but I slightly remember there was some custom code in that project for localization depending on browser. Not sure if it was an Isis or Wicket trick ... > El 13 mar 2016, a las 20:03, Dan Haywood > escribió:

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 to

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 that

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 thi

Re: How should we handle void and null results

2015-12-23 Thread Óscar Bou - GOVERTIS
similar. Cheers, Oscar > El 22 dic 2015, a las 19:13, Dan Haywood > escribió: > > On 22 December 2015 at 15:19, Óscar Bou - GOVERTIS > wrote: > >> >> Hi all. >> >> I find the SPI Service really useful for advanced use cases. >> >

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 spe

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 Again > > Thanks for your tho

Re: Thinking about re-introducing UML in our workflow

2015-11-26 Thread Óscar Bou - GOVERTIS
;> 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 solve that, but I can see in the >> UML >>>> reposito

Re: Thinking about re-introducing UML in our workflow

2015-11-23 Thread Óscar Bou - GOVERTIS
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 do the opposite, adding a proper

Re: Thinking about re-introducing UML in our workflow

2015-11-16 Thread Óscar Bou - GOVERTIS
http://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 > escribió: > > > Hi all. > > First of all, the good news for all romantics: > >

Re: Thinking about re-introducing UML in our workflow

2015-11-16 Thread Óscar Bou - GOVERTIS
d for small databases is still Microsoft Access. Access has many >>>> strengths as a desktop database, including form generation and also >>> dynamic >>>> query-by-form, but the problems arise when you want to make such data >>>> publicly available, in the sen

Re: Thinking about re-introducing UML in our workflow

2015-11-14 Thread Óscar Bou - GOVERTIS
plantunl/xtext/Eclipse story is, and > whether it fits your desired work flow . > > Cheers, > Dan >> On 14 Nov 2015 17:23, "Óscar Bou - GOVERTIS" wrote: >> >> Really nice to hear is your full circle, Dan :) >> >> Mine also. >> I star

Re: Thinking about re-introducing UML in our workflow

2015-11-14 Thread Óscar Bou - GOVERTIS
; escribió: > > On 13 November 2015 at 09:45, Óscar Bou - GOVERTIS > wrote: > >> >> Hi all. >> >> I’m considering re-introducing UML Class diagrams in our workflow mainly >> for: >> - graphically design the domain entities. >> - modeling rel

Re: Thinking about re-introducing UML in our workflow

2015-11-14 Thread Óscar Bou - GOVERTIS
> >> On 14 Nov 2015, at 3:49 PM, Óscar Bou - GOVERTIS > <mailto:o@govertis.com>> wrote: >> >> Many thanks, Stephen for this detailed explanation. >> >> The problem I’m facing is that I intent to communicate the developers what’s >> the model

Re: Thinking about re-introducing UML in our workflow

2015-11-14 Thread Óscar Bou - GOVERTIS
d setters only). > > > [1]http://www.developerdotstar.com/mag/articles/reeves_design_main.html > [2]http://schemaspy.sourceforge.net/sample/relationships.html > [3] > http://www.datanucleus.org/products/accessplatform_2_1/rdbms/schematool.html > [4]http://camprocessor.sourceforg

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 A

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
gt; > Indeed it omits _OID but still adds _ID [1] > > [1] > https://github.com/datanucleus/datanucleus-rdbms/blob/0a769efa72174ee0907f4b9c4d5eb7e5389058d6/src/main/java/org/datanucleus/store/rdbms/identifier/JPAIdentifierFactory.java#L40-L42 > > On 6 November 2015 at 14:42, Óscar

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 > DN2IdentifierFactory

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 escribió: > > > Hi again, Cesar. > > You can use the ApplicationTenancies domain service. > > It has a "ne

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 2015

Re: Metamodel validation

2015-11-04 Thread Óscar Bou - GOVERTIS
Hi Cesar. "disable" is a reserved prefix in Isis. When present Isis evaluate it I order to programmatically determine if a given property or action must be disabled. As it is finding a method named "disableXXX" it's trying to find a property whose name is XXX in order to know for which one thi

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, in

Re: Spiro support in Isis

2015-10-14 Thread Óscar Bou - GOVERTIS
d 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 > wrote: > >> >> Sorry for th

Re: Spiro support in Isis

2015-10-14 Thread Óscar Bou - GOVERTIS
Sorry for this, but would be of any help to fully support something like Swagger (perhaps there are better options; thought it was somewhat supported through Maven?) ? If all we could agree on a common well-known standard in addition to RO specification it would help our current custom viewer

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

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