Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

AF-593: Migrate Data Modeller to AppFormer #519

Merged
merged 1 commit into from Oct 16, 2017

Conversation

mbarkley
Copy link
Contributor

No description provided.

@mbarkley
Copy link
Contributor Author

@wmedvede I see you have lots of commits in guvnor lately. Care to review this? All changes are to dependencies and imports.

Copy link
Member

@wmedvede wmedvede left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mbarkley looks good, just one note.

As you said the change is mostly some package name changes.
In particular "org.uberfire.commons.validation" was changed to "org.kie.soup.commons.validation"

This is fine, but see that the

org.uberfire.commons.validation.PortablePreconditions class currently belongs to the gwt module
<inherits name="org.uberfire.commons.UberfireCommons"/> and is a gwt compiled class.

And the following gwt modules in guvnor are inheriting the org.uberfire.commons.UberfireCommons module.

https://github.com/kiegroup/guvnor/blob/master/guvnor-ala/guvnor-ala-wildfly/guvnor-ala-wildfly-ui/guvnor-ala-wildfly-ui-client/src/main/resources/org/guvnor/ala/ui/wildfly/GuvnorAlaUIWildflyClient.gwt.xml#L20

https://github.com/kiegroup/guvnor/blob/master/guvnor-ala/guvnor-ala-ui/guvnor-ala-ui-api/src/main/resources/org/guvnor/ala/ui/GuvnorAlaUIAPI.gwt.xml#L8

https://github.com/kiegroup/guvnor/blob/master/guvnor-ala/guvnor-ala-openshift/guvnor-ala-openshift-ui/guvnor-ala-openshift-ui-client/src/main/resources/org/guvnor/ala/ui/openshift/GuvnorAlaUIOpenShiftClient.gwt.xml#L20

https://github.com/kiegroup/guvnor/blob/master/guvnor-ala/guvnor-ala-ui/guvnor-ala-ui-client/src/main/resources/org/guvnor/ala/ui/GuvnorAlaUIClient.gwt.xml#L36

So I belive a rename like the one below might be missing on this files:

<inherits name="org.uberfire.commons.UberfireCommons"/> to

<inherits name="org.kie.soup.commons.SoupCommons???"/> ?

See that this case might also happen in other projects like kie-wb-commons, drools-wb, etc, that are using the PortablePreconditions in client side.

@mbarkley
Copy link
Contributor Author

@wmedvede Should be fine as the KieSoupCommons module is inherited in UberfireCommons. I've only added the dependency in the POM files because of our Maven enforcer rules.

@wmedvede
Copy link
Member

@mbarkley ok, in this case just discard my long comment :)

@mbarkley
Copy link
Contributor Author

@wmedvede Hehe, thanks for the review!

@mbarkley
Copy link
Contributor Author

Jenkins, please retest this.

@porcelli porcelli merged commit 8bac998 into kiegroup:master Oct 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants