Re: Hi to all. Project introduction and some doubts

2013-05-03 Thread GESCONSULTOR - Óscar Bou
and/or dev@isis.a.o. I'll reply in line so that I don't miss anything On 2 May 2013 17:36, GESCONSULTOR - Óscar Bou o@gesconsultor.com wrote: We are using JPA with an Hibernate implementation ... As you probably know, the Hibernate license is incompatible with ASF; this is one

Re: Hi to all. Project introduction and some doubts

2013-05-03 Thread GESCONSULTOR - Óscar Bou
On 2 May 2013 17:36, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: We are using JPA with an Hibernate implementation ... As you probably know, the Hibernate license is incompatible with ASF; this is one of the reasons why we use JDO/DN. Here are some examples

Suggestion: More helpful messages on validation exceptions for easier debugging

2013-05-10 Thread GESCONSULTOR - Óscar Bou
Hi to all. First of all, it's recommended to evaluate Apache Isis over the current snapshot's quickstart_wicket_restful_jdo-archetype or using the current released version? It's quite stable for evaluation purposes? I can understand the opposite, as all bugs I can found are well known. But if

Re: Suggestion: More helpful messages on validation exceptions for easier debugging

2013-05-13 Thread GESCONSULTOR - Óscar Bou
it with our Domain, but those contributions are annotated :-) El 12/05/2013, a las 16:01, Dan Haywood d...@haywood-associates.co.uk escribió: On Friday, 10 May 2013, GESCONSULTOR - Óscar Bou wrote: Hi to all. First of all, it's recommended to evaluate Apache Isis over the current

Re: Hi to all. Project introduction and some doubts

2013-05-13 Thread GESCONSULTOR - Óscar Bou
May 2013, GESCONSULTOR - Óscar Bou wrote: What's the status of the DHTMLX viewer? This is Maurizio's baby, so he should probably answer for definite. My guess is that there's a month or two more of development required on it, though the best way to knock off the rough edges would

Re: Suggestion: More helpful messages on validation exceptions for easier debugging

2013-05-14 Thread GESCONSULTOR - Óscar Bou
, for prototyping we are planning to use it. Let's see what happens for production... I will create now the Jira tickets. El 14/05/2013, a las 08:34, Dan Haywood d...@haywood-associates.co.uk escribió: On 13 May 2013 14:06, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: Nice to see

Re: Need help naming a new annotation.

2013-05-17 Thread GESCONSULTOR - Óscar Bou
Perhaps better @IntervalBegin and @IntervalEnd instead. El 17/05/2013, a las 07:44, GESCONSULTOR o@gesconsultor.com escribió: Perhaps is more difficult to implement or implies a solution not properly thought, but what about the annotation representing an Interval? It could represent

Custom Queries - or Accessing the JDO PersistenceManager

2013-06-05 Thread GESCONSULTOR - Óscar Bou
Hi to all. We need to implement generic JDO repositories with methods for our UI like findByDatabaseId(String Id) etc. Also, there's sometimes the need to be able to compose a query as a string instead of using one pre-declared on a Class with the JDO @Queries annotation (for example, for

Re: Custom Queries - or Accessing the JDO PersistenceManager

2013-06-05 Thread GESCONSULTOR - Óscar Bou
and inject into your repositories etc. ~~~ Related, we have a sketchy plan to integrate Lucene into Isis. Then a lot of these adhoc queries may just disappear as a requirement. Cheers Dan On 5 June 2013 11:43, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: Hi to all

Compiling last snapshot

2013-06-06 Thread GESCONSULTOR - Óscar Bou
I'm trying to compile the last snapshot and install locally. The JDO package is not properly generated and cannot be installed into the local repository. The active Maven profile is deploy-local. Any ideas? Thanks in advance! [INFO]

Re: Apache Isis i18n support

2013-06-11 Thread GESCONSULTOR - Óscar Bou
by TitleFacet implementations is hit-n-miss, however. For safety, probably best to fall back on using the title() method and internationalizing yourself using something like gettext-commons, above. Let us know how you get on, Dan On 11 June 2013 08:41, GESCONSULTOR - Óscar Bou o

Re: Exception thrown while running tests on latest archetype

2013-06-11 Thread GESCONSULTOR - Óscar Bou
? On 11 June 2013 10:35, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: I've just created a new archetype project using the following command, in order to test some things within a basic domain, using the following commands: mvn archetype:generate -D archetypeGroupId

Re: New template

2013-06-13 Thread GESCONSULTOR - Óscar Bou
Not a problem to postpone those changes to the Wicket viewer, don't worry. We are customizing our Wavemaker solution to run with Isis. El 13/06/2013, a las 18:56, Dan Haywood d...@haywood-associates.co.uk escribió: On 13 June 2013 15:12, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote

DataNucleus enhancer problem?

2013-06-26 Thread GESCONSULTOR - Óscar Bou
While executing JUnit tests with the new integtests classes I receive the following exception (same happening from the Eclipse Junit installation and from Maven tests). I'm not sure if it's a problem of the DataNucleus Enhancer or Isis: java.lang.RuntimeException:

DataNucleus enhancer problem when building domain module (and solution)

2013-06-27 Thread GESCONSULTOR - Óscar Bou
Today seems that DataNucleus has updated Maven with a new version of the Enhancer (3.2.5) (and probably the Core). Until now we were working with version 3.2.4. That has break the Maven build process, as seems that the new Enhancer version uses an updated Data Nucleus Core version. It's

Microsoft CRM as a reference architecture

2013-06-28 Thread GESCONSULTOR - Óscar Bou
As I've seen on the Maurizio presentation, the DHTMLX viewer, together with the DSL and the possibility to add scripting to those pages would allow us to an architecture quite similar to the one designed for Microsoft CRM, both at the viewer level and at the domain level with Isis, which was

Re: Estatio has been open sourced...

2013-07-16 Thread GESCONSULTOR - Óscar Bou
Thanks a lot and Congratulations! Nice way to start a week: a fully open-source application made with Isis and BDD implementation. In my case, compiling against latest snapshot of Isis and the Estatio webapp has a dependency management problem regarding the SQL SERVER driver (should be

BDD - w00t!

2013-07-22 Thread GESCONSULTOR - Óscar Bou
Hi, Dan. Really enjoying the new BDD features! I have just adapted old tests and created first Scenario. Whe executed as @integration it has worked perfectly (including DN managing properly a 1-n bidirectional relationship), but when I've changed to @unit scope, it has failed with the

Re: choices for properties and action params could be changed to accept Collections and not only Lists?

2013-07-24 Thread GESCONSULTOR - Óscar Bou
enough one to implement :-) Dan On 23 July 2013 16:52, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: Currently there is not possible to return a Set to the choices of a property or param action. As with JDO more and more collections are implemented as SortedSets, we

New Isis annotation @IsisRepository

2013-07-24 Thread GESCONSULTOR - Óscar Bou
Hi, Dan. We are implementing some BDD tests. And we have the need to always write custom spec transformers (one for each domain entity class) like this one: public class ETO { private ETO() {} ... public static class Party extends NullRecognizingTransformerorg.estatio.dom.party.Party

BDD - Domain Object property not validated after persist ?

2013-08-03 Thread GESCONSULTOR - Óscar Bou
I'm executing this from inside a BDD integration test. I have a Domain Object that inherits from this class, which contains a required name property: public abstract class AbstractMultiTenantEntity extends AbstractMultiTenantObject implements MultiTenantEntity { /**

Re: BDD - Domain Object property not validated after persist ?

2013-08-06 Thread GESCONSULTOR - Óscar Bou
...@haywood-associates.co.uk escribió: Oscar, You've convinced me... we should keep our entities consistent across the layers. More discussion inline below Dan On 5 August 2013 17:00, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: But I presume there was a reason that you

Re: BDD - Domain Object property not validated after persist ?

2013-08-06 Thread GESCONSULTOR - Óscar Bou
an Apache Isis domain implementation? [1] http://docs.jboss.org/hibernate/stable/validator/reference/en-US/html_single/ El 06/08/2013, a las 19:10, GESCONSULTOR - Óscar Bou o@gesconsultor.com escribió: Thanks for your responses, Dan and Jeroen. Nice to be in such a responsive

Re: rules externalised from the code

2013-08-07 Thread GESCONSULTOR - Óscar Bou
Nice solution! On the latest snapshot is possible by using the new executeSql(...) method in the IsisJdoSupport service. El 07/08/2013, a las 09:37, David Tildesley davo...@yahoo.co.nz escribió: Would JDO query be a candidate (assuming the query text can be associated with an object

Re: [ANNOUNCE] New committer - Oscar Bou

2013-08-12 Thread GESCONSULTOR - Óscar Bou
First of all, excuse for this quite long email, but I'm really grateful for being accepted as a committer to Apache Isis, and I would like to express the reasons behind this commitment in the hope it helps other list subscribers to move to Apache Isis, and also to contrast my thoughts. Our

Re: [ANNOUNCE] New committer - Oscar Bou

2013-08-13 Thread GESCONSULTOR - Óscar Bou
. From: GESCONSULTOR - Óscar Bou o@gesconsultor.com To: users@isis.apache.org Cc: dev d...@isis.apache.org Sent: Tuesday, 13 August 2013 2:12 AM Subject: Re: [ANNOUNCE] New committer - Oscar Bou First of all, excuse for this quite long email

New Apache Isis templates for JDO managed relationships

2013-08-20 Thread GESCONSULTOR - Óscar Bou
Hi to all. I've just made a commit which contains a new set of templates for the Eclipse Java Editor, that automatically add all required annotations for JDO managed relationships. If properly used and configured, DataNucleus JDO implementation automatically updates both sides of a

Re: CSS Style in application.css (For use the Bookmark Slide BAR)

2013-08-31 Thread GESCONSULTOR - Óscar Bou
Hi, Ezequiel. I doubt there's a documented list, but perhaps you can find them alltogether on the source code directory at [1]. Specifically, you can find of interest: - Components at [2]. - Pages at [3]. - Links at [4]. - Tabs at [5]. Please, share a screen capture when finished :-) HTH,

Re: [DISCUSSION] Should we refactor the Wicket viewer to use Bootstrap?

2013-09-03 Thread GESCONSULTOR - Óscar Bou
+1 to the refactoring. Currently we are forced to maintain our current custom viewer, but with a more easily customized viewer we could migrate it. I think that the automatic viewer generation is the most valued feature of the Isis framework, but the current implementation is not as

Re: Isis session and transaction management on a custom viewer

2013-09-06 Thread GESCONSULTOR - Óscar Bou
, apols for the delay in replying on this; within... And, I'm cc'ing this to dev@i.a.o; I think it belongs there better. Dan On 26 August 2013 15:45, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: [snip] ... we have some questions about current design: 1.- Stateful (Wicket) vs

Re: Isis session and transaction management on a custom viewer

2013-09-06 Thread GESCONSULTOR - Óscar Bou
Hi, David. Really interesting. This second we plan to integrate with the CAS SSO platform the Isis domain, as detailed in [1]. Authentication in CAS, authorization in Domain, thanks to Shiro (and also on CAS on ). It would be helpful to know about your approach to logout and session

Re: Isis session and transaction management on a custom viewer

2013-09-07 Thread GESCONSULTOR - Óscar Bou
as SSO can confuse them when it seamlessly logs them back in but they get a different session. Cheers, David. From: GESCONSULTOR - Óscar Bou o@gesconsultor.com To: users@isis.apache.org; David Tildesley davo...@yahoo.co.nz Cc: dev d

Re: Screencast #3

2013-09-07 Thread GESCONSULTOR - Óscar Bou
Just to clarify, the point is that our current viewer, based on Wavemaker, is implemented in DOJO, and we have all screen widgets composition code. As we must refactor the Isis session management, perhaps a good solution would be to re-use the js viewer code, but, as you pointed out, that will

Re: [DISCUSSION] next gen viewer

2013-09-07 Thread GESCONSULTOR - Óscar Bou
-viewer-dhtmlx.appspot.com On 7 September 2013 09:03, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: Just to clarify, the point is that our current viewer, based on Wavemaker, is implemented in DOJO, and we have all screen widgets composition code. As we must refactor the Isis

Re: [DISCUSSION] next gen viewer

2013-09-07 Thread GESCONSULTOR - Óscar Bou
Isis and take a similar view). El 07/09/2013, a las 12:22, Dan Haywood d...@haywood-associates.co.uk escribió: On 7 September 2013 11:02, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: First of all, the meeting is a great idea ! Count, at least, with me... On those dates

Re: Using JDO helper methods to check existence of an object for a test

2013-09-07 Thread GESCONSULTOR - Óscar Bou
I've just been thinking about a way to avoid to define a Spec Transformer for every Entity class in the Domain. As it's just infrastructure software, I thought that was just enough. The attached code allows to use just one Spec Transformer when the Glue is written like this: - the employee

Re: [DISCUSSION] Mothballing SQL ObjectStore, auto-inferring JDO annotations from Isis conventions

2013-09-08 Thread GESCONSULTOR - Óscar Bou
I must admit that was one of our expectations when we firstly approximated Isis, perhaps because we were following the email list or saw the SQL Objectstore, etc. In fact, seems that recently we have taken the opposite path (by requiring nearly all Entity properties to be annotated with

Re: [DISCUSSION] Using a DSL as a pure object model (was: Mothballing SQL ObjectStore, auto-inferring JDO annotations from Isis conventions)

2013-09-12 Thread GESCONSULTOR - Óscar Bou
that he can mend your car as well. I'm learning so much here! ... :-)) El 12/09/2013, a las 13:37, Dan Haywood d...@haywood-associates.co.uk escribió: On 12 September 2013 09:37, GESCONSULTOR - Óscar Bou o@gesconsultor.com wrote: I think that we are considering 3 different use cases

Re: infinite loop being hit during isis startup

2013-09-13 Thread GESCONSULTOR - Óscar Bou
Same happened to a mate upgrading to the latest snapshot. A default value as suggested by Jeremy would be ok. Jeremy, did you see the mail at [1] ? It's intent was to solve your idea of a generic Spec Transformer for Isis entities. There I copied the code of a generic class. I'm testing an

Re: [DISCUSSION] should Isis drop JDK 1.6 support?

2013-10-14 Thread GESCONSULTOR - Óscar Bou
+1 El 13/10/2013, a las 20:13, Michael Xiao michael.b.x...@gmail.com escribió: +1 On 11 October 2013 23:59, Dan Haywood d...@haywood-associates.co.uk wrote: Several reasons: 1. Martin Grigorov (Wicket committer) and Michael Haitz (similar Wicket expert) are working on ISIS-537 [1]

Re: Views and view models

2013-11-12 Thread GESCONSULTOR - Óscar Bou
Hi James, In our case, the reporting capabilities were of high importance to the end-users, so we chose to integrate a full Self-Service BI platform as part of the whole solution, instead of developing a custom integration with Jasper, custom charts, etc. The solution is SpagoBI. Find more

Services still not injected when entering @PostConstruct methods on a Service

2013-11-17 Thread GESCONSULTOR - Óscar Bou
Hi to all. I have an Isis service that needs to initialize a server upon creation (it's a Drools session, but it would be the same with an email server, for instance). For initializing that server, I need to pass it references to other Isis services (in this case Drools globals). If, as per

Re: Services still not injected when entering @PostConstruct methods on a Service

2013-11-17 Thread GESCONSULTOR - Óscar Bou
#.40PostConstruct.2C_.40PreDestroy_.28javax.annotation.29 El 17/11/2013, a las 17:15, GESCONSULTOR - Óscar Bou o@gesconsultor.com escribió: Hi to all. I have an Isis service that needs to initialize a server upon creation (it's a Drools session, but it would be the same with an email server

Re: error running isis Quickstart

2013-11-22 Thread GESCONSULTOR - Óscar Bou
Our main workflow stopper while testing is also that the DatNucleus Enhancer is sometimes unreliable... It's really difficult to know what's the root cause, but seems easy to enter on a case when the classes have not been enhanced and the cannot instantiate an abstract class, or similar to

Re: error running isis Quickstart

2013-11-24 Thread GESCONSULTOR - Óscar Bou
from Eclipse. Or maybe trigger runtime enhancement when the exception appears en restart afterwards? Very nice to hear that you're committed though :-) -Jeroen [1] On Fri, Nov 22, 2013 at 6:46 PM, GESCONSULTOR - Óscar Bou o@gesconsultor.com wrote: Our main workflow stopper

Re: If using trunk, must register entities eagerly (ISIS-611)

2013-11-27 Thread GESCONSULTOR - Óscar Bou
Just to clarify, for people migrating to the latest snapshot after this commit, the only (optional) thing to do is remove the RegisterEntities from isis.properties as it's no longer needed, isn't it? El 27/11/2013, a las 09:31, Dan Haywood d...@haywood-associates.co.uk escribió: Folks,

Re: ISIS-486: modal dialogs for action prompts

2013-12-02 Thread GESCONSULTOR - Óscar Bou
Good done. We also use modal dialogs on our custom viewer to avoid context switching. The same dialog redirects to a Domain Object if that's the result of the action invocation, or currently shows a Collection in a grid on the same dialog if that's the result of the action. The user can

Re: Few questions

2013-12-12 Thread GESCONSULTOR - Óscar Bou
Hi, Satyendra. We migrated our Domain from JPA to JDO in order to work with Isis. It was really easy and the advantages to use Isis for implementing the business rules overcomes the invested effort (less than 2 days) . Basically, a find-and-replace work that can nearly be done automatically.

Re: IsisException: Object not yet known to Isis

2013-12-13 Thread GESCONSULTOR - Óscar Bou
On 13 December 2013 15:55, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: Hi to all. While testing a part of our app, the following exception has been raised. It blocks the execution of any logic. Not sure about if it's a framework error or perhaps something regarding Isis

Re: IsisException: Object not yet known to Isis

2013-12-13 Thread GESCONSULTOR - Óscar Bou
(...); this latter method will create the adapter if it's not there. Dan On 13 December 2013 16:37, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: Thanks a lot, Dan. This object is: [value=1.000, [name=1 hour, [tenantId=TENANT, [id=91FB2A32-BDC6-47A3-A67D-CE76FA4EF5EF, class

Re: IsisException: Object not yet known to Isis

2013-12-13 Thread GESCONSULTOR - Óscar Bou
obviously only something to do running under HSQLDB. Cheers Dan On 13 December 2013 17:19, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: Not being able to reproduce it now, as I need one system administrator that has just left until Monday. Those entities are part

Re: IsisException: Object not yet known to Isis

2013-12-21 Thread GESCONSULTOR - Óscar Bou
known to Isis: {0}, pojo)); } Should it be updated on Isis? El 13/12/2013, a las 18:36, GESCONSULTOR - Óscar Bou o@gesconsultor.com escribió: Just to clarify to anyone seeing this code, I've noticed there was some legacy code on this Entity (the Programming Model's addTo removeFrom

Re: IsisException: Object not yet known to Isis

2013-12-27 Thread GESCONSULTOR - Óscar Bou
(MessageFormat.format(Object not yet known to Isis: {0}, pojo)); } Should it be updated on Isis? El 13/12/2013, a las 18:36, GESCONSULTOR - Óscar Bou o@gesconsultor.com escribió: Just to clarify to anyone seeing this code, I've noticed there was some legacy code

Fast workflow on Isis

2013-12-27 Thread GESCONSULTOR - Óscar Bou
Hi to all. Dan, some days ago you commented the possibility to accelerate the workflow by integrating with JRebel. Just to mention, seems on the Ninja Framework they have achieved something similar as detailed in [1]. This functionality is introduced at [2], where it references an article in

Re: ISIS with JPA

2014-01-06 Thread GESCONSULTOR - Óscar Bou
Seems Jeroen's posted at the same time :-)) Alternatively, there's an easier path that would be to support JPA through DataNucleus. Regards, Oscar El 06/01/2014, a las 11:56, GESCONSULTOR - Óscar Bou o@gesconsultor.com escribió: Hi, Chittari. Currently Isis does not have

Re: ISIS with JPA

2014-01-06 Thread GESCONSULTOR - Óscar Bou
El 06/01/2014, a las 12:11, chittari.va...@wipro.com chittari.va...@wipro.com escribió: I think JPA through DataNucleus should also be OK. Is there any guide to override the config of JDO in ISIS? BR Ranganath Varma -Original Message- From: GESCONSULTOR - Óscar Bou [mailto:o

Re: ISIS with JPA

2014-01-06 Thread GESCONSULTOR - Óscar Bou
, chittari.va...@wipro.com chittari.va...@wipro.com escribió: I think JPA through DataNucleus should also be OK. Is there any guide to override the config of JDO in ISIS? BR Ranganath Varma -Original Message- From: GESCONSULTOR - Óscar Bou [mailto:o@gesconsultor.com] Sent: Monday

Re: ISIS with JPA

2014-01-07 Thread GESCONSULTOR - Óscar Bou
-associates.co.uk escribió: On 6 January 2014 11:29, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: ... There's no guide as it would be needed to implement something equivalent to the isis-objectstore-jdo [1]. Perhaps Jeroen or Dan can give you an estimate about the effort it would

Re: ISIS and JDO: Multiple fields(FK's and PK) using same column throws not-null constraint for PK

2014-01-08 Thread GESCONSULTOR - Óscar Bou
Hi Varma, A different approach could be to try the org_id as the multi-tenant discriminator. See [1] [1] http://www.datanucleus.org/products/accessplatform_3_1/jdo/multitenancy.html You can also disable that behavior for those classes that doesn't depend on the organization. I've not tested

Re: Application Identity: Issue with Compsite PK class with multiple attributes.

2014-01-08 Thread GESCONSULTOR - Óscar Bou
This one seems more related to the OID Marshaller than with JDO. Perhaps Dan can give some light on it. El 03/01/2014, a las 10:14, chittari.va...@wipro.com escribió: I am using ISIS 1.3.0 with JDO 3.0.1, Data Nucleus 3.2.4 Using JDO Application Identity strategy, I have a composite

Wavemaker also moving to AngularJS

2014-01-09 Thread GESCONSULTOR - Óscar Bou
As I've told sometimes, we've adapter a custom viewer we developed over Wavemaker for Apache Isis. It offers us the advantage of a Visual Web IDE, really similar to Access (you can see the video on [1]). In that way, with Isis we greatly reinforced the Domain, while we can use standard

Re: Estatio - DataStore identity

2014-01-13 Thread GESCONSULTOR - Óscar Bou
for improvement in this area. I will start some refactoring tomorrow and will let you know whether @Version could also be moved up in the hierarchy. Let me know if you have further feedback. Cheers, Jeroen When we started with JDO we didn't On Sun, Jan 12, 2014 at 7:11 PM, GESCONSULTOR - Óscar

Apache Isis IDE configuration

2014-01-16 Thread GESCONSULTOR - Óscar Bou
Just to point others, to maximize their experience while programming with Apache Isis, I've just discovered a post by Dan regarding his configuration on Eclipse Juno at [1]. I've had installed the Apache Isis IDE plugin for Eclipse since quite time ago, and it works quite well on Juno (seems

Re: Fast workflow on Isis

2014-01-23 Thread GESCONSULTOR - Óscar Bou
Thanks a lot, Dan!It's going to be of great help. Let's license and try it.El 22/01/2014, a las 23:42, Dan Haywood d...@haywood-associates.co.uk escribió:OK, then.https://github.com/danhaywood/isis-jrebel-pluginYou'll need to use build from source for the moment.My limited testing shows that it

Re: JRebel support

2014-02-04 Thread GESCONSULTOR - Óscar Bou
their signature, and runs perfectly !!! El 04/02/2014, a las 01:00, GESCONSULTOR - Óscar Bou o@gesconsultor.com escribió: ~~~ Whatever, there's definitely something broken with the DN enhancer plugin. But I don't think there's any ticket open on the DataNucleus JIRA for Andy to look

Re: Integration Tests

2014-02-14 Thread GESCONSULTOR - Óscar Bou
Hi,Dharmesh.Have you annotated the .feature file with ...?@TopUpCardDetailsServiceFixtureWhen that annotation is found on a feature file is when the fixture is loaded.If you put a breakpoint on thescenarioExecution().install(new TopUpCardDetailsServiceFixture());does it stop?Regards,OscarEl

Re: New screencast on bulk updates using the Excel domain service

2014-02-16 Thread GESCONSULTOR - Óscar Bou
Hi, Dan.Really nice way to update domain entities from Excel!There are plenty of use cases where users can speed up by updating fields massively through Excel.And the ability to control the business logic applied on those updates by working through view models instead of the original domain

Re: Isis and Drools

2014-02-24 Thread GESCONSULTOR - Óscar Bou
Hi Ged.Welcome to the Isis group.I'm the one who posted that question and it was solved at that time.Currently, we have a Bounded Context that has been implemented with Isis for the Domain Entities, and Drools for the Business Rules.And the news is that it works good :-)There are some points to

Re: just put together a little string interpolation service...

2014-02-25 Thread GESCONSULTOR - Óscar Bou
Hi, Dan. This is really interesting... I didn't knew about OGNL and have found it has not only object graph navigation, but also iteration over Collections, variables and other really useful methods [1] As a reporting server, are Jeroen and you planning to use simply templates made in Word,

Re: just put together a little string interpolation service...

2014-02-25 Thread GESCONSULTOR - Óscar Bou
: On 25 February 2014 09:36, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: As a reporting server, are Jeroen and you planning to use simply templates made in Word, for example? No, Jeroen already has a bunch of reports defined using SQL Server Reporting Services [2], so we're

Re: just put together a little string interpolation service...

2014-02-25 Thread GESCONSULTOR - Óscar Bou
February 2014 11:13, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: I didn't notice it! As per the code in asInputHtml(ToDoItem toDoItem) seems that instead of using something like OGNL or SpEL the developer must explicitly add the referenced properties, isn't it? yeah, it's

Re: Information for Google Summer of Code 2014

2014-03-06 Thread GESCONSULTOR - Óscar Bou
Hi to all.There can be more general-purpose integrations if we generalize some implementation over Apache Camel [1] components [2].Also, another really useful (and cool ;-) platforms for automation would be:- Twilio [3] (for voice calls, SMS messaging, etc.).- Zapier [4] (automates more than 250

BDD tests speed improvement with DN options

2014-03-09 Thread GESCONSULTOR - Óscar Bou
Hi to all, Just to let others now. Our BDD test suites are becoming quite large and we were experiencing long execution times when running them. They can be greatly improved simply by configuring DataNucleus to not validate tables and indexes. As all the schema is recreated on each feature,

Re: BDD tests speed improvement with DN options

2014-03-12 Thread GESCONSULTOR - Óscar Bou
under core/bdd, Iguess).CheersDanOn Monday, 10 March 2014, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote:Hi to all,Just to let others now.Our BDD test suites are becoming quite large and we were experiencing longexecution times when running them.They can be greatly improved simply by c

When finalizing a test - javax.jdo.JDOException: Unexpected error during precommit

2014-04-29 Thread GESCONSULTOR - Óscar Bou
Hi to all. I have an Asset entity with inserted() and updated() lifecycle callback methods. Inside that updated() method, I have the following code: public void updated() { this.insertOrUpdateRelationships(); } public void persisted() {

java.lang.NullPointerException at org.datanucleus.ExecutionContextImpl.performManagedRelationships(ExecutionContextImpl.java:4003)

2014-04-29 Thread GESCONSULTOR - Óscar Bou
Hi to all. I'm experimenting an exception, without having any idea about its source. It always happens in the context of the same class, that it's annotated with @PersistenceCapable. Seems DataNucleus tries to automatically manage its relationships (by adding elements to the collection, etc.)

Re: java.lang.NullPointerException at org.datanucleus.ExecutionContextImpl.performManagedRelationships(ExecutionContextImpl.java:4003)

2014-05-01 Thread GESCONSULTOR - Óscar Bou
be automatically managed by DataNucleus, it's preferred to add to the parent's child collection, than set the parent on the child. HTH, Oscar El 29/04/2014, a las 23:13, Dan Haywood d...@haywood-associates.co.uk escribió: On 29 April 2014 21:34, GESCONSULTOR - Óscar Bou o

Re: Using Isis with IntelliJ

2014-05-01 Thread GESCONSULTOR - Óscar Bou
Hi, Dan. Really nice :-)) On the last screenshot on [2] you refer to launch maven compile, but instead the screenshot shows datanucleus:enhance. Cheers, Oscar El 01/05/2014, a las 12:57, Dan Haywood d...@haywood-associates.co.uk escribió: Although I've used Eclipse for more than a

Re: [jira] [Commented] (ISIS-772) Reimplement WrapperFactory to use javassist instead of cglib/asm (for Java7 support)

2014-05-06 Thread GESCONSULTOR - Óscar Bou
Hi Dan. Many thanks for pointing this :-)) Excuse me I didn't read it before. All seems ok for us, but when you say that the modifyXXX cannot be invoked (as seen on the TodoItem.modifyDescription(...) test in [1]) this can break some code for us. Let me explain. We normally use:

Re: integration testing: 'lost' data

2014-05-14 Thread GESCONSULTOR - Óscar Bou
Hi, Erik. Perhaps DN holds them still in memory and has not been flushed to the database. Normally, it can be done by calling flush on the DomainContainer, similar to: this.getContainer().flush(); HTH, Oscar El 14/05/2014, a las 12:27, Erik de Hair e...@pocos.nl escribió: Hi, I'm

Re: integration testing: 'lost' data

2014-05-15 Thread GESCONSULTOR - Óscar Bou
in a random way: sometimes an error, sometimes everything ok. Erik On 05/14/2014 01:23 PM, Dan Haywood wrote: 2014-05-14 11:38 GMT+01:00 GESCONSULTOR - Óscar Bou o@gesconsultor.commailto:o@gesconsultor.com: Hi, Erik. Perhaps DN holds them still in memory and has not been

Re: integration testing: 'lost' data

2014-05-18 Thread GESCONSULTOR - Óscar Bou
El 17/05/2014, a las 14:41, Dan Haywood d...@haywood-associates.co.uk escribió: On 15 May 2014 00:57, GESCONSULTOR - Óscar Bou o@gesconsultor.comwrote: Dan, please, correct me as needed :-)) The commands are added to a queue, and that queue is emptied on each transaction

Re: wizard like form

2014-06-13 Thread GESCONSULTOR - Óscar Bou
But if the annotations are part of the Isis model, shouldn't be a default implementation included on the free Viewer? Independently, the implementation could be replaceable / pluggeable with a custom one, just as any other components. But at least one should be included by default. I also

Re: modifiable properties of derived property

2014-06-16 Thread GESCONSULTOR - Óscar Bou
1. Once updated Isis to the latest snapshot, 2. try to inject the WrapperFactory service, 3. and then replace public void modifyForcedonPBX(Boolean forcedonPBX) { getMobileSubscriber().setForcedonPBX(forcedonPBX); } with public void modifyForcedonPBX(Boolean

Re: Integ Testing - mocking Services action invocations

2014-06-20 Thread GESCONSULTOR - Óscar Bou
:43, GESCONSULTOR - Óscar Bou o@gesconsultor.com wrote: Hi to all. I have an Integration Test where I want to mock the resulting value of a service's method. I have no experience with JMock and seems quite different from mockito. I see the context property defined

Re: Has Java Traits and Mixins by means of Apache Isis ?

2014-09-07 Thread GESCONSULTOR - Óscar Bou
Hi, Ged. Jeroen can give you more detail, but as far as I know: - CommunicationChannels is the service that holds the properties, collections and actions to be contributed (i.e., it's the trait) [1]. - CommunicationChannelOwner is the interface to mark those Entities that must be contributed

Re: 1:1 relationship between objects supported in ISIS?

2014-09-16 Thread GESCONSULTOR - Óscar Bou
Hi all. I have the following template on Eclipse for 1-1 child properties (for the parent property no special annotation is needed. Simply a @Column one): // {{ ${PropertyName} (property) private ${PropertyType} ${propertyName};

Re: EventBusServiceDefault: ConcurrentModificationException

2014-10-20 Thread GESCONSULTOR - Óscar Bou
and @PreDestroy annotations, but not sure if that would eliminate the exceptions thrown. HTH, Oscar [1] http://es.slideshare.net/koneru/guavas-event-bus El 20/10/2014, a las 22:31, GESCONSULTOR - Óscar Bou o@gesconsultor.com escribió: Hi to all. Our app is using

Re: EventBusServiceDefault: ConcurrentModificationException

2014-10-21 Thread GESCONSULTOR - Óscar Bou
/10/2014, a las 00:52, GESCONSULTOR - Óscar Bou o@gesconsultor.com escribió: Just to clarify in order to being able to determine the root cause. We are currently registering the EventBusService as this: public class AssetsRiskInformation extends

Re: EventBusServiceDefault: ConcurrentModificationException

2014-10-21 Thread GESCONSULTOR - Óscar Bou
isis.properties) and it will be used instead of the default impl. Dan On 21 October 2014 10:10, GESCONSULTOR - Óscar Bou o@gesconsultor.com wrote: There's a thread discussing the multiple registration and unregister exception thrown subjects here [1]. Perhaps a similar

java.lang.NullPointerException at org.apache.isis.core.runtime.system.transaction.IsisTransaction.enlistDeleting

2014-10-21 Thread GESCONSULTOR - Óscar Bou
Hi to all. I've just found an exception that it's appearing rather frequently, without knowing the exact root cause. It's the following one. Any ideas about the possible root cause or any work-around? Thanks in advance, Oscar Caused by: java.lang.NullPointerException at

Re: Heads up! Significant UI changes in 1.8.0

2014-10-22 Thread GESCONSULTOR - Óscar Bou
Really well done, team. In our case that originated (two years ago) to opt for adapting our custom-made viewer. This will be of interest for a great part of the community for sure ... El 22/10/2014, a las 09:11, Dan Haywood d...@haywood-associates.co.uk escribió: Just so you are all

Re: EventBusServiceDefault: ConcurrentModificationException

2014-11-13 Thread GESCONSULTOR - Óscar Bou
for this. On 21 October 2014 10:38, GESCONSULTOR - Óscar Bou o@gesconsultor.com mailto:o@gesconsultor.com wrote: Thanks for your response, Dan. Have you seen the usage pattern at [1] using @PostConstruct and @PreDestroy? Probably it could be used for both request-scoped and singleton services

Isis Documentation Online Demo points to a SimpleApp instance

2014-11-14 Thread GESCONSULTOR - Óscar Bou
Hi Dan. Current link to demo app. on [1] points to a SimpleApp running instance, instead of the ToDoApp it might be. Regards, Oscar [1] http://isis.apache.org/documentation.html

Re: Archetypes for 1.8.0-SNAPSHOT

2014-11-14 Thread GESCONSULTOR - Óscar Bou
Hi, Dan. I got this: [INFO] Scanning for projects... [INFO] [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1 [INFO] [INFO]

Re: [ANNOUNCE] New committer - Martin Grigorov

2014-12-05 Thread GESCONSULTOR - Óscar Bou
Hi, Martin! Welcome here and really nice contributions! The viewer was a really important component. I've just convinced a mate to use the latest SNAPSHOT for a new project and that has given to me the opportunity yo try it. It's really cool, so a great work all you. Also, I've seen a lot of

Re: Programmatically hide, disable or validate for services and objects

2014-12-08 Thread GESCONSULTOR - Óscar Bou
-of-an-object's-members-can-be-modified-or-invoked.html El 8/12/2014, a las 8:41, Dan Haywood d...@haywood-associates.co.uk escribió: On 7 December 2014 at 11:19, GESCONSULTOR - Óscar Bou o@gesconsultor.com wrote: Hi to all. Is there a way to hide an object service programmatically (i.e

Re: Questions

2014-12-09 Thread GESCONSULTOR - Óscar Bou
Hi, Alex. 2. The aggregates seem not to work (from what I read, it is supported only for NoSQL). I read also on the site that it istn't fully supported and its use is currently discouraged. What does it mean? Is rather recommended to use the Value Types or there is another alternative?

Re: Any opinions on this proposal (ISIS-970) to reduce the number of Isis annotations?

2014-12-10 Thread GESCONSULTOR - Óscar Bou
First thoughts here ... It seems obvious that it would be clearer and also easier to learn (as you could easily discover all property, collection or action options easily simply by looking at the possible annotation fields. That way we would be doing something equivalent to JPA or JDO, where

Re: Isis Security Addon Custom ApplicationUser

2014-12-10 Thread GESCONSULTOR - Óscar Bou
Hi, Jeroen. Looking into this thread again, I've discovered also this link [1], telling how to integrate Fortress on a Wicket app. I'm sure Martin will have interest on it :) I agree that it would be quite heavy to use a full RBAC authorization system based on LDAP. I'm going to have the

  1   2   >