Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/045 Completes interactive mode with breaking changes (#51)
* Extended Get-IshTypeFieldDefinition with ISHBackgroundTask type * #45 Basic skeleton of Get-IshBackgroundTask is there, all code requires clean up. Up next, the IshBackgroundTask xml parsing and console formatting. * #45 Basic formatting, basic test, and xml object parsing is there. Next check and test all cmdlet parameters * #45 Get-IshMetadataField accepts IshBackgroundTask * #45 Get-IshBackgroundTask is there with doubtfully useful pipelining with test. * #45 Corrected test and added Get-Help * #45 More sturdy test * #45 Introduced NameHelper where I chose underscore as separator. Currently Wrap-function is in the ISHType cmdlet like ISHBackgroundTask (to push down to TrisoftCmdlet all CardField type objects need a generic root class) * #45 Review by hvermeiren on IsBasic and IsDescriptive for ISHBackgroundTask. Removed object.EventType. Implemented 13.0.2+ check. Wide format table layout. * #45 IshSession is no longer mandatory. New-IshSession will save in SessionStore every time. Next optional -RequestedMetadata transformation like Descriptive/Basic/System/All * #45 Parameter value autocompletion on field Name and LovId now respects SessionState * #45 Optional -RequestedMetadata that now initializes to IShSession.DefaultRequestedMetadata (defaults to Basic, old behavior Descriptive, don't care about performance use All). Tweaked some tests. Up next Get-IshEvents over IshTypeFieldSetup or IshSession not mandatory everywhere... * #46 Optional IshSession in cmdlets for Application, Baseline and Field... slower test though because of superfluous New-IshSession * #46 Optional IshSession in cmdlets for Application, Baseline, Field, DocumentObj...More Get-Help examples... but slower tests though, because of superfluous New-IshSession * #46 Optional IshSession in cmdlets for Application, BackgroundTask, Baseline, DocumentObj, EDT, Event, Feature, Field, Folder, ListOfValues, OutputFormat,...More Get-Help examples... but slower tests though, because of superfluous New-IshSession * #46 Optional IshSession in cmdlets for Application, BackgroundTask, Baseline, DocumentObj, EDT, Event, Feature, Field, Folder, ListOfValues, OutputFormat, PublicationOutput, Settings, User, UserGroup, UserRole...More Get-Help examples... but slower tests though, because of superfluous New-IshSession * #48 Implemented WrapAsPSObjectAndAddNoteProperties-Switch-block for DocumentObj... next is Format.ps1xml (see Find-IshDocumentObj example)... then all other classes * #48 Removed WrapAsPSObjectAndAddNoteProperties-Switch-block for BackgroundTask/DocumentObj... implemented IshBaseObject allowing a one-time implementation of WriteObject in TrisoftCmdlt. Next is Format.ps1xml (see Find-IshDocumentObj example)... then all other classes * #48 TrisoftCmdlet::WriteObject using IshBaseObject implemented for BackgroundTask, Baseline, DocumentObj. Next is Format.ps1xml (see Find-IshDocumentObj example)... then all other classes * #48 TrisoftCmdlet::WriteObject using IshBaseObject implemented for BackgroundTask, Baseline, DocumentObj, EDT, Folder, OutputFormat, PublicationOutput, User, UserGroup, UserRole ...Next is more derived IshObject types to allow Format.ps1xml specialized rendering (see Find-IshDocumentObj example)... and Get-IshEvent * #46 Optional IshSession in Get-IshTypeFieldDefinition * #48 TrisoftCmdlet::WriteObject strips hyphens from a field name like DOC-LANGUAGE to avoid clumsy code like $ishObject.'doc-language' ...Next is more derived IshObject types to allow Format.ps1xml specialized rendering (see Find-IshDocumentObj example)... and Get-IshEvent * #46 Optional IshSession makes single Find-IshDocumentObj and Find-IshPublicationOutput work without parameters potentially returning full database, putting in explicit last-day-MetadataFilter * #46 Optional IshSession makes single Find-IshDocumentObj and Find-IshPublicationOutput work without parameters potentially returning full database, ROLLING BACK the explicit last-day-MetadataFilter that was added in this branch. Created separate issue #49 for tracking * #48 Factory wrapping base type IshObject allowing .Format.ps1xml formatting now implemented for *-IshDocumentObj cmdlets * #48 Factory wrapping base type IshObject allowing .Format.ps1xml formatting now implemented for *-IshDocumentObj cmdlets, tuned to use cmdlets ISHType for code consistency * #48 Factory wrapping base type IshObject allowing .Format.ps1xml formatting now implemented for *-IshPublicationOutput cmdlets * #46 Optional IshSession in Get-IshTypeFieldDefinition, making sure that TriDKXmlSetupFilePath overload still works * #48 Factory wrapping base type IshObject allowing .Format.ps1xml formatting now implemented for *-IshBaseline cmdlets and IshBaselineItem prints sortable date * #48 Factory wrapping base type IshObject allowing .Format.ps1xml formatting now implemented for *-IshEDT cmdlets * #48 Factory wrapping base type IshObject allowing .Format.ps1xml formatting now implemented for *-IshFolder cmdlets * #48 Factory wrapping base type IshObject allowing .Format.ps1xml formatting now implemented for *-IshOutputFormat cmdlets * #48 Factory wrapping base type IshObject allowing .Format.ps1xml formatting now implemented for *-IshOutputFormat cmdlets, fixed OutputType, added samples and allowed empty value * #48 Factory wrapping base type IshObject allowing .Format.ps1xml formatting now implemented for *-IshUser cmdlets and cleanup of double IshFolder ps1xml entry * #48 Factory wrapping base type IshObject allowing .Format.ps1xml formatting now implemented for *-IshUserGroup cmdlets * #48 Factory wrapping base type IshObject allowing .Format.ps1xml formatting now implemented for *-IshUserRole cmdlets * #48 Find-IshDocumentObj over DocumentObj25.Find still returns ISHReusedObj, so altered default to avoid this. Quick performance test. * #4 Reduce warning count in solution by replacing ArgumentNullException with ArgumentException, add readonly list, * #4 Reduce warning count in solution by replacing ArgumentNullException with ArgumentException, add readonly list, added globalsuppressions.cs, wrapped ShouldProcess, refactored using statements * #4 Adding AddIshPublicationOutput.Tests.ps1 * #47 Add GetIshEvent.Tests.ps1 testing the current old-style cmdlet, needs more work, broken at the moment * #47 Add GetIshEvent.Tests.ps1 testing the cmdlet, ready for the code changes. Extended Get-IshTypeFieldDefinition with ISHEvent type. * #47 Finally broke and rewrote Get-IshEvent to use PSNoteProperty with standardized property names. Matching GetIshEvent.Tests.ps1. And proper Format.ps1xml As part of the v0.7 milestone, this request - Closes #44 - Closes #45 - Closes #46 - Closes #47 - Closes #48 - Closes #50
- Loading branch information