This article describes the directory structure of the content store that is created after a default installation and configuration of Mashup Center 2.0. This article applies only to file-based persistence. If you are using database persistence, files are stored in the database, not in the installation root of the Mashup Center server.
After you install and configure Mashup Center, the following folder is created in your Mashup Center installation root:
This is the parent folder for the content store. By default, this folder contains the resources for the two widget templates that are available with the widget builder:
This \mm\public folder also contains a home directory for the anonymous user: \mm\public\files\_users\anonymous. This directory contains the following three folders:
This folder only applies to the anonymous users, not users who log into Mashup Center using an ID and password.
When users log in and authenticate with the Mashup Center server, a new home directory is created specifically for that user. Here is an example of that directory structure:
Here, user_home refers to the user’s login ID.
When a user deploys a lightweight widget from the catalog, the contents of the widget ZIP file is expanded into the \Widgets folder, for example:
Here WidgetName is the name of the widget.
When this same user creates a new widget project with the widget builder, all the files associated with that project are stored in the \mm\public\files\_users\ user_home\projects\WidgetName folder.