Skip to content

Commit

Permalink
Add VolatileKeys property to queue item
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxhy committed Jul 31, 2023
1 parent e07360a commit de89f0f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>Leosac.$(AssemblyName)</PackageId>
<Version>0.1.0</Version>
<Version>0.2.0</Version>
<Title>Leosac Credential Provisioning - Base Worker Library</Title>
<Company>Leosac SAS</Company>
<Product>Leosac Credential Provisioning</Product>
Expand All @@ -26,7 +26,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Leosac.CredentialProvisioning.Core" Version="0.2.0" />
<PackageReference Include="Leosac.CredentialProvisioning.Core" Version="0.3.1" />
<PackageReference Include="log4net" Version="2.0.15" />
</ItemGroup>

Expand Down
6 changes: 6 additions & 0 deletions CredentialProvisioning.Worker/WorkerQueueItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ namespace Leosac.CredentialProvisioning.Worker
{
public class WorkerQueueItem
{
public WorkerQueueItem()

Check warning on line 7 in CredentialProvisioning.Worker/WorkerQueueItem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 6.0.x)

Non-nullable property 'TemplateId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 7 in CredentialProvisioning.Worker/WorkerQueueItem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 6.0.x)

Non-nullable property 'Credential' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 7 in CredentialProvisioning.Worker/WorkerQueueItem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 6.0.x)

Non-nullable property 'Context' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 7 in CredentialProvisioning.Worker/WorkerQueueItem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 6.0.x)

Non-nullable property 'TemplateId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 7 in CredentialProvisioning.Worker/WorkerQueueItem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 6.0.x)

Non-nullable property 'Credential' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 7 in CredentialProvisioning.Worker/WorkerQueueItem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 6.0.x)

Non-nullable property 'Context' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 7 in CredentialProvisioning.Worker/WorkerQueueItem.cs

View workflow job for this annotation

GitHub Actions / build (windows-latest, 6.0.x)

Non-nullable property 'TemplateId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 7 in CredentialProvisioning.Worker/WorkerQueueItem.cs

View workflow job for this annotation

GitHub Actions / build (windows-latest, 6.0.x)

Non-nullable property 'Credential' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 7 in CredentialProvisioning.Worker/WorkerQueueItem.cs

View workflow job for this annotation

GitHub Actions / build (windows-latest, 6.0.x)

Non-nullable property 'Context' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 7 in CredentialProvisioning.Worker/WorkerQueueItem.cs

View workflow job for this annotation

GitHub Actions / build (windows-latest, 6.0.x)

Non-nullable property 'TemplateId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 7 in CredentialProvisioning.Worker/WorkerQueueItem.cs

View workflow job for this annotation

GitHub Actions / build (windows-latest, 6.0.x)

Non-nullable property 'Credential' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
{
VolatileKeys = new List<CredentialKey>();
}
public string TemplateId { get; set; }

public WorkerCredentialBase Credential { get; set; }

public object Context { get; set; }

public bool Removing { get; set; }

public IList<CredentialKey> VolatileKeys { get; private set; }
}
}

0 comments on commit de89f0f

Please sign in to comment.