-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mihaly Arvai
committed
Feb 26, 2021
1 parent
8e2ab10
commit 899d049
Showing
16 changed files
with
365 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"version": 1, | ||
"isRoot": true, | ||
"tools": { | ||
"sitecore.cli": { | ||
"version": "3.0.0", | ||
"commands": [ | ||
"sitecore" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "ModuleFile", | ||
"description": "Sitecore module definition file schema", | ||
"allOf": [ | ||
{ | ||
"title": "ModuleConfiguration", | ||
"type": "object", | ||
"description": "Defines a \"DevEx Module\" that is a Helix-like module that can contain serialized item configurations, etc.\nThis class is overridden with Serialization-specific derived versions that provide access to their module-specific settings.", | ||
"additionalProperties": {}, | ||
"required": [ | ||
"namespace" | ||
], | ||
"properties": { | ||
"$schema": { | ||
"type": "string" | ||
}, | ||
"namespace": { | ||
"type": "string", | ||
"description": "The namespace of the module. All resources in the module inherit this namespace.\nNamespaces can contain letters, numbers, dots (.), and hyphens (-).", | ||
"minLength": 1, | ||
"pattern": "^[A-Za-z0-9\\.\\-\\$\\{\\}\\(\\)]+$" | ||
}, | ||
"description": { | ||
"type": "string", | ||
"description": "Description of the module, for reference/docs purposes only" | ||
}, | ||
"references": { | ||
"type": "array", | ||
"description": "Names of other modules that are referenced by resources in this module. Wildcards are allowed, i.e. Foundation.*.", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"source": { | ||
"type": "string", | ||
"description": "Generic identifier as to where the module came from. Used internally for error messaging. Do not set in a module file; it will be ignored." | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "RootConfigurationFile", | ||
"type": "object", | ||
"description": "Defines the root Sitecore Developer Configuration file", | ||
"additionalProperties": false, | ||
"required": [ | ||
"modules" | ||
], | ||
"properties": { | ||
"$schema": { | ||
"type": "string" | ||
}, | ||
"modules": { | ||
"type": "array", | ||
"description": "Sitecore module file resolution globs", | ||
"minItems": 1, | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"plugins": { | ||
"type": "array", | ||
"description": "Contains a list of Sitecore Plugin NugetPackages. The format of the name is [NugetPackageName]@[NugetPackageVersion]. These entries are normally managed using\nthe 'Sitecore Plugin Add' and 'Sitecore Plugin Remove' commands", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"serialization": { | ||
"description": "Global item serialization default settings", | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/SerializationRootConfiguration" | ||
} | ||
] | ||
} | ||
}, | ||
"definitions": { | ||
"SerializationRootConfiguration": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"defaultMaxRelativeItemPathLength": { | ||
"type": "integer", | ||
"description": "Max relative item path length to serialize before considering path too long (and requiring aliasing to shorten).\nOverridable on a per-module basis; this is the default when it is unspecified.", | ||
"format": "int32", | ||
"default": 120 | ||
}, | ||
"defaultModuleRelativeSerializationPath": { | ||
"type": "string", | ||
"description": "The default relative physical path from a module file where serialized items for that module will be stored.\nFor example given module /c/foo/bar.module.json, and default '/serialization/items' path,\nthe serialized items for bar would be stored at /c/foo/bar/serialization/items.\nPrefix the path with ~/ for a root configuration relative path instead of a module-relative path.\nUse '$(module)' to insert the module name when using a root relative path.\nOverridable on a per-module basis; this is the default when it is unspecified.", | ||
"default": "serialization" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "UserConfiguration", | ||
"type": "object", | ||
"description": "Sitecore user configuration file", | ||
"additionalProperties": false, | ||
"properties": { | ||
"endpoints": { | ||
"type": "object", | ||
"description": "Sitecore instance base URL to fetch or push data to", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/EnvironmentConfiguration" | ||
} | ||
}, | ||
"$schema": { | ||
"type": "string" | ||
} | ||
}, | ||
"definitions": { | ||
"EnvironmentConfiguration": { | ||
"type": "object", | ||
"description": "Configures named Sitecore API endpoint", | ||
"additionalProperties": false, | ||
"required": [ | ||
"host", | ||
"authority" | ||
], | ||
"properties": { | ||
"allowWrite": { | ||
"type": "boolean", | ||
"description": "Whether writing data to this endpoint is allowed (i.e. to prevent accidental writes to production)" | ||
}, | ||
"host": { | ||
"type": "string", | ||
"description": "Base URL to the Sitecore instance to connect to (i.e. http://my.site.core)", | ||
"format": "uri", | ||
"minLength": 1 | ||
}, | ||
"authority": { | ||
"type": "string", | ||
"description": "Base URL to authentication server (IdentityServer, AAD, etc - i.e. https://my.site.core.identityserver - to test, $url/.well-known/openid-configuration should work)", | ||
"format": "uri", | ||
"minLength": 1 | ||
}, | ||
"useClientCredentials": { | ||
"type": [ | ||
"boolean", | ||
"null" | ||
], | ||
"description": "If true, use client credentials (client id and secret) instead of device (username/password). This is good for CI." | ||
}, | ||
"accessToken": { | ||
"type": "string", | ||
"description": "OAuth access token for this endpoint (use login command to get this)" | ||
}, | ||
"refreshToken": { | ||
"type": "string", | ||
"description": "OAuth refresh token for this endpoint (use login command to get this)" | ||
}, | ||
"clientId": { | ||
"type": "string", | ||
"description": "OAuth client ID for this endpoint", | ||
"default": "SitecoreCLI" | ||
}, | ||
"clientSecret": { | ||
"type": "string", | ||
"description": "OAuth client secret for this endpoint (when useClientCredentials is true; ignored for device auth mode)" | ||
}, | ||
"variables": { | ||
"type": "object", | ||
"description": "Defines variables that are specific to this environment. Variables defined here override any definitions in the root configuration for this environment.", | ||
"additionalProperties": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"files.associations": { | ||
"*.sicpackage": "json" | ||
}, | ||
"json.schemas": [ | ||
{ | ||
"fileMatch": ["/sitecore.json"], | ||
"url": "./.sitecore/schemas/RootConfigurationFile.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["/.sitecore/user.json"], | ||
"url": "./.sitecore/schemas/UserConfiguration.schema.json" | ||
}, | ||
{ | ||
"fileMatch": ["*.module.json"], | ||
"url": "./.sitecore/schemas/ModuleFile.schema.json" | ||
} | ||
] | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
docker/build/solr/Dockerfile → docker/build/solr-init/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
# escape=` | ||
|
||
ARG BASE_IMAGE | ||
|
||
FROM ${BASE_IMAGE} | ||
|
||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] |
Oops, something went wrong.