-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from UlfBj/master
Data service model update
- Loading branch information
Showing
6 changed files
with
54 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
docs-gen/content/service_data_rule_set/iprocedure-mprocedure.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
title: "iprocedure and mprocedure nodes" | ||
weight: 30 | ||
--- | ||
|
||
As described in the [Service Data Model](https://covesa.github.io/hierarchical_information_model/service_data_rule_set/basics#node-types-iprocedure-and-mprocedure) chapter | ||
there are two types of nodes that can be used to represent microservices. | ||
|
||
Nodes of the types `iprocedure` or `mprocedure` must have the following mandatory metadata: | ||
- Name | ||
- Type | ||
- Description | ||
|
||
For more information, see the [Common Rule Set: Mandatory Metadata](/hierarchical_information_model/common_rule_set/basics#mandatory-metadata). | ||
|
||
Besides the mandatory metadata mentioned above, the following optional metadata may be used | ||
- Comment | ||
|
||
For more information, please see the [Common Rule Set: Optional Metadata](/hierarchical_information_model/common_rule_set/basics#optional-metadata). | ||
|
||
- A parent must be of the node type `branch`. | ||
- Children, if any, must be of the node type `iostruct`. | ||
|
||
An example of the specification of a `iprocedure` node is given below. Please observe that the microserviceName should be prefixed with the letter i. | ||
```YAML | ||
imicroserviceName: | ||
type: iprocedure | ||
description: This is an example of a microservice iprocedure node containing its mandatory metadata. | ||
``` | ||
Changing the type to `mprocedure` and the microserviceName prefix to the letter m would then represent the monitor flavor of the microservice specification. |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.