Skip to content

Commit

Permalink
Merge pull request #1 from eryph-org/fw/cmdlets
Browse files Browse the repository at this point in the history
Implemented Identity client CmdLets
renamed to eryph
  • Loading branch information
fw2568 authored Jul 19, 2021
2 parents c4db520 + af7a88f commit b2ef5ce
Show file tree
Hide file tree
Showing 34 changed files with 1,292 additions and 522 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -258,4 +258,7 @@ paket-files/

# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
*.pyc

gitversion.json
cmdlet/*
12 changes: 6 additions & 6 deletions IdentityClient.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30406.217
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Haipa.IdentityClient", "src\Haipa.IdentityClient\Haipa.IdentityClient.csproj", "{BA9B9DCE-90F9-435F-830E-DEF34EC12606}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Eryph.IdentityClient", "src\Eryph.IdentityClient\Eryph.IdentityClient.csproj", "{BA9B9DCE-90F9-435F-830E-DEF34EC12606}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HaipaClientConsole", "samples\HaipaClientConsole\HaipaClientConsole.csproj", "{00C4A896-7508-4FC8-9E05-C7AD246D98E2}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Eryph.IdentityClient.Commands", "src\Eryph.IdentityClient.Commands\Eryph.IdentityClient.Commands.csproj", "{163F37FB-472E-4BCE-93D1-1EBC723AC8B5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -17,10 +17,10 @@ Global
{BA9B9DCE-90F9-435F-830E-DEF34EC12606}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BA9B9DCE-90F9-435F-830E-DEF34EC12606}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BA9B9DCE-90F9-435F-830E-DEF34EC12606}.Release|Any CPU.Build.0 = Release|Any CPU
{00C4A896-7508-4FC8-9E05-C7AD246D98E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{00C4A896-7508-4FC8-9E05-C7AD246D98E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{00C4A896-7508-4FC8-9E05-C7AD246D98E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{00C4A896-7508-4FC8-9E05-C7AD246D98E2}.Release|Any CPU.Build.0 = Release|Any CPU
{163F37FB-472E-4BCE-93D1-1EBC723AC8B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{163F37FB-472E-4BCE-93D1-1EBC723AC8B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{163F37FB-472E-4BCE-93D1-1EBC723AC8B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{163F37FB-472E-4BCE-93D1-1EBC723AC8B5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
2 changes: 1 addition & 1 deletion IdentityClient.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=Haipa/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Eryph/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Haipa Project
Copyright (c) 2021 dbosoft GGmbH

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
72 changes: 12 additions & 60 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,60 +1,12 @@

# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- master

pool:
vmImage: windows-latest

variables:
buildConfiguration: 'Release'

steps:
- task: UseGitVersion@5
inputs:
versionSpec: '5.x'

- task: DotNetCoreCLI@2
displayName: dotnet restore
inputs:
command: 'restore'
restoreArguments: '--disable-parallel'
feedsToUse: 'config'
nugetConfigPath: './nuget.config'

- task: DotNetCoreCLI@2
displayName: dotnet build
inputs:
command: build
projects: '**/*.csproj'
arguments: '--configuration $(buildConfiguration) --no-restore'

- task: DotNetCoreCLI@2
displayName: dotnet test
inputs:
command: test
projects: '**/*Tests/*.csproj'
arguments: '--configuration $(buildConfiguration) --collect "Code coverage" --no-build'

- task: DotNetCoreCLI@2
displayName: dotnet pack
inputs:
command: pack
arguments: '--configuration $(BuildConfiguration) --output $(Build.ArtifactStagingDirectory) --no-build'

- task: PublishBuildArtifacts@1
displayName: publish artifacts
inputs:
ArtifactName: drop

- task: NuGetCommand@2
displayName: publish to project nuget repo
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
nuGetFeedType: 'internal'
publishVstsFeed: '59a3608a-9bed-4cb4-9467-6efaaa3cbef5/1e425ef4-e3a0-4927-b4c0-2beff753cb88'
resources:
repositories:
- repository: build
type: github
name: eryph-org/build
endpoint: eryph-org


extends:
template: pipelines/templates/dotnetclient.yml@build
parameters:
withCmdlet: true
132 changes: 132 additions & 0 deletions build/Eryph.IdentityClient.psd1
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
#
# Module manifest for module 'Eryph.IdentityClient'
#
# Generated by: dbosoft and Eryph contributors
#
# Generated on: 02.10.2020
#

@{

# Script module or binary module file associated with this manifest.
RootModule = 'Eryph.IdentityClient.psm1'

# Version number of this module.
ModuleVersion = '0.1'

# Supported PSEditions
CompatiblePSEditions = 'Desktop', 'Core'

# ID used to uniquely identify this module
GUID = 'F082B6C4-D8A4-41AC-AE93-243149398817'

# Author of this module
Author = 'dbosoft GmbH and eryph contributors'

# Company or vendor of this module
CompanyName = 'dbosoft'

# Copyright statement for this module
Copyright = '(c) dbosoft GmbH and eryph contributors. All rights reserved.'

# Description of the functionality provided by this module
Description = 'Cmdlets for the eryph Identity API.'

# Minimum version of the PowerShell engine required by this module
PowerShellVersion = '5.1'

# Name of the PowerShell host required by this module
# PowerShellHostName = ''

# Minimum version of the PowerShell host required by this module
# PowerShellHostVersion = ''

# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# DotNetFrameworkVersion = ''

# Minimum version of the Identity language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# ClrVersion = ''

# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @(@{ModuleName="Eryph.ClientRuntime.Configuration"; ModuleVersion="0.1.0"; GUID="31a5834e-973e-478f-a48d-cea5f1e92962"})

# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
# FormatsToProcess = @()

# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = @()

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @("Get-EryphClient", "New-EryphClient", "Remove-EryphClient", "Set-EryphClient")

# Variables to export from this module
VariablesToExport = '*'

# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = @()

# DSC resources to export from this module
# DscResourcesToExport = @()

# List of all modules packaged with this module
# ModuleList = @()

# List of all files packaged with this module
# FileList = @()

# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{

PSData = @{

# Tags applied to this module. These help with module discovery in online galleries.
Tags = @("eryph", "Windows", "Linux", "MacOS")

# A URL to the license for this module.
LicenseUri = 'https://github.com/eryph-org/dotnet-identityclient/blob/master/LICENSE'

# A URL to the main website for this project.
ProjectUri = 'https://github.com/eryph-org/dotnet-identityclient'

# A URL to an icon representing this module.
# IconUri = ''

# ReleaseNotes of this module
# ReleaseNotes = ''

# Prerelease string of this module
# Prerelease = ''

# Flag to indicate whether the module requires explicit user acceptance for install/update/save
# RequireLicenseAcceptance = $false

# External dependent modules of this module
# ExternalModuleDependencies = @()

} # End of PSData hashtable

} # End of PrivateData hashtable

# HelpInfo URI of this module
# HelpInfoURI = ''

# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}

Loading

0 comments on commit b2ef5ce

Please sign in to comment.