Skip to content

Commit

Permalink
Updates for 2020-09 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
seidewitz committed Oct 15, 2020
1 parent 592410b commit 5ddb395
Show file tree
Hide file tree
Showing 12 changed files with 267 additions and 1,292 deletions.
17 changes: 0 additions & 17 deletions kerml/owl/AddressBookModel.owl

This file was deleted.

21 changes: 0 additions & 21 deletions kerml/owl/Classes.owl

This file was deleted.

11 changes: 0 additions & 11 deletions kerml/owl/Test.owl

This file was deleted.

Binary file removed kerml/uml/library.mdzip
Binary file not shown.
273 changes: 0 additions & 273 deletions kerml/uml/library.uml

This file was deleted.

776 changes: 0 additions & 776 deletions kerml/uml/src.uml

This file was deleted.

32 changes: 17 additions & 15 deletions org.omg.sysml.site/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SysML v2 Release 2020-06 Eclipse Installation
# SysML v2 Release 2020-09 Eclipse Installation

**Requirements:** Eclipse 2020-06 (4.16) or later, with Java Development Kit

Expand All @@ -10,12 +10,26 @@

3. Select `Add...` and then, in the add dialog, select `Archive...` .

4. Navigate to the `org.omg.sysml.site-0.4.0.zip` archive and select it. (You can give it a name if you wish.) Click `Add`.
4. Navigate to the `org.omg.sysml.site-0.5.0.zip` archive and select it. (You can give it a name if you wish.) Click `Add`.

5. In the Install window, select the `KerML and SysML Editors` category and click `Next`.

6. Continue with the installation (select `Install Anyway` if asked), and, when it is complete, restart Eclipse.

## Installing PlantUML graphical visualization

Graphical visualization is available in Eclipse using the open source [PlantUML](https://plantuml.com) tooling to render diagrams.

0. Make sure that your Eclipse has PlantUML with SysMLv2 extensions. You can install it from the update site of
[ https://dl.bintray.com/himi-sysml/plantuml-sysmlv2/updates/1.1](https://dl.bintray.com/himi-sysml/plantuml-sysmlv2/updates/1.1) with Help > Install New Software

1. PlantUML visualization requires that [GraphViz](https://www.graphviz.org) be installed. Visit [ https://www.graphviz.org/download/](https://www.graphviz.org/download/)
and download the appropriate package for your environment. The recommended GraphViz version is 2.44.1. Make sure you have initialized GraphViz with `dot -c` command.
See [ https://plantuml.com/ja/graphviz-dot](https://plantuml.com/ja/graphviz-dot) for details.

2. If Eclipse cannot automatically find the path to the GraphViz executable, you can set it by going to `Preferences > PlantUML`.
For details, visit [ https://plantuml.com/en/eclipse](https://plantuml.com/en/eclipse).

## Installing the model library and modeling projects

**Note:** If you are updating an existing installation of an earlier SysML v2 release, then, before proceeding with the procedure
Expand All @@ -38,18 +52,6 @@ below, delete the `kerml`, `sysml` and `sysml.library` projects from your worksp
After installation is complete, if you wish to turn `Build Automatically` back on, first go to `Preferences > General > Workspace > Build`
and make sure that `sysml.library` is before `kerml` and `sysml` in the build order.

## Installing PlantUML graphical visualization

Graphical visualization is available in Eclipse using the open source [PlantUML](https://plantuml.com) tooling to render diagrams.

0. Make sure that your Eclipse has PlantUML with SysMLv2 extensions. You can install it from the update site of [ https://dl.bintray.com/himi-sysml/plantuml-sysmlv2/updates/1.1](https://dl.bintray.com/himi-sysml/plantuml-sysmlv2/updates/1.1) with Help > Install New Software

1. PlantUML visualization requires that [GraphViz](https://www.graphviz.org) be installed. Visit [ https://www.graphviz.org/download/](https://www.graphviz.org/download/)
and download the appropriate package for your environment.

2. If Eclipse cannot automatically find the path to the GraphViz executable, you can set it by going to `Preferences > PlantUML`.
For details, visit [ https://plantuml.com/en/eclipse](https://plantuml.com/en/eclipse).

## Working with model files

1. Double click on a file with a `.kerml` or `.sysml` extension to view it in a Kernel Modeling Language (KerML) or Systems Modeling Language (SysML).
Expand All @@ -63,7 +65,7 @@ For details, visit [ https://plantuml.com/en/eclipse](https://plantuml.com/en/ec
4. To show SysML diagrams, in `Window > Show View > Other...` select the PlantUML view. The diagram rendered in the view is relative to the text selected
in the active SysML editor view. Tree (BDD-like), interconnection (IBD-like) and state machine views are currently supported.

**Release Note:** While performance has improved significantly in this release, there are still cases in which the processing of a file with
**Release Note:** While performance has improved further in this release, there are still cases in which the processing of a file with
several name resolution errors can take a long time, particularly if the `Quantities and Units` library is being used.

## Initializing new model projects
Expand Down
Binary file modified org.omg.sysml.site/README.pdf
Binary file not shown.
71 changes: 40 additions & 31 deletions sysml/src/examples/Arrowhead Framework Example/AHFCoreLib.sysml
Original file line number Diff line number Diff line change
@@ -1,31 +1,40 @@
/** Mandatory Services and Systems */
package AHFCoreLib {
import AHFProfileLib::*;
import ScalarValues::*;

port def ServiceDiscovery :> SD{
// The functionalities as Requests (Operations) cannot be defined yet
// We could consider using flows to designate the functionalities
}

port def Authorize :> SD{
publickey:String; // just as examples
}

part def ArrowheadCore_SoSDD :> LocalCloud_SoSDD{
part def ServiceRegistry :> SysDD {
port serviceDiscovery:ServiceDiscovery subsets services;
action ServiceRegistration subsets ServiceMethod;
}

part def Authorization :> SysDD {
port autorize:Authorize subsets services;
}

part def Orchestration :> SysDD; // short for now

part service_registry:ServiceRegistry subsets systems;
part authorization:Authorization subsets systems;
part orchestration:Orchestration subsets systems;
}
}
/** Mandatory Services and Systems */
package AHFCoreLib {
import AHFProfileLib::*;
import ScalarValues::*;

port def ServiceDiscovery :> SD{
// The functionalities as Requests (Operations) cannot be defined yet
// We could consider using flows to designate the functionalities
}

port def Authorisation :> SD{
attribute publickey:String; // just as examples
}

part def ArrowheadCore :> LocalCloud{
/* First the system definitions (SysD) of core systems */
part def ServiceRegistry :> SysD {
port serviceDiscovery:ServiceDiscovery subsets services;
}

part def Authorization :> SysD {
port authorisation:Authorisation subsets services;
}

part def Orchestration :> SysD; // just indicated for now

part service_registry:ServiceRegistry subsets systems;
part authorization:Authorization subsets systems;
part orchestration:Orchestration subsets systems;

/* Then we include an example of SysDD specializations wrt protocol */
part def Authorization_HTTP :> Authorization, SysDD{
action Echo_behavior subsets ServiceMethod;
}

port def Authorisation_HTTP :> Authorisation, IDD{
protocol:String = "HTTP";
}
}
}

This file was deleted.

Loading

0 comments on commit 5ddb395

Please sign in to comment.