delete old config files and scripts
This commit is contained in:
Родитель
d171f0d80a
Коммит
aaa797673e
16
README.md
16
README.md
|
@ -6,9 +6,9 @@ Windows Master (Stable): [![AppVeyor Master](https://ci.appveyor.com/api/project
|
|||
|
||||
Windows Dev (Less Stable): [![AppVeyor Dev](https://ci.appveyor.com/api/projects/status/w27a5c4x64pd7jyq/branch/dev?svg=true)](https://ci.appveyor.com/project/steeltoe/security/branch/dev)
|
||||
|
||||
Linux/OS X Master (Stable): [![Travis Master](https://travis-ci.org/SteeltoeOSS/Security.svg?branch=master)](https://travis-ci.org/SteelToeOSS/Security)
|
||||
Linux/OS X Master (Stable): [![Travis Master](https://travis-ci.org/SteeltoeOSS/Security.svg?branch=master)](https://travis-ci.org/SteeltoeOSS/Security)
|
||||
|
||||
Linux/OS X Dev (Less Stable): [![Travis Dev](https://travis-ci.org/SteeltoeOSS/Security.svg?branch=dev)](https://travis-ci.org/SteelToeOSS/Security)
|
||||
Linux/OS X Dev (Less Stable): [![Travis Dev](https://travis-ci.org/SteeltoeOSS/Security.svg?branch=dev)](https://travis-ci.org/SteeltoeOSS/Security)
|
||||
|
||||
## .NET Runtime & Framework Support
|
||||
|
||||
|
@ -20,17 +20,15 @@ Where appropriate, the components and samples have been tested on .NET Core SDK,
|
|||
|
||||
## Usage
|
||||
|
||||
For more information on how to use these components see the online [Steeltoe documentation](http://steeltoe.io/).
|
||||
For more information on how to use these components see the online [Steeltoe documentation](https://steeltoe.io/).
|
||||
|
||||
## Nuget Feeds
|
||||
|
||||
All new development is done on the dev branch. More stable versions of the components can be found on the master branch. The latest prebuilt packages from each branch can be found on one of two MyGet feeds. Released version can be found on nuget.org.
|
||||
|
||||
[Development feed (Less Stable)](https://www.myget.org/gallery/steeltoedev) - https://www.myget.org/gallery/steeltoedev
|
||||
|
||||
[Master feed (Stable)](https://www.myget.org/gallery/steeltoemaster) - https://www.myget.org/gallery/steeltoemaster
|
||||
|
||||
[Release or Release Candidate feed](https://www.nuget.org/) - https://www.nuget.org/.
|
||||
- [Development feed (Less Stable)](https://www.myget.org/gallery/steeltoedev)
|
||||
- [Master feed (Stable)](https://www.myget.org/gallery/steeltoemaster)
|
||||
- [Release or Release Candidate feed](https://www.nuget.org/)
|
||||
|
||||
## Building Pre-requisites
|
||||
|
||||
|
@ -79,4 +77,4 @@ To run the unit tests:
|
|||
|
||||
## Sample Applications
|
||||
|
||||
See the [Samples](https://github.com/SteelToeOSS/Samples) repository for examples of how to use these packages.
|
||||
See the [Samples](https://github.com/SteeltoeOSS/Samples) repository for examples of how to use these packages.
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<add key="SteeltoeDev" value="https://www.myget.org/F/steeltoedev/api/v3/index.json" />
|
||||
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<add key="SteeltoeMaster" value="https://www.myget.org/F/steeltoemaster/api/v3/index.json" />
|
||||
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<add key="SteeltoeUpdate" value="https://www.myget.org/F/steeltoeupdates/api/v3/index.json" />
|
||||
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
|
@ -1,18 +0,0 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<SteeltoeVersion>$(STEELTOE_VERSION)</SteeltoeVersion>
|
||||
<SteeltoeVersionSuffix>$(STEELTOE_DASH_VERSION_SUFFIX)</SteeltoeVersionSuffix>
|
||||
<SteeltoeConnectorVersion>1.1.1-update111-00178</SteeltoeConnectorVersion>
|
||||
<AspNetCoreVersion>1.1.0</AspNetCoreVersion>
|
||||
<AspNetCoreDataProtectionRedisVersion>0.1.0</AspNetCoreDataProtectionRedisVersion>
|
||||
<AspNetCoreTestVersion>1.1.2</AspNetCoreTestVersion>
|
||||
<AspNetCoreMvcTestVersion>1.1.3</AspNetCoreMvcTestVersion>
|
||||
<AspNetCoreDepTestVersion>1.1.1</AspNetCoreDepTestVersion>
|
||||
<CoreFxVersion>4.3.0</CoreFxVersion>
|
||||
<JsonNetVersion>9.0.1</JsonNetVersion>
|
||||
<TestSdkVersion>15.3.0</TestSdkVersion>
|
||||
<XunitVersion>2.3.0-beta4-build3742</XunitVersion>
|
||||
<XunitStudioVersion>2.3.0-beta4-build3742</XunitStudioVersion>
|
||||
<StackExchangeVersion>1.1.605</StackExchangeVersion>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -1,78 +0,0 @@
|
|||
:: @ECHO OFF
|
||||
|
||||
:: Build packages
|
||||
cd src\Steeltoe.Security.Authentication.CloudFoundryCore
|
||||
dotnet restore --configfile ..\..\nuget.config
|
||||
IF NOT "%APPVEYOR_REPO_TAG_NAME%"=="" (
|
||||
IF NOT "%STEELTOE_VERSION_SUFFIX%"=="" (
|
||||
dotnet pack --configuration %BUILD_TYPE% --version-suffix %STEELTOE_VERSION_SUFFIX%
|
||||
) ELSE (
|
||||
dotnet pack --configuration %BUILD_TYPE%
|
||||
)
|
||||
)
|
||||
IF "%APPVEYOR_REPO_TAG_NAME%"=="" (dotnet pack --configuration %BUILD_TYPE% --version-suffix %STEELTOE_VERSION_SUFFIX% --include-symbols --include-source)
|
||||
cd ..\..
|
||||
|
||||
cd src\Steeltoe.Security.DataProtection.RedisCore
|
||||
dotnet restore --configfile ..\..\nuget.config
|
||||
IF NOT "%APPVEYOR_REPO_TAG_NAME%"=="" (
|
||||
IF NOT "%STEELTOE_VERSION_SUFFIX%"=="" (
|
||||
dotnet pack --configuration %BUILD_TYPE% --version-suffix %STEELTOE_VERSION_SUFFIX%
|
||||
) ELSE (
|
||||
dotnet pack --configuration %BUILD_TYPE%
|
||||
)
|
||||
)
|
||||
IF "%APPVEYOR_REPO_TAG_NAME%"=="" (dotnet pack --configuration %BUILD_TYPE% --version-suffix %STEELTOE_VERSION_SUFFIX% --include-symbols --include-source)
|
||||
cd ..\..
|
||||
|
||||
cd src\Steeltoe.Security.Authentication.CloudFoundryOwin
|
||||
dotnet restore --configfile ..\..\nuget.config
|
||||
IF NOT "%APPVEYOR_REPO_TAG_NAME%"=="" (
|
||||
IF NOT "%STEELTOE_VERSION_SUFFIX%"=="" (
|
||||
dotnet pack --configuration %BUILD_TYPE% --version-suffix %STEELTOE_VERSION_SUFFIX%
|
||||
) ELSE (
|
||||
dotnet pack --configuration %BUILD_TYPE%
|
||||
)
|
||||
)
|
||||
IF "%APPVEYOR_REPO_TAG_NAME%"=="" (dotnet pack --configuration %BUILD_TYPE% --version-suffix %STEELTOE_VERSION_SUFFIX% --include-symbols --include-source)
|
||||
cd ..\..
|
||||
|
||||
cd src\Steeltoe.Security.Authentication.CloudFoundryWcf
|
||||
dotnet restore --configfile ..\..\nuget.config
|
||||
IF NOT "%APPVEYOR_REPO_TAG_NAME%"=="" (
|
||||
IF NOT "%STEELTOE_VERSION_SUFFIX%"=="" (
|
||||
dotnet pack --configuration %BUILD_TYPE% --version-suffix %STEELTOE_VERSION_SUFFIX%
|
||||
) ELSE (
|
||||
dotnet pack --configuration %BUILD_TYPE%
|
||||
)
|
||||
)
|
||||
IF "%APPVEYOR_REPO_TAG_NAME%"=="" (dotnet pack --configuration %BUILD_TYPE% --version-suffix %STEELTOE_VERSION_SUFFIX% --include-symbols --include-source)
|
||||
cd ..\..
|
||||
|
||||
cd src\Steeltoe.Security.DataProtection.CredHubBase
|
||||
dotnet restore --configfile ..\..\nuget.config
|
||||
IF NOT "%APPVEYOR_REPO_TAG_NAME%"=="" (
|
||||
IF NOT "%STEELTOE_VERSION_SUFFIX%"=="" (
|
||||
dotnet pack --configuration %BUILD_TYPE% --version-suffix %STEELTOE_VERSION_SUFFIX%
|
||||
nuget add "bin\%BUILD_TYPE%\Steeltoe.Security.DataProtection.CredHubBase.%STEELTOE_VERSION%-%STEELTOE_VERSION_SUFFIX%.nupkg" -Source "%USERPROFILE%\localfeed"
|
||||
) ELSE (
|
||||
dotnet pack --configuration %BUILD_TYPE%
|
||||
nuget add "bin\%BUILD_TYPE%\Steeltoe.Security.DataProtection.CredHubBase.%STEELTOE_VERSION%.nupkg" -Source "%USERPROFILE%\localfeed"
|
||||
)
|
||||
)
|
||||
IF "%APPVEYOR_REPO_TAG_NAME%"=="" (dotnet pack --configuration %BUILD_TYPE% --version-suffix %STEELTOE_VERSION_SUFFIX% --include-symbols --include-source)
|
||||
IF "%APPVEYOR_REPO_TAG_NAME%"=="" (nuget add -Source %USERPROFILE%\localfeed bin\%BUILD_TYPE%\Steeltoe.Security.DataProtection.CredHubBase.%STEELTOE_VERSION%-%STEELTOE_VERSION_SUFFIX%.nupkg)
|
||||
cd ..\..
|
||||
|
||||
cd src\Steeltoe.Security.DataProtection.CredHubCore
|
||||
dotnet restore --configfile ..\..\nuget.config
|
||||
IF NOT "%APPVEYOR_REPO_TAG_NAME%"=="" (
|
||||
IF NOT "%STEELTOE_VERSION_SUFFIX%"=="" (
|
||||
dotnet pack --configuration %BUILD_TYPE% --version-suffix %STEELTOE_VERSION_SUFFIX%
|
||||
) ELSE (
|
||||
dotnet pack --configuration %BUILD_TYPE%
|
||||
)
|
||||
)
|
||||
IF "%APPVEYOR_REPO_TAG_NAME%"=="" (dotnet pack --configuration %BUILD_TYPE% --version-suffix %STEELTOE_VERSION_SUFFIX% --include-symbols --include-source)
|
||||
cd ..\..
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
@ECHO OFF
|
||||
:: Output dotnet info
|
||||
dotnet --info
|
||||
|
||||
SET CI_BUILD=%APPVEYOR%
|
||||
SET number=00000%APPVEYOR_BUILD_NUMBER%
|
||||
SET STEELTOE_VERSION=2.1.0
|
||||
SET STEELTOE_VERSION_SUFFIX=%APPVEYOR_REPO_BRANCH%-%number:~-5%
|
||||
IF NOT "%APPVEYOR_REPO_TAG_NAME%"=="" SET STEELTOE_VERSION_SUFFIX=%APPVEYOR_REPO_TAG_NAME:~6,5%
|
||||
IF NOT "%STEELTOE_VERSION_SUFFIX%"=="" (
|
||||
SET STEELTOE_VERSION_SUFFIX=%STEELTOE_VERSION_SUFFIX: =%
|
||||
SET STEELTOE_DASH_VERSION_SUFFIX=-%STEELTOE_VERSION_SUFFIX%
|
||||
) ELSE (
|
||||
SET STEELTOE_DASH_VERSION_SUFFIX=
|
||||
)
|
||||
echo "Version Suffix:" %STEELTOE_VERSION_SUFFIX%
|
||||
SET BUILD_TYPE=Release
|
||||
IF "%APPVEYOR_REPO_BRANCH%"=="master" COPY config\nuget-master.config .\nuget.config
|
||||
IF "%APPVEYOR_REPO_BRANCH%"=="dev" COPY config\nuget-dev.config .\nuget.config
|
||||
IF "%APPVEYOR_REPO_BRANCH:~0,3%"=="upd" COPY config\nuget-update.config .\nuget.config
|
||||
IF NOT "%APPVEYOR_REPO_TAG_NAME%"=="" COPY config\nuget.config .\nuget.config
|
||||
IF "%APPVEYOR_REPO_BRANCH%"=="master" COPY config\versions-master.props .\versions.props
|
||||
IF "%APPVEYOR_REPO_BRANCH%"=="dev" COPY config\versions-dev.props .\versions.props
|
||||
IF "%APPVEYOR_REPO_BRANCH:~0,3%"=="upd" COPY config\versions-update.props .\versions.props
|
||||
IF NOT "%APPVEYOR_REPO_TAG_NAME%"=="" COPY config\versions.props .\versions.props
|
||||
IF "%APPVEYOR_REPO_BRANCH%"=="dev" SET BUILD_TYPE=Debug
|
||||
mkdir %USERPROFILE%\localfeed
|
||||
nuget sources add -Name localfeed -Source %USERPROFILE%\localfeed -ConfigFile .\nuget.config
|
|
@ -1,33 +0,0 @@
|
|||
@ECHO OFF
|
||||
|
||||
:: Run unit tests
|
||||
cd test\Steeltoe.Security.Authentication.CloudFoundryCore.Test
|
||||
dotnet restore --configfile ..\..\nuget.config
|
||||
dotnet xunit -verbose
|
||||
if not "%errorlevel%"=="0" goto failure
|
||||
cd ..\..
|
||||
|
||||
cd test\Steeltoe.Security.DataProtection.RedisCore.Test
|
||||
dotnet restore --configfile ..\..\nuget.config
|
||||
dotnet xunit -verbose
|
||||
if not "%errorlevel%"=="0" goto failure
|
||||
cd ..\..
|
||||
|
||||
cd test\Steeltoe.Security.DataProtection.CredHubBase.Test
|
||||
dotnet restore --configfile ..\..\nuget.config
|
||||
dotnet xunit -verbose
|
||||
if not "%errorlevel%"=="0" goto failure
|
||||
cd ..\..
|
||||
|
||||
cd test\Steeltoe.Security.DataProtection.CredHubCore.Test
|
||||
dotnet restore --configfile ..\..\nuget.config
|
||||
dotnet xunit -verbose
|
||||
if not "%errorlevel%"=="0" goto failure
|
||||
cd ..\..
|
||||
|
||||
echo Unit Tests Pass
|
||||
goto success
|
||||
:failure
|
||||
echo Unit Tests Failure
|
||||
exit -1
|
||||
:success
|
|
@ -1,20 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo Code is built in Unit Tests
|
||||
|
||||
cd src/Steeltoe.Security.Authentication.CloudFoundryCore
|
||||
dotnet restore --configfile ../../nuget.config
|
||||
cd ../..
|
||||
|
||||
cd src/Steeltoe.Security.DataProtection.RedisCore
|
||||
dotnet restore --configfile ../../nuget.config
|
||||
cd ../..
|
||||
|
||||
cd src/Steeltoe.Security.DataProtection.CredHubBase
|
||||
dotnet restore --configfile ../../nuget.config
|
||||
cd ../..
|
||||
|
||||
cd src/Steeltoe.Security.DataProtection.CredHubCore
|
||||
dotnet restore --configfile ../../nuget.config
|
||||
cd ../..
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
dotnet --info
|
||||
|
||||
export CI_BUILD=True
|
||||
export STEELTOE_VERSION=2.1.0
|
||||
if [[ "$TRAVIS_BRANCH" == "master" ]]; then cp config/nuget-master.config ./nuget.config ; fi
|
||||
if [[ "$TRAVIS_BRANCH" == "dev" ]]; then cp config/nuget-dev.config ./nuget.config ; fi
|
||||
if [[ "${TRAVIS_BRANCH:0:3}" == "upd" ]]; then cp config/nuget-update.config ./nuget.config ; fi
|
||||
if [[ "$TRAVIS_TAG" != "" ]]; then cp config/nuget.config ./nuget.config ; fi
|
||||
if [[ "$TRAVIS_BRANCH" == "master" ]]; then cp config/versions-master.props ./versions.props ; fi
|
||||
if [[ "$TRAVIS_BRANCH" == "dev" ]]; then cp config/versions-dev.props ./versions.props ; fi
|
||||
if [[ "${TRAVIS_BRANCH:0:3}" == "upd" ]]; then cp config/versions-update.props ./versions.props ; fi
|
||||
if [[ "$TRAVIS_TAG" != "" ]]; then cp config/versions.props ./versions.props ; fi
|
|
@ -1,25 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Run unit tests
|
||||
cd test/Steeltoe.Security.Authentication.CloudFoundryCore.Test
|
||||
dotnet restore --configfile ../../nuget.config
|
||||
dotnet xunit -verbose -f netcoreapp2.0
|
||||
if [[ $? != 0 ]]; then exit 1 ; fi
|
||||
cd ../..
|
||||
|
||||
cd test/Steeltoe.Security.DataProtection.RedisCore.Test
|
||||
dotnet restore --configfile ../../nuget.config
|
||||
dotnet xunit -verbose -f netcoreapp2.0
|
||||
if [[ $? != 0 ]]; then exit 1 ; fi
|
||||
cd ../..
|
||||
|
||||
cd test/Steeltoe.Security.DataProtection.CredHubBase.Test
|
||||
dotnet restore --configfile ../../nuget.config
|
||||
dotnet xunit -verbose -f netcoreapp2.0
|
||||
if [[ $? != 0 ]]; then exit 1 ; fi
|
||||
cd ../..
|
||||
cd test/Steeltoe.Security.DataProtection.CredHubCore.Test
|
||||
dotnet restore --configfile ../../nuget.config
|
||||
dotnet xunit -verbose -f netcoreapp2.0
|
||||
if [[ $? != 0 ]]; then exit 1 ; fi
|
||||
cd ../..
|
|
@ -6,7 +6,7 @@ The providers simplify using CloudFoundry OAuth2 security services (e.g. [UAA Se
|
|||
|
||||
There are two providers to choose from in this package:
|
||||
|
||||
* A provider that enables OAuth2 Single Signon with CloudFoundry Security services. Have a look at the Steeltoe [CloudFoundrySingleSignon](https://github.com/SteelToeOSS/Samples/tree/dev/Security/src/CloudFoundrySingleSignon) for a sample app.
|
||||
* A provider that enables using JWT tokens issued by CloudFoundry Security services for securing REST endpoints. Have a look at the Steeltoe [CloudFoundryJwtAuthentication](https://github.com/SteelToeOSS/Samples/tree/dev/Security/src/CloudFoundryJwtAuthentication) for a sample app.
|
||||
* A provider that enables OAuth2 Single Signon with CloudFoundry Security services. Have a look at the Steeltoe [CloudFoundrySingleSignon](https://github.com/SteeltoeOSS/Samples/tree/dev/Security/src/CloudFoundrySingleSignon) for a sample app.
|
||||
* A provider that enables using JWT tokens issued by CloudFoundry Security services for securing REST endpoints. Have a look at the Steeltoe [CloudFoundryJwtAuthentication](https://github.com/SteeltoeOSS/Samples/tree/dev/Security/src/CloudFoundryJwtAuthentication) for a sample app.
|
||||
|
||||
For more information on how to use this component see the online [Steeltoe documentation](http://steeltoe.io/).
|
||||
For more information on how to use this component see the online [Steeltoe documentation](https://steeltoe.io/).
|
|
@ -1,7 +1,7 @@
|
|||
# ASP.NET Core DataProtection Key Storage Provider for Redis
|
||||
|
||||
This project contains a [ASP.NET Core DataProtection Key Storage Provider](https://docs.asp.net/en/latest/security/data-protection/implementation/key-storage-providers.html) for Redis which works together with the Steeltoe Redis Connector for CloudFoundry.
|
||||
This project contains a [ASP.NET Core DataProtection Key Storage Provider](https://docs.asp.net/en/latest/security/data-protection/implementation/key-storage-providers.html) for Redis which works together with the Steeltoe Redis Connector for CloudFoundry.
|
||||
|
||||
This provider simplifies using Redis on CloudFoundry as a custom key repository.
|
||||
|
||||
For more information on how to use this component see the online [Steeltoe documentation](http://steeltoe.io/).
|
||||
For more information on how to use this component see the online [Steeltoe documentation](https://steeltoe.io/).
|
Загрузка…
Ссылка в новой задаче