vmware / vmware/singleton

[Java Client] Add a new version of configuration file

Open
#527 0 comments 0 reactions 1 assignee View on GitHub

@jessiejuachon is already working on this.

Since Apr 24, 2020.

  • #532 by @jessiejuachon — merged
area/java-client kind/enhancement
Dominant language
Java
Stars
72
Forks
69
Avg merge
23h 32m
Merged PRs (30d)
4

Description

Schema:

{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"anyOf": [
{
"required": [
"online_service_url"
]
},
{
"required": [
"offline_resources_base_url"
]
}
],
"properties": {
"online_service_url": {
"type": "string",
"description": "URL of the Singleton service. If defined, this product operates in Singleton online mode. Otherwise, this product operates in Singleton offline mode."
},
"offline_resources_base_url": {
"type": "string",
"description": "Base URL of offline resources. If not defined, it means offline mode is not supported. If defined, the value will be appended with /messages_<language_tag>.json if no offline_resources_path is specified."
},
"prod_mode": {
"type": "boolean",
"description": "Is this build for production? If set to true, fallback mechanism will be applied for error scenarios. Set this to false for pre-production activities such as testing in order to get appropriate error message for missing translation bundles."
},
"default_locale": {
"description": "The default locale for this Singleton component. If undefined, the default value is en-US.",
"type": "string"
},
"components": {
"type": "array",
"minItems": 1,
"description": "List of Singleton L10n components",
"items": [
{
"type": "object",
"description": "A Singleton L10n component",
"properties": {
"name": {
"type": "string"
},
"l10n_version": {
"type": "string",
"description": "The L10n version for this component. The Singelton service used in online mode may contain multiple L10n versions for this component. The value efaults to the latest if not specified."
},
"default_locale": {
"description": "The default locale for this Singleton component. If undefined, the default value is en-US.",
"type": "string"
}
},
"required": [
"name"
]
}
]
}
},
"required": [
"components"
]
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.