Default stream hierarchy to support multi-tenancy

Origin Server has a two-level hierarchy for grouping streams. At the top level, there is a container directory that contains one or more container sub directories. The name of the directory identifies the container. Streams are organized inside the container directories.

The following represents the default directory structure of Origin Server:
/conf
	/http
		/origin.xml
	/containers
		/user A
			/container.xml
				/streams
					/channel 1
						/stream.xml
					/channel 2
						/stream.xml
		/user B
			/streams
				/channel 1
					/stream.xml
To support multi-tenancy, Origin Server configurations are managed by the following files:
  • origin.xml

    Manages the server-level configurations.

  • stream.xml

    Manages stream-level configuration within a container.

  • container.xml

    Manages the container-level configurations.