You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Eiffel Github main page": "https://github.com/eiffel-community/eiffel",\
60
+
"User guide for test rules page": "https://github.com/eiffel-community/eiffel-intelligence-frontend/blob/master/wiki/markdown/test-rules.md" }
61
+
62
+
## Other properties
63
+
64
+
All Eiffel-Intelligence front-end properties can be found in [application.properties](https://github.com/Ericsson/eiffel-intelligence-frontend/blob/master/src/main/resources/application.properties) example file.
@@ -73,17 +72,19 @@ In web-browser use url with docker host ip number: "\<docker host ip\>:8071/"
73
72
Switch-back-end functionality do not work when "localhost" address is used.
74
73
75
74
Another option to configure Eiffel Intelligence front-end is to provide the application properties file into the container, which can be made in two ways:
76
-
1. Put application.properties file in Tomcat Catalina config folder in container and run Eiffel Intelligence front-end:
77
-
78
-
`docker run -p 8070:8080 --expose 8080 --volume /path/to/application.properties:/usr/local/tomcat/config/application.properties eiffel-intelligence-frontend:0.0.19`
79
75
80
-
2. Put application.properties file in a different folder in container and tell EI where the application.properties is located in the container:
76
+
**1** Put application.properties file in Tomcat Catalina config folder in container and run Eiffel Intelligence front-end:
77
+
78
+
docker run -p 8070:8080 --expose 8080 --volume /path/to/application.properties:/usr/local/tomcat/config/application.properties eiffel-intelligence-frontend:0.0.19
# Run Docker image with provided docker-compose file
86
86
This docker-compose file includes these components, [docker-compose.yml](https://github.com/Ericsson/eiffel-intelligence-frontend/blob/master/src/main/docker/docker-compose.yml):
87
+
87
88
- MongoDB
88
89
- RabbitMq
89
90
- ER (Event Repository)
@@ -111,8 +112,11 @@ To run docker-compose commands, the environment variables needs to be set:
111
112
Two variables need to be set before we can start up all services with docker-compose tool.
112
113
Set Docker host IP to the HOST variable. This is done automatically when sourcing [env.bash](https://github.com/Ericsson/eiffel-intelligence-frontend/blob/master/src/main/docker/env.bash).
113
114
But it is also possible to do it manually. If on Linux:
114
-
`export HOST=$(hostname -I | tr " " "\n"| head -1)`
115
-
If on Windows, get Docker Host IP with command: `dockermachine ip`
115
+
116
+
export HOST=$(hostname -I | tr " " "\n"| head -1)
117
+
If on Windows, get Docker Host IP with command:
118
+
119
+
dockermachine ip
116
120
Set that Docker host IP to HOST environment variable.
117
121
118
122
Currently we need to provide EI back-end instances list outside of docker-compose.yml file.
@@ -127,25 +131,23 @@ It will take some minutes until all components has started. When all components
127
131
http://\<docker host ip\>:8081/
128
132
129
133
Curl command can be used to make request via EI front-end bridge to EI back-end REST API, example for getting all subscriptions:
130
-
131
-
132
-
`curl -X GET http://localhost:8081/subscriptions`
134
+
135
+
curl -X GET http://localhost:8081/subscriptions
133
136
134
137
It is also possible to access these Rest-Api addresses in web-browser and get result presented in a Json view in web-browser.
135
138
136
139
Following command can be used to get the logs from the EI front-end container/service:
All available Eiffel-Intelligence front-end properties can be found in [application.properties](https://github.com/Ericsson/eiffel-intelligence-frontend/blob/master/src/main/resources/application.properties) example file.
0 commit comments