Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Eclipse: version 2019-09 R (4.13.0) - Build 20190917-1200
  • Papyrus: version 4.5.0 (Build 4.5.0.201909110825)
  • Gendoc: version 0.72 (build 0.7.2.20810290841)

      Testing of this version still results in an error with gendoc - it will not generate documents where the path to the Papyrus files have a space in it.

Checking compatibility between Eclipse and Papyrus versions

...

  • To verify you have the correct version of Papyrus, first go to "Help" → "About Eclipse".
  • You should see something that looks like this:


  • Click on INSTALLATION DETAILS to see something like thisthese:

Installing GenDoc within Eclipse

...

Using the ONAP Model with Gerrit

First-time Setup Setup

...

This process must be followed if you have never used the Eclipse/Git function with Gerrit.

Setup of RSA Keys in Eclipse

  • You must first generate an SSH key within Eclipse/Papyrus.
  • Go to "Window→ Preferences→ General→ Network Connection→ SSH2"
  • Select the tab "Key Management" and choose "Generate RSA Key"

...

  • The system will generate a key for you and place the key in the same window. Select "Save private key" which will save your key as id_rsa.
  • Note:  You may be asked if you want to save this private key without passphrase protection - select OK.



  • A window will pop up with a location and a name for the key - just select click Save.


  • You will need to Before you hit "Apply and Close", "copy/paste" that key so that you will can upload it into Gerrit before you hit "Apply and Close".

Uploading

...

an RSA key from Eclipse into Gerrit

  • Login to Gerrit (https://gerrit.onap.org/)
  • Click your name at the top right.
  • Go to Settings → Click Settings > SSH Public Keys (https://git.eclipse.org/r/#/settings/ssh-keys)
  • Click Add Key Key.
  • Go back to your ECLIPSE app, Eclipse and go to "Window→ Preferences→ General→ Network Connection→ SSH2" → LOAD EXISTING KEY
  • Paste the text of your public key into the text box.
  • Click Add.

Gerrit user Setup

To be able to push model changes to Gerrit, your user information in Eclipse/Git and Gerrit need to match.


Cloning the Model

The ONAP model currently resides in Gerrit in the modeling/modelspec repository. In order to download the model to your machine, to either visualize it or make updates, you will need to clone it in Eclipse/Git. Steps to do this:

...