%ZHSLIB.PackageManager.Developer.Processor.AngularArtifact

class %ZHSLIB.PackageManager.Developer.Processor.AngularArtifact extends %ZHSLIB.PackageManager.Developer.Processor.Abstract

Resource processor class to be used to obtain an artifact from an external repository via an HTTP request and unpack that artifact into given directories.
This is currently programmed to work exclusively with JFrog Artifactory but the core logic can be extended to any other artifact repository if needed.

Property Inventory

Method Inventory

Parameters

parameter ATTRIBUTES = SourceControlRepo,DeployDirectory,DevDirectory,Version,BranchName,ArtifactoryRepo;
Comma-separated list of resource attribute names that this processor uses.
parameter DESCRIPTION = Retrieves a build artifact of an Angular build from an external repository and unpacks it into the desired location(s).;
Description of resource processor class (shown in UI).

Properties

property ArtifactoryRepo as %String);
Name of the artifactory repo where UI artifacts live. (eg. healthshare-generic-dev-cambridge) If not provided, this will fall back to the value in parameters.json as default.
Property methods: ArtifactoryRepoDisplayToLogical(), ArtifactoryRepoGet(), ArtifactoryRepoIsValid(), ArtifactoryRepoLogicalToDisplay(), ArtifactoryRepoLogicalToOdbc(), ArtifactoryRepoNormalize(), ArtifactoryRepoSet()
property BranchName as %String (MAXLEN = 128);
Source branch where the artifact was built from.
Property methods: BranchNameDisplayToLogical(), BranchNameGet(), BranchNameIsValid(), BranchNameLogicalToDisplay(), BranchNameLogicalToOdbc(), BranchNameNormalize(), BranchNameSet()
property DeployDirectory as %String) [ Required ];
Path to which the artifact should be unpacked upon activation when in NON-developer mode; may contain expressions.
Property methods: DeployDirectoryDisplayToLogical(), DeployDirectoryGet(), DeployDirectoryIsValid(), DeployDirectoryLogicalToDisplay(), DeployDirectoryLogicalToOdbc(), DeployDirectoryNormalize(), DeployDirectorySet()
property DevDirectory as %String);
Path to which the artifact should be unpacked upon activation when in developer mode; may contain expressions. If not provided, DeployDirectory will be used.
Property methods: DevDirectoryDisplayToLogical(), DevDirectoryGet(), DevDirectoryIsValid(), DevDirectoryLogicalToDisplay(), DevDirectoryLogicalToOdbc(), DevDirectoryNormalize(), DevDirectorySet()
property SourceControlRepo as %String (MAXLEN = 128) [ Required ];
Name of the UI artifact to be kitted, found as the name of the UI application repo, need to distinguish from ArtifactoryRepo.
Property methods: SourceControlRepoDisplayToLogical(), SourceControlRepoGet(), SourceControlRepoIsValid(), SourceControlRepoLogicalToDisplay(), SourceControlRepoLogicalToOdbc(), SourceControlRepoNormalize(), SourceControlRepoSet()
property Version as %String (MAXLEN = 100) [ Required ];
Semantic version expression of the artifact to obtain.
Unreleased version will have extra "-Snapshot" appended, e.g. 1.0.34-Snapshot.
MAXLEN obtained from %ZHSLIB.PackageManager.Developer.Module:VersionString
Property methods: VersionDisplayToLogical(), VersionGet(), VersionIsValid(), VersionLogicalToDisplay(), VersionLogicalToOdbc(), VersionNormalize(), VersionSet()

Methods

method OnAfterPhase(pPhase As %String, ByRef pParams) as %Status [ Language = objectscript ]
method OnGetUniqueName(Output pUniqueName) [ Language = objectscript ]
Returns a unique name for this resource.
method VersionSet(pValue As %String) as %Library.Status [ Language = objectscript ]

Inherited Members

Inherited Methods

Feedback