Optional: publish in more than one Fluid Topics server

Publish in different Fluid Topics servers

You can choose to publish your content from Componize to more than one Fluid Topics server, for example a production server and a test server. You can manage as many as servers you need in a dedicated configuration file.

For each server entry you need to specify the server id, the username and password to use to access it.
  1. Create and edit a fluid-topics-config.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
        <config>
            <servers>
                <server>
                    <id>production</id>
                    <username>myUsername</username>
                    <password>myPassword</password>
                </server>
                <server>
                    <id>test</id>
                    <username>myUsername</username>
                    <password>myPassword</password>
                </server>
            </servers>
        </config>
  2. Use a catalog in your Fluid Topics pipeline configuration file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.1//EN" "http://www.oasis-open.org/committees/entity/release/1.1/catalog.dtd">
        <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
            <uri name="cpnz:fluid-topics:xml:config.xml" uri="fluid-topics-config.xml"/>
        </catalog>
  3. In your Fluid Topics pipeline configuration file, use the option fluid-topic-server-id to specify the value of the Fluid Topics server id to which you want to publish your content:
    <option>      
        <name>fluid-topics-server-id</name>
        <value>test</value>
    </option>