Service API Configuration

This document explains how to configure the Service API using the YAML configuration file (service-api.yml), which replaces the previous XML-based configuration (Configuration.xml). The configuration file allows customization of various aspects of the service including email settings, speed tests, subscription parameters, service groups, and wireless configurations.

1. Overview

The Service API configuration is now managed through a YAML file instead of XML. This change simplifies configuration and makes it more maintainable. The service-api.yml file must be created and properly configured before deploying the Service API.

2. File Location

When running the Service API in Docker, the configuration file should be placed in a directory that will be mounted to /etc/app/yml/ within the container:

mkdir -p /path/to/yml
touch /path/to/yml/service-api.yml
# Edit the file with your preferred editor
nano /path/to/yml/service-api.yml

3. Configuration Sections

The service-api.yml file contains several main sections that correspond to the different aspects of the Service API that can be customized.

3.1. API Configuration

This section configures the SOAP API settings:

api:
  soap:
    url: FTACSWS

3.2. Email Server Configuration

This section configures email server parameters for sending messages to users:

mail:
  from: example@mail.com
  host: smtp.mail.com
  login: login_name
  password: password
  port: 587
  ssl: true

Configuration options:

  • host - SMTP server address

  • port - SMTP port number

  • ssl - Enables or disables SSL encryption (Boolean)

  • from - "From" field in emails

  • login - Email account login name

  • password - Email account password

3.3. Speed Test Configuration

This section configures settings for measuring internet connection speed:

speed-test:
  download-url: http://82.80.120.71/webdav/FYI.tgz
  upload-file-size: 10000
  upload-url: http://82.80.120.71/webdav/

Configuration options:

  • upload-url - URL for uploading files during speed tests

  • upload-file-size - Size of the file to be uploaded (in bytes)

  • download-url - URL for downloading files during speed tests

upload-url and download-url are required for the FTServiceSpeedTest SOAP operation. If either value is empty, contains only spaces, or is missing, the operation returns Failed, code 204, and the message Parameter "uploadUrl" isn’t specified in the "Configuration.xml" (or downloadUrl). Service API checks upload-url first, and it makes no speed test on the device. upload-file-size may stay empty. The upload test then uses a file length of 0.

The maximum file size for speed tests should not exceed 232 bytes.

3.4. Subscription Configuration

This section defines parameters for different types of services (wireless, VoIP, internet, IPTV) that can be enabled or disabled for customer subscriptions:

subscription:
  wireless:
    parameters:
      - path: "InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.Enable"
        path181: "Device.WiFi.AccessPoint.1.Enable"
        activeValue: "1"
        inactiveValue: "0"
      - path: "InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.RadioEnabled"
        path181: "Device.WiFi.Radio.1.Enable"
        activeValue: "1"
        inactiveValue: "0"
      # More wireless parameters...
  internet:
    parameters:
      - path: "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Enable"
        path181: "Device.PPP.Interface.1.Enable"
        activeValue: "1"
        inactiveValue: "0"
  iptv:
    parameters:
      - path: "InternetGatewayDevice.Time.DaylightSavingsUsed"
        path181: ""
        activeValue: "1"
        inactiveValue: "0"

For each parameter:

  • path - Full parameter path for TR-098 devices

  • path181 - Full parameter path for TR-181 devices

  • activeValue - Value applied when the service is activated

  • inactiveValue - Value applied when the service is deactivated

3.4.1. Device-Specific Subscription Configuration

You can also define device-specific configurations for subscriptions:

subscription:
  # General parameters as shown above...
  devices:
    - key: "AudioCodes MP262"
      wireless:
        parameters:
          - path: "InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.Enable"
            path181: ""
            activeValue: "1"
            inactiveValue: "0"
          # More device-specific wireless parameters...
      voip:
        parameters:
          - path: "InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.Status"
            path181: ""
            activeValue: "Enabled"
            inactiveValue: "Disabled"
          # More device-specific VoIP parameters...
      internet:
        parameters:
          - path: "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Enable"
            path181: ""
            activeValue: "1"
            inactiveValue: "0"
      iptv:
        parameters:
          - path: "InternetGatewayDevice.Time.DaylightSavingsUsed"
            path181: ""
            activeValue: "1"
            inactiveValue: "0"

The key attribute identifies the device model as "Manufacturer product class" (e.g., "AudioCodes MP262").

3.5. Service Group Configuration

This section defines service groups and their parameters:

service-group:
  service-groups:
    - key: "group2"
      service-group-parameters:
        - key: "param1"
          path: "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.PortMapping.1.ExternalPort"
          path181: "Device.NAT.PortMapping.1.ExternalPort"
          readonly: false
          defaultValue: "1"
          values: "2,4,5,6"
    - key: "group3"
      service-group-parameters:
        - key: "NTP"
          path: "InternetGatewayDevice.Time.NTPServer1"
          path181: "Device.Time.NTPServer1"
          readonly: false
          defaultValue: "time.partner.co.il"
          values: "msn2.com"

For each service group parameter:

  • key - Parameter identifier

  • path - Full parameter path for TR-098 devices

  • path181 - Full parameter path for TR-181 devices

  • readonly - Whether the parameter is read-only

  • defaultValue - Default value for the parameter

  • values - Optional list of allowed values (comma-separated)

3.5.1. Device-Specific Service Group Configuration

Device-specific service group configurations can also be defined:

service-group:
  # General service groups as shown above...
  devices:
    - key: "AudioCodes MP2621"
      service-groups:
        - key: "group1"
          service-group-parameters:
            - key: "param1"
              path: "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Username"
              path181: ""
              readonly: false
              defaultValue: "Username@ISPMP"
              values: ""
            - key: "param2"
              path: "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Password"
              path181: ""
              readonly: false
              defaultValue: "MP"
              values: ""
        # More device-specific service groups...

The key attribute under devices identifies the device model as "Manufacturer product class".

3.6. Wireless Configuration

This section defines wireless-related parameters for different security types. It supports both default/general configurations (applied to all devices unless overridden) and device-specific configurations.

3.6.1. General/Default Wireless Configuration

Define default wireless security configurations that apply to all devices unless overridden by device-specific settings:

wireless:
  # Default/General wireless configuration (fallback for devices not specifically configured)
  wep:
    parameters:
      - type: ""
        name: "Enable"
        override: ""
        send: "true"
      - type: "hex"
        name: "WEPKey"
        override: ""
        send: "true"
  wpa:
    parameters:
      - type: ""
        name: "Enable"
        override: ""
        send: "true"
      - type: "ascii"
        name: "PreSharedKey"
        override: ""
        send: "true"
  wpa2:
    parameters:
      - type: ""
        name: "Enable"
        override: ""
        send: "true"
      - type: "ascii"
        name: "PreSharedKey"
        override: ""
        send: "true"
  mixed:
    parameters:
      - type: ""
        name: "Enable"
        override: ""
        send: "true"
      - type: "ascii"
        name: "PreSharedKey"
        override: ""
        send: "true"
  wpaPersonal:
    parameters:
      - type: ""
        name: "Enable"
        override: ""
        send: "true"
      - type: "ascii"
        name: "PreSharedKey"
        override: ""
        send: "true"
  wpa2Personal:
    parameters:
      - type: "ascii"
        name: "PreSharedKey"
        override: ""
        send: "true"
  wpaWpa2Personal:
    parameters:
      - type: ""
        name: "Enable"
        override: ""
        send: "true"
      - type: "ascii"
        name: "PreSharedKey"
        override: ""
        send: "true"
  wpa3Personal:
    parameters:
      - type: "ascii"
        name: "SAEPassphrase"
        override: ""
        send: "true"
  wpa3PersonalTransition:
    parameters:
      - type: "ascii"
        name: "SAEPassphrase"
        override: ""
        send: "true"

Do not add a general none or unsecure row that sets Enable to send: "false": the direct update would then drop the Wi-Fi on/off state for every device without its own entry. FT Configs Service no longer seeds such rows.

3.6.2. Section Selection for Direct Update

FTServiceDirectUpdateWireless reads the section that has the name of the securityType value. The comparison ignores case, so wpa2Personal and wpa2personal select the same section.

securityType value Section that is read

none, wep64, wep128

The section with the same name. Each one is a separate section. The service does not map none to unsecure or wep64 and wep128 to wep.

wpaEnterprise, wpa2Enterprise, wpaWpa2Enterprise, wpa3Enterprise

The section with the same name.

wpa, wpa2, wpa3 on a TR-181 device

wpaPersonal, wpa2Personal, wpa3Personal.

wpa, wpa2 on a TR-098 device

wpa, wpa2.

unsecure, wep, mixed, wpaPersonal, wpa2Personal, wpaWpa2Personal, wpa3Personal, wpa3PersonalTransition

The section with the same name.

Omitted

The section for the current security mode of the device. The service reads the mode from the device, so send and override rules still apply.

A securityType that contains only whitespace is rejected with the error Invalid value.

3.6.3. Which Configuration Is Used

The service selects the configuration for a device in this order:

  1. If the device has its own entry under devices, the service uses that entry.

  2. If the device has no entry, the service uses the general (root-level) sections. FTServiceDirectUpdateWireless does this too.

A device entry replaces the general sections as a whole. There is no fallback for a single mode. A mode that the device entry does not list has no rules.

If the general sections are empty, or the configuration has no wireless part, FTServiceGetWireless and FTServiceGetWirelessEnhanced succeed and apply no rules. They do not return an error.

3.6.4. Device-Specific Wireless Configuration

You can override default configurations for specific device models:

wireless:
  # General configurations as shown above...

  # Device-specific configurations (override defaults above)
  devices:
    - key: "Siemens SL 2141"
      unsecure:
        parameters:
          - type: ""
            name: "Enable"
            override: ""
            send: "false"
      wep:
        parameters:
          - type: ""
            name: "Enable"
            override: ""
            send: "true"
          - type: "hex"
            name: "WEPKey"
            override: ""
            send: "true"
      wpa:
        parameters:
          - type: ""
            name: "Enable"
            override: ""
            send: "true"
          - type: "ascii"
            name: "PreSharedKey"
            override: ""
            send: "true"
      wpa2:
        parameters:
          - type: ""
            name: "Enable"
            override: ""
            send: "true"
          - type: "ascii"
            name: "PreSharedKey"
            override: ""
            send: "true"
      mixed:
        parameters:
          - type: ""
            name: "Enable"
            override: ""
            send: "true"
          - type: "ascii"
            name: "PreSharedKey"
            override: ""
            send: "true"
    - key: "AlticeLabs GR240JH"
      wpa3Personal:
        parameters:
          - type: "ascii"
            name: "SAEPassphrase"
            override: ""
            send: "true"

The key attribute identifies the device model as "Manufacturer product class" (e.g., "Siemens SL 2141").

For each wireless parameter:

  • type - Encryption key type:

    • Empty string: No specific type

    • "ascii": ASCII format

    • "hex": Hexadecimal format

    • In FTServiceDirectUpdateWireless, the type sets the encoding of the key that the service sends. For KeyPassphrase, "hex" sends the key hex-encoded and any other type sends it as given. For WEPKey and PreSharedKey, "ascii" sends the key as given and any other type sends it hex-encoded.

  • name - Parameter name, one of:

    • "Enable" - Enable/disable wireless network

    • "RadioEnabled" - Enable/disable radio

    • "BeaconType" - Beacon type

    • "BasicEncryptionModes" - Basic encryption modes

    • "WEPKeyIndex" - WEP key index

    • "WPAAuthenticationMode" - WPA authentication mode

    • "WPAEncryptionModes" - WPA encryption modes

    • "IEEE11iAuthenticationMode" - IEEE 802.11i authentication mode

    • "IEEE11iEncryptionModes" - IEEE 802.11i encryption modes

    • "PreSharedKey" - Pre-shared key

    • "KeyPassphrase" - Key passphrase

    • "WEPKey" - WEP key

    • "SAEPassphrase" - SAE passphrase (for WPA3)

    • "SSID" - Service Set Identifier

  • override - Optional parameter to override:

    • A "PreSharedKey" row governs the KeyPassphrase value that the service sends, but only if the section has no "KeyPassphrase" row. If the section has a "KeyPassphrase" row, that row applies and the "PreSharedKey" row has no effect on KeyPassphrase.

  • send - Whether the parameter should be sent to the device:

    • "true" - Parameter will be updated if relevant input is present

    • "false" - Parameter will not be updated even if relevant input is present

Deploy FT Configs Service together with or before Service API. Its changeset removes the seeded general none and unsecure rows that set Enable to send: "false". It also removes the none row of Siemens SL 2141 and the RadiusServerIPAddr override 192.168.1.100 of AlticeLabs. If Service API runs first, these old rows are read by the new section selection and can stop Enable from being sent.

4. Complete Configuration Example

Below is a complete example of a service-api.yml file with all sections:

api:
  soap:
    url: FTACSWS

mail:
  from: noreply@example.com
  host: smtp.example.com
  login: apimail
  password: securepassword
  port: 587
  ssl: true

speed-test:
  download-url: http://speedtest.example.com/test.bin
  upload-file-size: 10000
  upload-url: http://speedtest.example.com/upload/

subscription:
  wireless:
    parameters:
      - path: "InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.Enable"
        path181: "Device.WiFi.AccessPoint.1.Enable"
        activeValue: "1"
        inactiveValue: "0"
      - path: "InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.RadioEnabled"
        path181: "Device.WiFi.Radio.1.Enable"
        activeValue: "1"
        inactiveValue: "0"
      - path: "InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID"
        path181: "Device.WiFi.SSID.1.SSID"
        activeValue: "FriendlyNetwork"
        inactiveValue: ""
  internet:
    parameters:
      - path: "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Enable"
        path181: "Device.PPP.Interface.1.Enable"
        activeValue: "1"
        inactiveValue: "0"
  iptv:
    parameters:
      - path: "InternetGatewayDevice.Time.DaylightSavingsUsed"
        path181: ""
        activeValue: "1"
        inactiveValue: "0"
  devices:
    - key: "AudioCodes MP262"
      wireless:
        parameters:
          - path: "InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.Enable"
            path181: ""
            activeValue: "1"
            inactiveValue: "0"
      voip:
        parameters:
          - path: "InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Enable"
            path181: ""
            activeValue: "Enabled"
            inactiveValue: "Disabled"

service-group:
  service-groups:
    - key: "internet"
      service-group-parameters:
        - key: "username"
          path: "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Username"
          path181: "Device.PPP.Interface.1.Username"
          readonly: false
          defaultValue: "user@isp.com"
          values: ""
    - key: "ntp"
      service-group-parameters:
        - key: "server"
          path: "InternetGatewayDevice.Time.NTPServer1"
          path181: "Device.Time.NTPServer1"
          readonly: false
          defaultValue: "pool.ntp.org"
          values: "0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org"

wireless:
  devices:
    - key: "Default"
      wpa2:
        parameters:
          - type: ""
            name: "Enable"
            override: ""
            send: "true"
          - type: "ascii"
            name: "PreSharedKey"
            override: ""
            send: "true"
    - key: "Modern Router"
      wpa3Personal:
        parameters:
          - type: "ascii"
            name: "SAEPassphrase"
            override: ""
            send: "true"

5. Northbound API credentials

Service API calls Northbound API (NBI) to run device operations. If NBI authentication is ON, NBI rejects calls without valid credentials. You can configure a login, a password, and an authentication method for these calls. Service API then keeps working with NBI authentication ON.

These credentials are for outbound calls only. They do not protect the SOAP endpoints of Service API. The Northbound API inbound authentication mode (Basic, JWT or Both) is a separate Northbound API setting. Read and change it in the Northbound API documentation or ask the NBI administrator. The terms Both, Basic, and JWT in this guide refer to that mode.

5.1. Where to set the credentials

Set the credentials in FT Configs, not in service-api.yml.

  1. Open FT Configs UI.

  2. Open the Service API configuration.

  3. Open the API section.

  4. Enter Northbound API login.

  5. Enter Northbound API password.

  6. Select Northbound API authentication method.

  7. Save the configuration.

FT Configs publishes the values to Service API through Hazelcast. Service API reads them on every NBI call. You do not restart Service API after a change.

FT Configs must manage the Service API configuration. Set FT_CONFIGS_MODULES_ENABLED of ft-configs-service to include service-api. ACS is always on. The default value is northbound, so you must add service-api. Without service-api, you cannot set the credentials.

5.2. Credentials not configured

If the login or the password is empty, the state is NOT CONFIGURED. Service API then calls NBI without authentication. This is the behavior of earlier releases.

If NBI authentication is ON, every call fails with SOAP error 210. The message asks you to set the credentials in FT Configs. See Troubleshooting: error 210.

5.3. Choose the authentication method

The default method is Basic. If the stored method is missing or unknown, Service API uses Basic.

Basic JWT

Header on each NBI call

Authorization: Basic with the login and the password

Authorization: Bearer with a token

Extra NBI calls

None

One token request for each token lifetime, credential change, or HTTP 401

Checked while NBI authentication is OFF

No. NBI ignores Basic credentials when its authentication is OFF.

Yes. JWT always asks NBI for a token, so NBI validates the credentials even when its authentication is OFF.

Password on the network

On every request

Once for each token

NBI user is blocked or gets a new password

NBI checks the password on every call, so NBI rejects the next call.

NBI checks the password only at the token request, so the old token works until it expires.

Credential change in FT Configs

Used on the next call

The next call requests a new token

Choose Basic for the simplest setup. Choose JWT to send the password once for each token. If the NBI inbound authentication mode is JWT, choose JWT. If the NBI inbound authentication mode is Basic, choose Basic. If the NBI inbound authentication mode is Both, choose either method.

If NBI answers HTTP 401 to a JWT call, Service API requests one new token. Service API then repeats the call once. If the repeated call also gets HTTP 401, Service API returns error 210.

5.4. JWT credentials are checked at once

NBI checks the JWT token request even while NBI authentication is OFF. If you select JWT, each of the following cases makes every call fail with error 210 at once:

  • The password is wrong.

  • The NBI user is blocked.

  • NBI runs with ispMode=0 and the user domain is not 0. ispMode is the NBI multi-tenant mode. The user domain is the domain that the NBI user belongs to.

NBI does not check Basic credentials while NBI authentication is OFF. A wrong Basic password shows only after you turn NBI authentication ON.

Verify the credentials before you use JWT.

5.5. Verify the credentials before you use JWT

Request a token with the same credentials. The token request validates the credentials even when NBI authentication is OFF. Read the password from a prompt. Do not type the password in the command line.

Prerequisites:

  • curl

  • jq

Steps:

  1. Open a shell on a host that can reach NBI.

  2. Set the NBI address and the login.

    export NBI_URL="<NORTHBOUND_API_URL>"
    export NBI_LOGIN="<login>"
  3. Read the password from a prompt.

    read -r -s -p "NBI password: " NBI_PASSWORD; echo
    export NBI_PASSWORD
  4. Request a token.

    jq -n '{creator: env.NBI_LOGIN, creatorPassword: env.NBI_PASSWORD, appid: "FTServiceAPI"}' \
      | curl -sS -w '\nHTTP %{http_code}\n' -X POST -H 'Content-Type: application/json' --data-binary @- "$NBI_URL/api/System/Token"
  5. Remove the password from the shell.

    unset NBI_PASSWORD

NORTHBOUND_API_URL includes the /iot-webservice context path. If the response contains a token, the credentials are valid. If the response is HTTP 401 or contains an error code, the credentials are not valid. If the response is HTTP 3xx, see Redirects and proxy. If it is HTTP 404, check the /iot-webservice context path in the URL. The token is a secret. Do not copy the response into tickets or chats.

5.6. Token lifetime and side effects

NBI sets the token lifetime with its JWT_TOKEN_EXPIRED setting. This setting has no default value. Set it explicitly.

  • Service API requests a new token the smaller of 30 seconds and half of the lifetime before the token expires. A 3600-second token is renewed 30 seconds before expiry. A 60-second token is renewed 30 seconds before expiry. A 40-second token is renewed 20 seconds before expiry.

  • If the token has no expiry (exp) claim, Service API uses the token until NBI returns HTTP 401. Service API then requests one new token.

  • If the lifetime is very short, Service API requests a token for almost every call.

  • Each token request creates one NBI HTTP session.

  • A failed token request also creates one NBI HTTP session.

  • NBI has no token revocation. A blocked user or a changed password takes effect after the token expires.

The clock of the Service API host and the clock of the NBI host must agree. Run NTP on both hosts. A fast Service API clock only refreshes the token early. A slow Service API clock is corrected by the retry after HTTP 401.

5.7. Rules for login and password

  • The password is stored and sent as plain text. Service API cannot send a SHA-256 value.

  • The login must not contain a colon (:).

  • The login must not contain control characters.

  • The login and the password are at most 255 characters.

  • Service API sends the login and the password as UTF-8. For non-ASCII characters, NBI must run with UTF-8.

  • FT Configs shows the stored password as <redacted> and never returns it in clear text.

  • To keep the stored password, leave the password field unchanged. To remove it, use the Clear action.

FT Configs stores the password in plain text in its database, in Hazelcast, and in audit records. Audit views hide the password. The YAML export of the Service API configuration writes <redacted> instead of the password. To export the password, use revealSecrets=true. This option needs the configs.write authority.

5.8. Network security

The default NBI address uses plain HTTP. Basic sends the password on every request. JWT sends the password once for each token. Use HTTPS between Service API and NBI.

5.9. Redirects and proxy

Service API does not follow HTTP redirects from NBI. Set NORTHBOUND_API_URL to the final address of NBI. If NBI answers with a redirect (HTTP 3xx), the SOAP response is Failed with code 204. The Message is Northbound API redirected the request (HTTP <status>). Service API does not follow redirects: set NORTHBOUND_API_URL to the final Northbound API address. See Troubleshooting: error 204. Service API uses the default proxy selector of the Java Virtual Machine. Configure a proxy with http.proxyHost, https.proxyHost, and http.nonProxyHosts.

5.10. Token request limits

The token request waits up to 5 seconds to connect and up to 10 seconds for the reply. If a limit is exceeded, the SOAP response is error 204. The Message is General error or the text of the network error. See Token request fails on the network.

5.11. Requirements for the NBI user

Service API uses one NBI user for all calls. NBI limits the devices that the user can access by the user domain. Use a user whose domain contains all devices that Service API manages.

If NBI runs with ispMode=0, NBI refuses a user whose domain is not 0. With Basic and NBI authentication ON, a wrong domain shows as "No CPE" errors. With JWT, a wrong domain shows as error 210 at the token request.

5.12. Rollout order

  1. Update ft-configs-service, FT Configs UI, and Service API to this release.

  2. Set the credentials in FT Configs.

  3. If you use JWT, verify the credentials first.

  4. Turn NBI authentication ON.

Turn NBI authentication ON only after all three components run this release. A new FT Configs UI with an older ft-configs-service drops the credentials. An older ft-configs-service, after a rollback, loses the credentials. An older Service API ignores the credentials. Turn NBI authentication OFF before you roll back any of these components.

5.13. Change the NBI inbound authentication mode

Read this section if you change the NBI inbound authentication mode to Basic or JWT. FT Configs does not check the combination with the Service API method. A wrong order makes every call fail with error 210. When NBI is in Both, NBI accepts Basic and JWT, so a scheme mismatch cannot happen. In Both, error 210 means a wrong password, a blocked or expired user, or a wrong user domain.

Change Order

From Both to Basic or JWT (one step)

1. Set the Service API authentication method to the target method.
2. Set the NBI inbound mode to the target mode.

From Basic to JWT, or from JWT to Basic

Always pass through Both.
1. Set the NBI inbound mode to Both.
2. Change the Service API authentication method.
3. Set the NBI inbound mode to the target mode.

Rollback from Basic or JWT to Both (one step)

Set the NBI inbound mode to Both. The Service API method stays unchanged.

Rollback from Basic to JWT, or from JWT to Basic

Always pass through Both. Use the order of the row above.

6. Using the Configuration File

On a Docker deployment service-api.yml lives in /usr/local/ft-system/service-api/config/, which compose.yml mounts read-only at /etc/app. The environment: block of the service-api service sets CONFIG_PATH: file:/etc/app/, so the application reads the mounted file instead of the JAR-bundled default. See Installation & Deployment — Docker Compose for the full service definition and the docker run equivalent.

7. Migration from Configuration.xml

If you’re migrating from the previous XML-based configuration, here’s a mapping of the main sections:

XML Section YAML Section

<mailConfiguration>

mail:

<speedTestConfiguration>

speed-test:

<subscriptionConfiguration>

subscription:

<serviceGroupConfiguration>

service-group:

<wirelessConfiguration>

wireless:

The structure has been simplified in the YAML format, but all the same configuration options are available.