Post

Bazaar: Namespace

A namespace provides a container to hold things like categories and enquiry data as a way to group them together logically and to help avoid conflicts with categories and enquiry data that have different purposes. Each namespace is closed in it self and cannot interact with other namespaces. A good example is a testing and production environment/namespace.

Creating a Namespace

Navigate to the socket server directory and open the “plugins/Bazaar/namespace” directory.
By default it contains the “default” namespace.
A new namespace can be created by creating a new folder like “plugins/Bazaar/namespace/test”.
Stop the socket server and start it again. Some default categories will be loaded into the new namespace.
The console now displays all categories from the “test” namespace in the following format:

1
test:<someCategoryId>

Deleting a Namespace

Delete the directory of the namespace “plugins/Bazaar/namespace/<namespace>”

This post is licensed under CC BY 4.0 by the author.