Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Creates a new minimal template.

By default this will:*

  • Validate all xml files

...

  • Resets the admin and security database

...

  • Creates a new database for the minimal template data to be loaded into

...

  • Restores packages and build the bulk load client

...

  • Copies sample files to isolate the files

...

  • Generates two apiclients with key/secret for the necessary claimsets

...

  • Starts the test harness api

...

  • Executes first load scenario using the bootstrap data and claimset

...

  • Executes second load scenario using the rest of the sample data and the sandbox claimset

...

  • Stops the test harness api

...

  • Creates a backup of the new minimal template at: Ed-Fi-ODS-Implementation\\DatabaseTemplate\\Database
    Minimal.Template.bak

...

  • Creates a .nuspec file for the new minimal template at: Ed-Fi-ODS-Implementation\\DatabaseTemplate\\Database
    Minimal.Template.nuspec

Initialize-MinimalTemplate Aliases

  • initmin
  • Reset-MinimalTemplateFromSamples

Syntax

Code Block
languagePowershell
themeConfluence
firstline0001
linenumbersfalse
collapsefalse
Initialize-MinimalTemplate [-samplePath] <String> [-noExtensions] [-noValidation] [[-engine] <String>] [<CommonParameters>]

Initialize-MinimalTemplate Aliases

...

Parameters

Name

Alias

Description

Required?

Pipeline Input

Default Value

-samplePath


An absolute path to the folder to load samples from, for example: C:\\MySampleXmlData
.
Also supports specific version folders of the Data Standard repository, for example: C:\\Ed-Fi-Standard\\v3.0
or C:\\Ed-Fi-Standard\\v2.0
|true

false



-noExtensions


Ignores any extension sources when running the sql scripts against the database.

false

false

False

-noValidation


Disables xml validation.

false

false

False

-engine


The database engine provider, either 'SQLServer' or 'PostgreSQL'

false

false

SQLServer

Examples

EXAMPLE 1

Code Block
languagePowershell
themeConfluence
firstline0001
titleEXAMPLE 1
linenumberstruecollapsefalse
Initialize-MinimalTempalate -samplePath "C:\edfi\Ed-Fi-Standard\v3.2\"

...