aboutsummaryrefslogtreecommitdiffstats
path: root/ms/neng/src/test/resources/long_policy.json
blob: 168ca413af93791361e6a33a551e67c94d2399d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{  
   "input":{  
      "naming-model":{  
         "policy-instance-name":"SDNC_Policy.Config_MS_VNFCNamingPolicy_no_seq",
         "naming-models":[  
            {  
               "nf-role":"vPE",
               "naming-type":"VNF",
               "naming-recipe":"COMPLEX|NF-NAMING-CODE|Field2|Field3|Field4",
               "name-operation":"",
               "naming-properties":[  
                  {  
                     "property-name":"COMPLEX"
                  },
                  {  
                     "property-name":"NF-NAMING-CODE",
                     "property-value":"xyz"
                  }
               ]
            }
         ]
      }
   }
}
lass="p">:: bash ssh-keygen -t rsa Enter your SSH public key (id_rsa) into gerrit: - Browse to https://gerrit.onap.org - Log in - Open the menu next to your name (under the green search button) .. image:: images/Configure_git_1.png - Select "Settings" - In the "Settings" sidebar, click "SSH Public Keys"` - Click "Add Key..." - Paste the entire contents of $HOME/.ssh/id_rsa.pub into the text area and click "Add". .. image:: images/Configure_git_2.png Install the git-review package. .. code-block:: bash sudo apt update sudo apt install git-review Create $HOME/.gitconfig (replace highlighted values with your own information): [user] name = FirstName LastName email = you@yourcompany.com [core] autocrlf = false [merge] tool = vimdiff [gitreview] username = YourLinuxFoundationId **If you're behind a corporate firewall and your proxy server has SOCKS support...** You may be able to use the SSH protocol with git, which is preferred versus HTTP. This method is known to work in the AT&T corporate network. Install the socat package, which allows you to tunnel SSH connections through a proxy that supports SOCKS: .. code-block:: bash sudo apt update sudo apt install socat Create (or append to) $HOME/.ssh/config (replace highlighted values with your information) Host gerrit.onap.org User userid Hostname gerrit.onap.org ProxyCommand socat - PROXY:host:%h:%p,proxyport=port IdentityFile /home/userid/.ssh/id_rsa ServerAliveInterval 10 Verify that you have connectivity to gerrit through the proxy. Answer "yes" to continue connecting, if prompted. .. code-block:: bash ssh -p 29418 gerrit.onap.org .. image:: images/Configure_git_3.png