Resources

Location path

Path in the build directory Purpose

/era_ws/priv/resource/…​

Web server resource directory served via the API

/era_ws/priv/resource/logo.png

Logo for web applications

/era_ws/priv/resource/favicon.ico

Icon for web applications

/era_ws/priv/resource/meta.json

Metadata for product applications

/era_ws/priv/resource/defaults.json

Metadata for the app_root application

/era_ws/priv/era/…​

Dependence on domain type

Overview

Common resources available for API requests without authorization. Used by web applications to render logos before entering a domain, or when the domain has no own resources overriding the common ones.

Common logo for web applications. Used in default mode and in cases where authorization in a specific domain has not yet been performed.

Available via the API at /rest/v1/public/resources/logo

Icon for web applications

Common icon for the web application page. Used in default mode and in cases where authorization in a specific domain has not yet been performed.

Available via the API at /rest/v1/public/resources/favicon

Metadata for product applications

Arbitrary set of parameters customizing product application operation.

Available for download via the API at /rest/v1/public/resources/meta

Metadata for the app_root application

Set of parameters customizing app_root application operation.

Available for download via the API at /rest/v1/public/resources/defaults

Absent by default; the file content is filled automatically based on master domain settings. In special cases it can be created, and then its content is modified on output by some master domain settings:

  • defaultDomain - default domain displayed in the corresponding field during authorization.

  • selfRegisterDomains - availability of user self-registration at system login.

  • authButtons - list of SSO authorization buttons (OAuth, OpenId).

  • connector_url - page for downloading the connector page that selects one of the available servers.

Dependence on domain type

It is possible to specify different icons for different domain types. To do this, place the resources in a folder of the same name. Working domains have type 'era', so the logo, icon, and metadata for them are taken with priority from the /era_ws/priv/resource/era/ folder.

See also