summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md40
1 files changed, 38 insertions, 2 deletions
diff --git a/README.md b/README.md
index 7b93a989..a1733a23 100644
--- a/README.md
+++ b/README.md
@@ -38,7 +38,43 @@ Run the image using docker-compose.yml
```
docker-compose up
```
-
+### Developer mode - run application from IDE
+
+To connect with "real" Consul instance you need to activate developer mode during starting VES application from IDE.
+Attention: Without developer mode (default mode) Ves started from IDE will not use Consul.
+
+1. Configure host mapping
+
+ For Linux: In host file add mapping for config-binding-service
+
+ vi /etc/hosts
+ SET_HERE_IP config-binding-service
+
+2. At lab open port for config-binding-service
+
+ - Get basic information about config-binding-service
+
+ ```
+ ubuntu@onap-7607-rke-node:~$ kubectl -n onap get services | grep config-binding-service
+ config-binding-service ClusterIP 10.43.227.68 <none> 10000/TCP,10443/TCP 6d2h
+ ```
+ - Edit config-binding-service to change ClusterIP to NodePort to expose port
+
+ ```
+ kubectl -n onap edit service config-binding-service
+ ```
+
+ - Get information about opened port for config-binding-service
+
+ ```
+ ubuntu@onap-7607-rke-node:~$ kubectl -n onap get services | grep config-binding-service
+ config-binding-service NodePort 10.43.227.68 <none> 10000:31029/TCP,10443:32719/TCP 6d2h
+ ```
+
+3. Run application with properties
+
+ -DdevMode=true -DcbsPort=31029
+
### Generate auth credential
Library to generate new cryptographic password is stored in dcaegen2/sdk -"security/crypt-password"
@@ -222,4 +258,4 @@ A client's certificate verification is disabled on the container by default; bel
Example of authentication failure (without a client's certificate):
curl -i -X POST -d @event.json --header "Content-Type: application/json" https://localhost:8443/eventListener/v7 -k
- curl: (35) error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate \ No newline at end of file
+ curl: (35) error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate