Skip to content

Feature 166#169

Open
tarelli wants to merge 4 commits intodevelopmentfrom
feature/166
Open

Feature 166#169
tarelli wants to merge 4 commits intodevelopmentfrom
feature/166

Conversation

@tarelli
Copy link
Copy Markdown
Member

@tarelli tarelli commented Oct 23, 2019

Fixes #166

@tarelli tarelli requested a review from filippomc October 23, 2019 13:02
https://github.com/openworm/org.geppetto.core.git into feature/166

Conflicts:
	.travis.yml
	src/main/java/org/geppetto/core/manager/SharedLibraryManager.java
name="Edge"/>
<types xsi:type="gep_1:SimpleType"
id="node"
name="Node"/>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Isn't there a risk to confuse that with the root "Node" type?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Maybe

// We add all supported versions of the schema
String[] versions = new String[] { "v1.1.0" };

String[] versions = new String[] { "feature/30" };
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What about directly having v1.2.0 so to avoid the annoyance to change it again after the merge?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It has to match with what's in the XMI of the common library. Which in turns has to be an existing tag or branch and 1.2.0 won't exist until we merge and release model.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

On the Python side is quite different: it is not really looking for the url, or versions, these are more placeholders that we can set as we like provided that we keep them consistent through the code

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah, it's more constrained in Java and if you change that tests won't work.

id="metadata"
name="Metadata"/>
<types xsi:type="gep_1:ConnectionType"
id="edge"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What about additional fields? image

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I thought we can put them in the Value

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I was thinking as default "class" values. Name is clearly not something we can put there though. Probably this os something we can add to types on the application directly

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes I was thinking that unless we are customizing them it's not needed even to add them and if we are customizing them then we can do that in other libraries or in the application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants