Table of Contents |
---|
...
app | project | repo | version | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
aai | aai-common | 1.0.0 | |||||||||
aai | aai-core | 1.0.0 | |||||||||
aai | aai-service (deprecated) | 0.0.1 (not in use) | |||||||||
aai | aai-traversal | 1.0.0 | |||||||||
aai | ajsc-aai | 1.0.0 | |||||||||
aai | eelf-logging | logging-service | 0.0.1 (not in use) | ||||||||
appc | (pax.logging = wrapper on log4j, slf4j, commons-logging 1.2 and logback 1.1.1) needs this RI - provide a demo to the appc team | 0.0.1 (upgrade?) | |||||||||
ccsdk | nbapi | ccsdk/platform/nbapi | 1.0.0 | ||||||||
dmaap | buscontroller | dmaap/buscontroller | 0.0.1 | ||||||||
ui | dcae_dmaap_webapp | dmaapbc | 1.0.0 | ||||||||
ui | dmaap-bc-app-common | 1.0.0 | |||||||||
ui | dmaap-bc-app-parent | 1.0.0 | |||||||||
policy | common-modules/ | common | 1.0.0 | ||||||||
policy | drools-pdp | 1.0.0 | |||||||||
portal | ecompportal-be-common | portal | <eelf.version>1.0.0 | ||||||||
policy | feature-eelf | drools-pdp | 1.0.0 | ||||||||
policy | PolicyEngineSuite/ONAP-logging | common | 0.0.1 (not in use) | ||||||||
policy | ONAP-SDK-APP | engine | 0.0.1 (not in use) | ||||||||
sdc | ? | ||||||||||
so | common | so | 0.0.1 (upgrade ?) | ||||||||
vid | epsdk-app-onap | vid | 1.0.0 | ||||||||
vid | vid-app-common | vid | 1.0.0 | ||||||||
open-o | |||||||||||
multicloud | python based |
|
...
Code Block |
---|
# clone oom git clone ssh://michaelobrien@gerrit.onap.org:29418/oom # clone logging-analytics git clone ssh://michaelobrien@gerrit.onap.org:29418/logging-analytics # ./createConfig.sh -n onap ./createAll.bash -n onap -a log # temp create config dirs ubuntu@ip-172-31-52-161:~/oom/kubernetes/oneclick$ sudo mkdir /dockerdata-nfs/onap/logdemo ubuntu@ip-172-31-52-161:~/oom/kubernetes/oneclick$ sudo mkdir /dockerdata-nfs/onap/logdemo/eteshare # copy the logdemo folder into the oom folder ubuntu@ip-172-31-52-161:root@obriensystemsu0:~/logging-analytics/reference/logging-kubernetes# cp -R logdemo ~/oom/kubernetes/oneclick$ cp -R ../../../logdemo/ ../ ubuntu@ip-172-31-52-161 # make sure the 3 ELK log containers are up root@obriensystemsu0:~/oom/kubernetes/oneclick# ./createAll.bash -n onap -a log root@obriensystemsu0:~/oom/kubernetes/oneclick$ ls ../logdemo/ #createoneclick# kubectl get pods --all-namespaces -a # create the log demo ubuntu@ip-172-31-52-161:~/oom/kubernetes/oneclick$ ./createAll.bash -n onap -a logdemo ********** Creating instance 1 of ONAP with port range 30200 and 30399 ********** Creating ONAP: ********** Creating deployments for logdemo ********** Creating namespace ********** namespace "onap-logdemo" created Creating service account ********** clusterrolebinding "onap-logdemo-admin-binding" created Creating registry secret ********** secret "onap-docker-registry-key" created Creating deployments and services ********** NAME: onap-logdemo LAST DEPLOYED: Mon Jan 29 01:07:01 2018 NAMESPACE: onap STATUS: DEPLOYED RESOURCES: ==> v1/Service NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE logdemo NodePort 10.43.195.134 <none> 8080:30299/TCP 0s ==> v1beta1/Deployment NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE logdemo 1 1 1 0 0s ==> v1/Pod(related) NAME READY STATUS RESTARTS AGE logdemo-1873248906-7jgm9 0/1 ContainerCreating 0 0s #check ubuntu@ip-172-31-52-161:~/oom/kubernetes/oneclick$ kubectl get pods --all-namespaces | grep logdemo onap-logdemo logdemo-4091951930-p0zcl 1/1 Running 0 43s ubuntu@ip-172-31-52-161:~/oom/kubernetes/oneclick$ kubectl get services --all-namespaces -o wide | grep logdemo onap-logdemo logdemo NodePort 10.43.98.104 <none> 8080:30299/TCP 57s app=logdemo # test in-container and out-container ubuntu@ip-172-31-52-161:~/oom/kubernetes/oneclick$ kubectl -n onap-logdemo exec -it logdemo-4091951930-zwd53 bash root@logdemo-4091951930-zwd53:/usr/local/tomcat# ls webapps/ ROOT docs examples host-manager logging-demo logging-demo.war manager root@logdemo-4091951930-zwd53:/usr/local/tomcat# curl http://127.0.0.1:8080/logging-demo/rest/read/test testing: org.onap.demo.logging.ApplicationService@7a4fa9b outside ubuntu@ip-172-31-52-161:~/oom/kubernetes/oneclick$ curl http://dev.onap.info:30299/logging-demo/rest/read/test testing: org.onap.demo.logging.ApplicationService@52772382 |
...