Skip to content
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

Completed description of links object #2

Conversation

d-stahl-ericsson
Copy link
Contributor

Added all missing links to the-links-object.md.
Also removed Schema placeholder headings from event descriptions;
the intent is to add schemas to separate repository.

Added all missing links to the-links-object.md.
Also removed Schema placeholder headings from event descriptions;
the intent is to add schemas to separate repository.
@danielyinanc
Copy link

Overall good clarification links however we should spend sometime on Legal Targets and Optional lists and how (if?) are we going to validate these. JsonSchema introduces very severe limitations on what type of checks we can employ.

@@ -6,6 +6,3 @@ The EiffelActivityDequeuedEvent signals that an activity previously queued for e
__Type:__ String
__Required:__ No
__Description:__ Any human readable information as to the reason for dequeueing.

Choose a reason for hiding this comment

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

I am presuming this is because of schema repository?

Copy link
Contributor Author

@d-stahl-ericsson d-stahl-ericsson May 4, 2016

Choose a reason for hiding this comment

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

I'm not following?

Edit: Ah, schema repository as in eiffel-schemas? (I was thinking Avro...) Yes. Let's add links to examples and schemas later.

@d-stahl-ericsson
Copy link
Contributor Author

I don't expect target validation using schemas. A dispatcher (Remrem) COULD check target validity, but even that is uncertain from a protocol definition point of view. It's important to separate these concerns: the protocol should be very clear on what messages shall look like - to what extent a certain implementation is able/willing to validate that is another matter.

links.environment should have been links.artifact.
__Legal targets:__ [EiffelEnvironmentDefinedEvent](../eiffel-vocabulary/EiffelEnvironmentDefinedEvent.md)
__Description:__ Identifies the environment in which an event occurred, e.g. in which environment an artifact was built.

### links.environment
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be links.artifact

[EiffelActivityFinishedEvent](../eiffel-vocabulary/EiffelActivityFinishedEvent)
__Optional in:__ None
__Legal targets:__ [EiffelActivityQueuedEvent](../eiffel-vocabulary/EiffelActivityQueuedEvent.md)
__Description:__ Declares the activity execution the event relates to. In other words, [EiffelActivityQueuedEvent](../eiffel-vocabulary/EiffelActivityQueuedEvent.md) acts as a handle for the activity execution.

Choose a reason for hiding this comment

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

The relation between links.activityExecution and links.context needs to be clarified.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Pushed a stab as explaining this difference. That being said, it's not a given that these should be separate link types. It would be entirely possible to merge context, activityExecution, testCaseExecution and/or testSuiteExecution - in each case, the meaning could be implicitly derived from the target. I'm not really a fan of that, however, I'd like explicit semantics wherever possible.

After renaming links.previous to links.previousVersions, it makes little
sense to keep previous activity executions in there. Actually identifying
the ActivityQueued of the latest previous execution may not be trivial,
however, so it should still be optional (besides, there's always a first
time).
__Required in:__ None
__Optional in:__ [EiffelAnnouncementEvent](../eiffel-vocabulary/EiffelAnnouncementEvent.md)
__Legal targets:__ [EiffelAnnouncementEvent](../eiffel-vocabulary/EiffelAnnouncementEvent.md),
[EiffelCompositionDefinedEvent](../eiffel-vocabulary/EiffelCompositionDefinedEvent.md)
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't think EiffelCompositionDefinedEvent should be a legal target here.

@d-stahl-ericsson d-stahl-ericsson merged commit 23b843c into eiffel-community:topic-drop1 May 10, 2016
@d-stahl-ericsson d-stahl-ericsson deleted the topic-drop1-completelinks branch June 13, 2016 07:24
e-backmark-ericsson pushed a commit to e-backmark-ericsson/eiffel that referenced this pull request Dec 21, 2023
* Change repository-specific references and links to generic
   references and links, so that any repository can use these files.
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.

4 participants