Skip to content

Commit 42584e0

Browse files
committed
further changes for the CORS Configuration and restart of code package
1 parent 9b72c02 commit 42584e0

File tree

1 file changed

+8
-17
lines changed
  • content/en/docs/2025.3/getting-started/on-premise/add-configuration-portal-to-cortex

1 file changed

+8
-17
lines changed

content/en/docs/2025.3/getting-started/on-premise/add-configuration-portal-to-cortex/installation.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ On the Web Application Server:
222222

223223
1. Open IIS.
224224
1. Expand the current node, then `Sites`.
225-
1. Expand the website that contains the `Cortex` application, typically named `Cortex`.
225+
1. Expand the website that contains the {{% ctx %}} application, typically named `Cortex`.
226226
1. To convert the {{% ctx %}} Configuration Portal folder to an Application:
227227
1. Locate the `ConfigurationPortal` folder
228228
1. Right-click on `ConfigurationPortal`.
@@ -255,12 +255,9 @@ These steps are only needed if the {{% ctx %}} Interaction Portal is not already
255255
These steps will need to be repeated on all Application Servers.
256256
{{< /alert >}}
257257

258-
On the Application Server:
258+
On each Application Server:
259259

260-
1. Navigate to `C:\ProgramData\SF\<Customer>.<node>\Fabric\work\Applications\Cortex.Innovation.Core_App0\ApiGatewayPkg.Code.<version>`
261-
{{< alert type="note" title="Note" >}}
262-
`<Customer>` and `<node>` will depend on how the node was configured during the installation of {{% ctx %}}.
263-
{{< /alert >}}
260+
1. Navigate to the Execution service directory, e.g. `%ProgramData%\SF\<CustomerName>.<NodeName>\Fabric\work\Applications\Cortex.Innovation.Core_App<n>\ApiGatewayPkg.Code.<Version>` replacing `<CustomerName>` with the CustomerName configured during installation, `<NodeName>` with the NETBIOS name of the server, `<n>` with the highest number in the directory and `<Version>` with the latest version in the directory.
264261
1. Open the `appsettings.json` file.
265262
1. Under the `Cors` section, update the following parameters:
266263
| Name | Description | Example |
@@ -294,25 +291,19 @@ On the Application Server:
294291
```
295292

296293
1. Save the file.
297-
1. Repeat these steps for the appsettings.json file located in `C:\ProgramData\SF\<Customer>.<node>\Fabric\work\ImageCache\Store\Cortex.Innovation.Core\ApiGatewayPkg.Code.<version>`.
294+
1. Repeat these steps for the appsettings.json file located in `C:\ProgramData\SF\<CustomerName>.<NodeName>\Fabric\work\ImageCache\Store\Cortex.Innovation.Core\ApiGatewayPkg.Code.<Version>`.
298295

299296
#### Restart the code package
300297

301-
{{< alert color="warning" title="Important" >}}
302-
These steps will need to be repeated on all Application Servers.
303-
{{< /alert >}}
304-
305-
On the Application Server:
306-
307298
1. Navigate to the Service Fabric Explorer, typically `http://localhost:9080/Explorer`.
308-
1. Restart the `ApiGatewayPkg` by following these steps:
309-
1. Expand the `Nodes`
310-
1. Select the current node
299+
1. Expand the `Nodes`
300+
1. Restart the `ApiGatewayPkg` for each node by following these steps:
301+
1. Expand the node name
311302
1. Expand `fabric:/Core/Services`
312303
1. Expand the `ApiGatewayPkg` service package
313304
1. Expand `Code Packages`
314305
1. Hover over `Code` and click on the `▼` button
315-
1. Click `Restart`
306+
1. Confirm the restart as prompted, then click `Restart`
316307

317308
{{< alert type="note" title="Note" >}}
318309
It may take a few minutes for the `Code` package to restart.

0 commit comments

Comments
 (0)