-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starting model #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Don't forget to use modifier
final
when it is needed, - Can you add description of model as javadoc ?
ec1b5d2
to
af0fffa
Compare
af0fffa
to
68603e0
Compare
I changed some things in the model, like using maps directly for component parameters and placeholders, thus I removed the description of placeholders. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor stuff in POM file
src/main/java/org/ow2/petals/deploymentmodel/serviceunitmodel/ServiceUnit.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job !!
Don't forget to use the modifier final
on method parameters, class members and variables.
Remove binary files in directory src/main/resources
.
ZIP files in src/test/resources
should be smaller as possible. I think that your tests should be ok if they contain only the file jbi.xml
.
src/main/java/org/ow2/petals/deploymentmodel/ModelComparator.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deploymentmodel/ModelValidator.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deploymentmodel/UnknownArtifactTypeException.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deploymentmodel/busmodel/ContainerInstance.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deploymentmodel/ModelComparator.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deploymentmodel/ModelComparator.java
Outdated
Show resolved
Hide resolved
src/test/java/org/ow2/petals/deploymentmodel/ModelComparatorTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/ow2/petals/deploymentmodel/ModelComparatorTest.java
Outdated
Show resolved
Hide resolved
Good work indeed. |
6550307
to
af982d1
Compare
af982d1
to
86f002e
Compare
src/main/java/org/ow2/petals/deployer/runtimemodel/RuntimeComponent.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deployer/runtimemodel/RuntimeComponent.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deployer/runtimemodel/RuntimeComponent.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deployer/runtimemodel/RuntimeComponent.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deployer/utils/RuntimeModelComparator.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deployer/utils/RuntimeModelComparator.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deployer/utils/RuntimeModelComparator.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deployer/utils/RuntimeModelComparator.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Mettre le champ
@author
de la javadoc en toutes lettres avec le nom de la société:Alexandre LAGANE - Linagora
. - Ne pas oublier l'usage du modifier
final
sur les arguments de méthodes, les définitions de variables et les attributs de classes. - Dans les modèles XSD, utiliser
minOccurs="1"
plutôt que de ne pas le mettre. Ca evite la confusion à la lecture au cas où le lecteur ne connait pas le comportement par défaut.
src/main/java/org/ow2/petals/deployer/utils/RuntimeModelComparator.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deployer/utils/RuntimeModelDeployerException.java
Outdated
Show resolved
Hide resolved
Also remove model.xml because it should not be committed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-- Erreur de localistation pour cette review, à supprimer ou acquitter. Je ne peux pas le faire --
src/main/java/org/ow2/petals/deployer/utils/RuntimeModelDeployer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deployer/runtimemodel/RuntimeContainer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deployer/runtimemodel/RuntimeContainer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deployer/runtimemodel/RuntimeContainer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deployer/runtimemodel/RuntimeModel.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deployer/runtimemodel/RuntimeModel.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deployer/utils/RuntimeModelComparator.java
Outdated
Show resolved
Hide resolved
src/main/java/org/ow2/petals/deployer/utils/RuntimeModelComparator.java
Outdated
Show resolved
Hide resolved
src/test/java/org/ow2/petals/deployer/runtimemodel/RuntimeModelTest.java
Show resolved
Hide resolved
Close to make a clean new one |
This is the first class diagram, with relations between classes. Multiplicities in classes are only for max 1 and max * (respectively reference and List).
Each class has getter and setter for each of its attributes.