summaryrefslogtreecommitdiffstats
path: root/main/pom.xml
blob: dcd42e378e3e8d3504ae772505054a72bffd6f00 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?xml version="1.0" encoding="UTF-8"?>
<!--
   Copyright 2017 Huawei Technologies Co., Ltd.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
 -->

<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
         http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.onap.cli</groupId>
        <artifactId>cli</artifactId>
        <version>2.0.0</version>
    </parent>

    <artifactId>cli-main</artifactId>
    <name>cli/main</name>
    <packaging>jar</packaging>
    <dependencies>
        <dependency>
            <groupId>org.onap.cli</groupId>
            <artifactId>cli-sample-yaml-generator</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.11</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.onap.cli</groupId>
            <artifactId>cli-framework</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        <dependency>
            <groupId>jline</groupId>
            <artifactId>jline</artifactId>
            <version>2.6</version>
        </dependency>
        <dependency>
            <groupId>org.jmockit</groupId>
            <artifactId>jmockit</artifactId>
            <version>1.19</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <build>
        <plugins>
          <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifest>
                            <addClasspath>true</addClasspath>
                            <mainClass>org.onap.cli.main.OnapCli</mainClass>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>

          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-dependency-plugin</artifactId>
            <version>3.0.0</version>
            <executions>
              <execution>
                <id>copy-dependencies</id>
                <phase>package</phase>
                <goals>
                  <goal>copy-dependencies</goal>
                </goals>
                <configuration>
                  <outputDirectory>${project.build.directory}/lib</outputDirectory>
                  <overWriteReleases>false</overWriteReleases>
                  <overWriteSnapshots>false</overWriteSnapshots>
                  <overWriteIfNewer>true</overWriteIfNewer>
                  <excludeArtifactIds>junit,jmockit</excludeArtifactIds>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
  </build>

</project>
JECTED_NETWORK = "9189c64c-f148-4c73-b6d6-89f8efe9d426" GLOBAL_INJECTED_NEXUS_DOCKER_REPO = "nexus3.onap.org:10001" GLOBAL_INJECTED_NEXUS_PASSWORD = "password" GLOBAL_INJECTED_NEXUS_USERNAME = "docker" GLOBAL_INJECTED_OPENSTACK_API_KEY = "openstackapikey" GLOBAL_INJECTED_OPENSTACK_PASSWORD = "openstackpass" GLOBAL_INJECTED_OPENSTACK_USERNAME = "openstackuser" GLOBAL_INJECTED_OPENSTACK_TENANT_ID = "d570c718cbc545029f40e50b75eb13df" GLOBAL_INJECTED_REGION = "RegionOne" GLOBAL_INJECTED_KEYSTONE = "http://10.12.25.2:5000" GLOBAL_INJECTED_AAI_IP_ADDR = "aai.onap" GLOBAL_INJECTED_APPC_IP_ADDR = "appc.onap" GLOBAL_INJECTED_DCAE_IP_ADDR = "dcae-healthcheck.onap" GLOBAL_INJECTED_SO_IP_ADDR = "so.onap" GLOBAL_INJECTED_MR_IP_ADDR = "message-router.onap" GLOBAL_INJECTED_BC_IP_ADDR = "dmaap-bc.onap" GLOBAL_INJECTED_POLICY_IP_ADDR = "pdp.onap" GLOBAL_INJECTED_PORTAL_IP_ADDR = "portal-app.onap" GLOBAL_INJECTED_SDC_IP_ADDR = "N/A" GLOBAL_INJECTED_SDNC_IP_ADDR = "sdnc.onap" GLOBAL_INJECTED_VID_IP_ADDR = "vid.onap" GLOBAL_INJECTED_MSB_IP_ADDR = "msb-iag.onap" GLOBAL_INJECTED_CLAMP_IP_ADDR = "clamp.onap" GLOBAL_INJECTED_VM_FLAVOR = "m1.medium" GLOBAL_INJECTED_VM_IMAGE_NAME = "ubuntu-14-04-cloud-amd64" GLOBAL_INJECTED_PUBLIC_NET_ID = "971040b2-7059-49dc-b220-4fab50cb2ad4" </pre> <h2> SDN-C </h2> <a href="http://admin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U@sdnc.onap:8282/apidoc/explorer/index.html"> Controller </a> with admin/Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U <p> <a href="http://sdnc.onap:8843/signup"> To sign up </a> <p> <a href="http://sdnc.onap:8843/login"> Admin </a> <p> <h2> App-C </h2> <a href="http://admin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U@appc.onap:8282/apidoc/explorer/index.html"> Controller </a> with admin/Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U <p> <h2> Policy </h2> <b> Not working. </b> : <a href="http://healthcheck:zb!XztG34@pdp.onap:6969/healthcheck"> Healthcheck </a> <p> <h2> SO </h2> <a href="http://admin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U@so.onap:9990/"> JBOSS GUI </a> with admin/Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U <p> <a href="http://so.onap:8080/camunda"> Camunda GUI </a> with admin/Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U <p> <h2> DCAE </h2> <h3> General GUIs </h3> <a href="http://console:ZjJkYjllMjljMTI2M2Iz@dcae-healthcheck.onap:9998/resources"> DCAE Controller </a> This might show up empty in a web browser as no content type is set in the response. If that's the case use curl: <p> curl http://console:ZjJkYjllMjljMTI2M2Iz@dcae-healthcheck.onap:9998/resources <p> <a href="http://10.0.4.105:9999/ns/TCA/apps/dcae-tca/programs/flows/TCAVESCollectorFlow/runs"> CDAP GUI </a> <p> <h3> DCAE internal Message Router </h3> <a href="http://10.0.4.102:3904/topics"> Topics </a> <p> <a href="http://10.0.4.102:3904/events/unauthenticated.SEC_MEASUREMENT_OUTPUT/monitor/0?timeout=10000"> MR topic for collector to TCA </a> <p> <a href="http://10.0.4.102:3904/events/unauthenticated.TCA_EVENT_OUTPUT/monitor/0?timeout=10000"> MR topic for TCA alert to Policy </a> <p> <h2> Message Router used between core components </h2> <a href="http://message-router.onap:3904/topics"> List of Topics </a> <p> <h3> Topics of Interest </h3> For topics without authentication one can monitor the traffic on a topic with: <p> http://message-router.onap:3904/events/PUT_TOPIC_HERE/group1/C1?timeout=5000 <p> some important once listed below. <p> <ul> <li> <a href="http://message-router.onap:3904/events/APPC-CL/monitor/0?timeout=10000"> APPC-CL Topic -- Policy Publishes Requests and APP-C publishes response </a> <li> <a href="http://message-router.onap:3904/events/PDPP-CONFIGURATION/monitor/0?timeout=10000"> PDPD-CONFIGURATION Topic </a> <li> <a href="http://message-router.onap:3904/events/POLICY-CL-MGT/monitor/0?timeout=10000"> POLICY-CL-MGT Topic -- Control loop operational policy </a> <li> <a href="http://message-router.onap:3904/events/DCAE-CL-EVENT/monitor/0?timeout=10000"> DCAE-CL-EVENT Topic -- Provides the Analytics output from DCAE</a> </ul> <h1> SSH to VM </h1> The following links will open a shell and ssh to the various running VMs (at least on a Mac). It assumes that the .ssh/config file has been set appropriately and /etc/hosts has been updated to the running instance.<p> <a href="ssh://aai.onap"> AAI1 </a><p> <a href="ssh://pdp.onap"> Policy </a><p> <a href="ssh://N/A"> SDC </a><p> <a href="ssh://portal-app.onap"> Portal </a><p> <a href="ssh://dcae-healthcheck.onap"> DCAE </a><p> <a href="ssh://appc.onap"> APP-C </a><p> <a href="ssh://so.onap"> SO </a><p> <a href="ssh://sdnc.onap"> SDN-C </a><p> <a href="ssh://vid.onap"> VID </a><p> <a href="ssh://message-router.onap"> Message Router </a><p> <a href="ssh://10.0.10.1"> Robot Framework for testing </a><p> <a href="ssh://10.0.0.1"> DNS server for management network </a><p> Inside the VM you can list the docker containers by typing: <p> docker ps <p> and can get a shell prompt by executing the bash command. For example: <p> docker exec -it onapete_container bash <p> </body></html>