Skip to content
Snippets Groups Projects
Commit cab894a4 authored by Jorge Moratinos's avatar Jorge Moratinos
Browse files

Deployed 6276aba3 to develop in public with MkDocs 1.6.1 and mike 2.1.3

parent 3044bff3
No related branches found
No related tags found
No related merge requests found
......@@ -1062,22 +1062,6 @@
<h1 id="how-to-run">How to Run</h1>
<ol>
<li><a href="#downloading-the-project">Downloading the project</a> <ol>
<li><a href="#1-create-a-folder-to-download-the-project">Create a folder to download the project</a></li>
<li><a href="#2-download-the-deployment-script">Download the deployment script</a></li>
<li><a href="#3-run-the-deployment-script">Run the deployment script</a></li>
</ol>
</li>
<li>Run the services<ul>
<li><a href="#run-all-capif-services-locally-with-docker-images">Run <strong>all</strong> CAPIF Services locally with Docker images</a></li>
<li><a href="#run-all-capif-services-locally-with-docker-images-and-deploy-monitoring-stack">Run <strong>all</strong> CAPIF Services locally with Docker images <em>and deploy monitoring stack</em></a></li>
<li><a href="#run-each-service-using-docker">Run <strong>each</strong> service using Docker</a></li>
<li><a href="#run-each-service-using-python">Run <strong>each</strong> service using Python</a></li>
</ul>
</li>
<li><a href="#start-your-testing-with-opencapif">Start your testing with OpenCAPIF</a></li>
</ol>
<blockquote>
<p>Capif services are developed under <a href="https://labs.etsi.org/rep/ocf/capif/-/tree/main/services">services folder</a>.</p>
</blockquote>
......@@ -1120,7 +1104,7 @@ Usage: ./run.sh &lt;options&gt;
-m : Launch monitoring service
-h : show this help
</code></pre>
<p>This script builds and runs all services using docker images, including mongodb and nginx locally and in the background, and imports ca.crt to nginx. By default monitoring is not activated and Nginx is deployed use <strong>capifcore</strong> as a hostname. </p>
<p>This script builds and runs all services using docker images, including mongodb and nginx locally and in the background, and imports ca.crt to nginx. By default monitoring is not activated and Nginx is deployed use <strong>capifcore</strong> as a hostname.</p>
<p>Some examples of use:</p>
<pre><code># Default values, No monitoring and capifcore as CAPIF_HOSTNAME
./run.sh
......@@ -1132,6 +1116,13 @@ Usage: ./run.sh &lt;options&gt;
./run.sh -c opencapif.etsi.org -m
</code></pre>
<blockquote>
<p><strong>IMPORTANT NOTE:</strong> In some versions change of hostname in local deployment (setting some value different than <strong><em>capifcore</em></strong>) creates wrong certificates on vault component. This prevents successful requests using the certificates. if this is your case, here is a little workaround to solve this issue meanwhile SDG is solving it:</p>
<ul>
<li>Modify the hostname in the file <strong><em>capif/services/vault/vault_prepare_certs.sh</em></strong> on lines 43, 68, and 95.</li>
<li>Update the url parameter of the CCF from capifcore to the desired hostname in the file <strong><em>capif/services/register/config.yaml</em></strong>.</li>
</ul>
</blockquote>
<p>If you want to check if all CAPIF services are running properly in a local machine after executing run.sh, you can use:</p>
<pre><code>./check_services_are_running.sh
</code></pre>
......
This diff is collapsed.
......@@ -1069,7 +1069,10 @@ docker run -ti --rm --network=&quot;host&quot; \
&quot;capif_api_logging_service&quot;,
&quot;capif_api_provider_management&quot;,
&quot;capif_api_publish_service&quot;,
&quot;capif_security_api
&quot;capif_security_api&quot;,
&quot;api_status&quot;,
&quot;vendor_extensibility&quot;,
&quot;smoke&quot;
And Run:
docker run -ti --rm --network=&quot;host&quot; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment