Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support v2 receiptcases in IT #204

Merged
merged 205 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
205 commits
Select commit Hold shift + click to select a range
020a455
Added projects for CustomRTPrinter and CustomRTServer
StefanKert Aug 21, 2023
7002542
Extend buildpipe
StefanKert Aug 21, 2023
50c84ea
Added basic impl for custom RT server communication
StefanKert Aug 21, 2023
e49b903
Updated interface package
StefanKert Aug 24, 2023
ef2c1d9
Added selection of cases
StefanKert Aug 24, 2023
40a6909
removed unused lines
StefanKert Aug 24, 2023
9c58d0c
added further step
StefanKert Aug 25, 2023
3f18f51
Moved things around
StefanKert Aug 25, 2023
942de83
Mreged branch
StefanKert Aug 25, 2023
71e6ee6
Improved a few things
StefanKert Aug 25, 2023
9ccef22
Removed unecessary changes
StefanKert Aug 25, 2023
48ad7b3
Unchange
StefanKert Aug 25, 2023
66c1e75
Upgraded interface package
StefanKert Aug 25, 2023
1c4e286
Upgrdae interface package
StefanKert Aug 25, 2023
273f86e
Moved most Epson specific bits to EpsonSCU
StefanKert Aug 28, 2023
ee85891
merged files
StefanKert Aug 28, 2023
1b180c4
Extended generic interface
StefanKert Aug 28, 2023
2c978b8
Added init operation logic
StefanKert Aug 28, 2023
0882786
Using default impl for closings
StefanKert Aug 28, 2023
eade87d
Added receipts
StefanKert Aug 28, 2023
b5ebaaa
Implemented most cases
StefanKert Aug 28, 2023
2ec2bbf
Moved more components
StefanKert Aug 28, 2023
d9779cc
Move some more bits
StefanKert Aug 28, 2023
864cbd4
Fixed dbuild issues
StefanKert Aug 28, 2023
ef15406
Fixed issue with initialization
StefanKert Aug 28, 2023
773954a
Added factory for actionjournal / signatureitems
StefanKert Aug 29, 2023
9d3b9a0
Further smaller fixes and improvement
StefanKert Aug 29, 2023
db8647f
Fixed some minor issues and added tests
StefanKert Aug 29, 2023
f991601
Further smaller fixes
StefanKert Aug 29, 2023
f895e48
Set receiptidentification
StefanKert Aug 29, 2023
fca7725
dded more tests
StefanKert Aug 29, 2023
7577514
Many tweaks and fixes.
StefanKert Aug 29, 2023
056a5b4
Added several tests
StefanKert Aug 30, 2023
86b0a0f
Using cashud
StefanKert Aug 30, 2023
7ba0575
Merge master
StefanKert Aug 30, 2023
4548dbd
Fixed signaturtypes
StefanKert Aug 31, 2023
4d3344c
Using init op
StefanKert Aug 31, 2023
1725380
Update SignatureTypesIT.cs
StefanKert Aug 31, 2023
9f488fe
A few fixes
StefanKert Sep 1, 2023
beda4c5
Merge remote-tracking branch 'origin/user/ske/supportforcustomhardwar…
StefanKert Sep 1, 2023
7b8656b
Several more improvements
StefanKert Sep 1, 2023
3a2cfc6
Changed handling a bit
StefanKert Sep 1, 2023
93de28e
Smaller fixes
StefanKert Sep 1, 2023
91a51ec
Update version
StefanKert Sep 1, 2023
a7831a6
Fixed build errors
StefanKert Sep 1, 2023
69bccb3
Fixed tests
StefanKert Sep 1, 2023
14b8696
Ignore test for now
StefanKert Sep 1, 2023
59520a9
Aded packages to build
StefanKert Sep 1, 2023
4222d77
Added rtinfo
StefanKert Sep 1, 2023
3384527
Merge branch 'user/ske/newitinterfacesupport' of https://github.com/f…
StefanKert Sep 1, 2023
337d346
Made a few changes to support v2 interface
StefanKert Sep 1, 2023
21155da
Added v2 casing
StefanKert Sep 1, 2023
348e616
Fixed scu unit
StefanKert Sep 1, 2023
ac19224
Fixed build error
StefanKert Sep 1, 2023
a90e9fe
Fixed build issue
StefanKert Sep 1, 2023
f379bc1
Upgraded packges to match
StefanKert Sep 1, 2023
f429de8
So let's get rid of some deadlocks
StefanKert Sep 1, 2023
e3d6f17
Merge branch 'user/ske/newitinterfacesupport' of https://github.com/f…
StefanKert Sep 1, 2023
58601c9
Removed semaphore
StefanKert Sep 2, 2023
ab329e7
Finalized first draft of queue
StefanKert Sep 5, 2023
ba809de
Fix
StefanKert Sep 5, 2023
3e92d58
Merge branch 'user/ske/newitinterfacesupport' of https://github.com/f…
StefanKert Sep 5, 2023
ed265e3
Added more receipt examples
StefanKert Sep 5, 2023
cda93d4
Removed operator name
StefanKert Sep 5, 2023
7cfff7e
Fixed most things related to custom rt server impl
StefanKert Sep 6, 2023
7caa910
Opening day during init operation receipt
StefanKert Sep 6, 2023
99c55a1
Added method to auto open new day if cashstatus = 0
StefanKert Sep 6, 2023
4963e1c
Fixed serialization issues
StefanKert Sep 6, 2023
632637e
Add basic prototyp for using storno
StefanKert Sep 6, 2023
c8d0459
Support Refund / Annulo
StefanKert Sep 6, 2023
3608d4a
Yeps
StefanKert Sep 6, 2023
d061e8a
Merge remote-tracking branch 'origin/main' into user/ske/newitinterfa…
StefanKert Sep 6, 2023
fab729c
Increase epson version
StefanKert Sep 6, 2023
dde6dee
Merge branch 'user/ske/newitinterfacesupport' of https://github.com/f…
StefanKert Sep 6, 2023
096848a
Ignoring test
StefanKert Sep 6, 2023
b87515c
Fixed tests
StefanKert Sep 6, 2023
41c8daa
Commented test
StefanKert Sep 6, 2023
f5f6223
1.3.50 rc1
StefanKert Sep 6, 2023
c47a611
Rebranding of Epson SCU to allow distinguishing between espon printer…
StefanKert Sep 6, 2023
d3b5327
Fixed most build errors
StefanKert Sep 6, 2023
2d0e3e2
Fixed refund
StefanKert Sep 6, 2023
acbde13
Ok that was .. not so smart
StefanKert Sep 7, 2023
32d7d2c
Fixed refund receipt
StefanKert Sep 7, 2023
68780a1
NO need
StefanKert Sep 7, 2023
7998dcb
Add support for customer iva
StefanKert Sep 7, 2023
90dd743
Improved EpsonSCU
StefanKert Sep 7, 2023
6b0b69b
Use refund instead of storno
StefanKert Sep 7, 2023
612c525
Added void
StefanKert Sep 7, 2023
9d44fea
Support Annulo
StefanKert Sep 7, 2023
8073293
Fixed
StefanKert Sep 7, 2023
412c71c
Fix
StefanKert Sep 7, 2023
927afdf
Fix
StefanKert Sep 7, 2023
50e3441
Fixed several issues
StefanKert Sep 8, 2023
1d81a17
Changed errormode
StefanKert Sep 13, 2023
207ed43
Improved custom RT server impl
StefanKert Sep 13, 2023
4dcf812
Moved models
StefanKert Sep 13, 2023
78cf0b6
Added back pos signatures
StefanKert Sep 13, 2023
964f6dc
Use abstract
StefanKert Sep 13, 2023
3b133e1
NExt steps unification
StefanKert Sep 13, 2023
c095163
Added acceptancetests project
StefanKert Sep 13, 2023
2dbd4e6
Further smaller fixes
StefanKert Sep 13, 2023
3f4d772
Fixed some more tests
StefanKert Sep 14, 2023
13ed9c7
Ran code cleanu
StefanKert Sep 14, 2023
e7aa821
Improved stability
StefanKert Sep 14, 2023
89991dc
Fixed
StefanKert Sep 14, 2023
c393ddc
Fixed zeroreceipt
StefanKert Sep 14, 2023
613cb89
Fixed some smaller issuess
StefanKert Sep 14, 2023
8f5f2cf
Improved handling of documents
StefanKert Sep 14, 2023
c2e8d30
IMproved epson logic
StefanKert Sep 14, 2023
97955fa
Improved logging
StefanKert Sep 14, 2023
aecf41a
Merged
StefanKert Sep 14, 2023
91d4ac8
Logging errors and proceeding
StefanKert Sep 14, 2023
084fbfe
Merge branch 'user/ske/newitinterfacesupport' of https://github.com/f…
StefanKert Sep 14, 2023
d8f6389
Support receipts without refere number
StefanKert Sep 15, 2023
e8c7cad
Fixed some smaller issues
StefanKert Sep 15, 2023
838e36c
Fixed wrong returning of signatures
StefanKert Sep 15, 2023
56eec2e
Fixed build
StefanKert Sep 15, 2023
59c2ba7
Don't process receipts in failed mode
StefanKert Sep 18, 2023
c015083
using ND instead of POS
StefanKert Sep 18, 2023
c4db9dd
implement omaggio
StefanKert Sep 18, 2023
189e15b
Fixed refund cases
StefanKert Sep 18, 2023
57fac2c
Persist state
StefanKert Sep 18, 2023
da9ef25
added additional lines
StefanKert Sep 18, 2023
e8910e9
Fixe
StefanKert Sep 19, 2023
413e479
Fixed omaggio
StefanKert Sep 19, 2023
bf2bb19
Calculate vatamounts
StefanKert Sep 19, 2023
e17d56d
Some more fixes to discount
StefanKert Sep 19, 2023
fa8128a
Many more fixes
StefanKert Sep 19, 2023
fa74e46
Return sign error
StefanKert Sep 19, 2023
6d7ede6
Added queue to process ele
StefanKert Sep 20, 2023
b0a43a4
added cases
StefanKert Sep 20, 2023
0202802
Merge branch 'user/ske/newitinterfacesupport' of https://github.com/f…
StefanKert Sep 20, 2023
888ab2a
Fixed mapping issues
StefanKert Sep 20, 2023
0c52727
Fixed more things
StefanKert Sep 20, 2023
faafbf6
Fixed zeroreceipt
StefanKert Sep 20, 2023
68dbf30
Merge branch 'user/ske/newitinterfacesupport' of https://github.com/f…
StefanKert Sep 20, 2023
d4a9a69
Fixed refund / storno
StefanKert Sep 20, 2023
afd8d5d
Merge branch 'user/ske/newitinterfacesupport' of https://github.com/f…
StefanKert Sep 20, 2023
a55800a
A few more fixes
StefanKert Sep 20, 2023
c2c6d93
one more night
StefanKert Sep 20, 2023
155977c
Updated middleware
StefanKert Sep 20, 2023
ee9c730
Merge branch 'user/ske/newitinterfacesupport' of https://github.com/f…
StefanKert Sep 20, 2023
abb9aa1
Fix
StefanKert Sep 20, 2023
27b6162
Dipsoisng
StefanKert Sep 20, 2023
6bf3901
Merge branch 'user/ske/newitinterfacesupport' of https://github.com/f…
StefanKert Sep 20, 2023
421c328
Fixeed a few mappings
StefanKert Sep 20, 2023
78e003c
Fixed zero receipt
StefanKert Sep 20, 2023
890f941
Fixed refund
StefanKert Sep 20, 2023
e0ba0e5
Merge branch 'user/ske/newitinterfacesupport' of https://github.com/f…
StefanKert Sep 20, 2023
d58c37c
Improved error handling for scu
StefanKert Sep 21, 2023
35501bc
Improved
StefanKert Sep 21, 2023
8b27ab8
Using ND instead of NP
StefanKert Sep 22, 2023
835864c
Moved logic to improved processing
StefanKert Oct 10, 2023
c5c1a06
Improvd structure slightly
StefanKert Oct 10, 2023
3c494e0
Merge branch 'main' into user/ske/newitinterfacesupport
TSchmiedlechner Oct 10, 2023
51d6cae
Some PR cleanups
TSchmiedlechner Oct 10, 2023
d0f3dab
Fixed build
TSchmiedlechner Oct 10, 2023
695f2d3
Re-added missing extension method
TSchmiedlechner Oct 10, 2023
b9eff60
Add comment
StefanKert Oct 11, 2023
425f990
Merge branch 'user/ske/newitinterfacesupport' of https://github.com/f…
StefanKert Oct 11, 2023
bb4e40b
added a few receipts
StefanKert Oct 11, 2023
8a1c68f
Merge branch 'user/ske/newitinterfacesupport' of https://github.com/f…
StefanKert Oct 11, 2023
75e3534
group error handling
StefanKert Oct 11, 2023
2ddd246
Cleanup
StefanKert Oct 11, 2023
b53a07e
Checking result from SCU
StefanKert Oct 11, 2023
6370fd7
Cleanup for epson scu
StefanKert Oct 11, 2023
26c4ae1
smaller fixes
StefanKert Oct 11, 2023
8dc4a19
Added a few tests
StefanKert Oct 12, 2023
607f91b
Added pwd for reprint
StefanKert Oct 12, 2023
4896de2
Added Tip
StefanKert Oct 12, 2023
248188d
Fixed Queue build
TSchmiedlechner Oct 12, 2023
e7dc209
Fixed absolute paths
TSchmiedlechner Oct 12, 2023
b173b32
Fix
StefanKert Oct 13, 2023
2a8b10a
Mergd back
StefanKert Oct 13, 2023
78c7335
Releaseing with a single pipe
StefanKert Oct 13, 2023
8fc83a7
Added detailed error message
StefanKert Oct 13, 2023
22a9799
use legacy
StefanKert Oct 13, 2023
036964d
Fixed pipe
StefanKert Oct 13, 2023
0da69c3
Fix
StefanKert Oct 13, 2023
0ef093b
Fixed typo
StefanKert Oct 13, 2023
1c56fca
Using separate service connection
StefanKert Oct 13, 2023
21e2aa6
Fixed parameter
StefanKert Oct 13, 2023
3fcf283
Fix
StefanKert Oct 13, 2023
ac41258
Fixed tests
StefanKert Oct 13, 2023
e8d653b
Using iitsscd provider
StefanKert Oct 13, 2023
d015ecf
Cleanup
StefanKert Oct 13, 2023
5f75acb
Added prod pipe
StefanKert Oct 13, 2023
99f1765
Added release pipe for nuget
StefanKert Oct 13, 2023
3bbf002
Added release stesp
StefanKert Oct 13, 2023
5b369bb
Fixed tests
StefanKert Oct 13, 2023
3a5f6ce
Fixed unittsets
StefanKert Oct 13, 2023
b5ea3a3
Fixed usage of feed
StefanKert Oct 13, 2023
31edaa8
Okay another fix
StefanKert Oct 13, 2023
f83d55f
Fixed variable
StefanKert Oct 13, 2023
0cc4a76
Fixed build pipes
StefanKert Oct 13, 2023
0710515
Enforce database update for IT if url changes
StefanKert Oct 13, 2023
651f484
Setting retries to 1
StefanKert Oct 14, 2023
bbd80f8
Fixed wrong signaturtype
StefanKert Oct 15, 2023
0fd4f78
Clearer instructions et for password
StefanKert Oct 15, 2023
ae3dcf4
Added config
StefanKert Oct 16, 2023
03fca2d
Fix
StefanKert Oct 16, 2023
9f0e18b
Added logging
StefanKert Oct 16, 2023
46521d5
Added additional examples.
StefanKert Oct 17, 2023
1af7339
Improved handling of subitemcases
StefanKert Oct 18, 2023
bdc8974
Added subitem support
StefanKert Oct 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
50 changes: 50 additions & 0 deletions azure-pipelines/fiskaltrust.Middleware.Queue-Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,53 @@ stages:
environment: production
storage: stprodwesteuropepackages
serviceConnection: rg-prod-westeurope-packages

- template: templates/release-legacy.yml
parameters:
type: fiskaltrust.Middleware.Queue
artifact: build
projects:
- InMemory
- SQLite
- EF
- MySQL
- PostgreSQL
stages:
- stage: Release_Sandbox_Legacy
dependsOn: []
templateContext:
environment: sandbox-legacy
storage: fiskaltrustsandbox
serviceConnection: sandbox-legacy-packages

- stage: Release_Production_Legacy
templateContext:
dependsOnPrefix: Release_Sandbox_Legacy
environment: production-legacy
storage: fiskaltrustcommonwe1
serviceConnection: production-legacy-packages

- template: templates/release-legacy-nuget.yml
parameters:
type: fiskaltrust.Middleware.Queue
artifact: build
projects:
- InMemory
- SQLite
- EF
- MySQL
- PostgreSQL
stages:
- stage: Release_Sandbox_Legacy_Nuget
dependsOn: []
templateContext:
environment: sandbox-legacy-nuget
feed: dev
serviceConnection: sandbox-legacy-packages

- stage: Release_Production_Legacy_Nuget
templateContext:
dependsOnPrefix: Release_Sandbox_Legacy_Nuget
environment: production-legacy-nuget
feed: middleware
serviceConnection: production-legacy-packages
56 changes: 56 additions & 0 deletions azure-pipelines/fiskaltrust.Middleware.SCU.DE-Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,59 @@ stages:
environment: production
storage: stprodwesteuropepackages
serviceConnection: rg-prod-westeurope-packages

- template: templates/release-legacy.yml
parameters:
type: fiskaltrust.Middleware.SCU.DE
artifact: build
projects:
- CryptoVision
- DieboldNixdorf
- Epson
- FiskalyCertified
- Swissbit
- DeutscheFiskal
- SwissbitCloud
- InMemory
stages:
- stage: Release_Sandbox_Legacy
dependsOn: []
templateContext:
environment: sandbox-legacy
storage: fiskaltrustsandbox
serviceConnection: sandbox-legacy-packages

- stage: Release_Production_Legacy
templateContext:
dependsOnPrefix: Release_Sandbox_Legacy
environment: production-legacy
storage: fiskaltrustcommonwe1
serviceConnection: production-legacy-packages

- template: templates/release-legacy-nuget.yml
parameters:
type: fiskaltrust.Middleware.SCU.DE
artifact: build
projects:
- CryptoVision
- DieboldNixdorf
- Epson
- FiskalyCertified
- Swissbit
- DeutscheFiskal
- SwissbitCloud
- InMemory
stages:
- stage: Release_Sandbox_Legacy_Nuget
dependsOn: []
templateContext:
environment: sandbox-legacy-nuget
feed: dev
serviceConnection: sandbox-legacy-packages

- stage: Release_Production_Legacy_Nuget
templateContext:
dependsOnPrefix: Release_Sandbox_Legacy_Nuget
environment: production-legacy-nuget
feed: middleware
serviceConnection: production-legacy-packages
39 changes: 32 additions & 7 deletions azure-pipelines/fiskaltrust.Middleware.SCU.IT-Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ stages:
type: fiskaltrust.Middleware.SCU.IT
artifact: build
projects:
- Epson
- EpsonRTPrinter
- CustomRTPrinter
- CustomRTServer
stages:
- stage: Release_Sandbox
dependsOn: []
Expand All @@ -25,9 +27,32 @@ stages:
storage: stdevwesteuropepackages
serviceConnection: rg-dev-westeurope-packages

# - stage: Release_Production
# templateContext:
# environment: production
# storage: stprodwesteuropepackages
# serviceConnection: rg-prod-westeurope-packages
# dependsOnPrefix: Release_Sandbox
- stage: Release_Production
templateContext:
environment: production
storage: stprodwesteuropepackages
serviceConnection: rg-prod-westeurope-packages
dependsOnPrefix: Release_Sandbox

- template: templates/release-legacy.yml
parameters:
type: fiskaltrust.Middleware.SCU.IT
artifact: build
projects:
- EpsonRTPrinter
- CustomRTPrinter
- CustomRTServer
stages:
- stage: Release_Sandbox_Legacy
dependsOn: []
templateContext:
environment: sandbox-legacy
storage: fiskaltrustsandbox
serviceConnection: sandbox-legacy-packages

- stage: Release_Production_Legacy
templateContext:
dependsOnPrefix: Release_Sandbox_Legacy
environment: production-legacy
storage: fiskaltrustcommonwe1
serviceConnection: production-legacy-packages
4 changes: 3 additions & 1 deletion azure-pipelines/fiskaltrust.Middleware.SCU.IT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,6 @@ stages:
parameters:
workingDirectory: scu-it
projects:
- fiskaltrust.Middleware.SCU.IT.Epson
- fiskaltrust.Middleware.SCU.IT.EpsonRTPrinter
- fiskaltrust.Middleware.SCU.IT.CustomRTServer
- fiskaltrust.Middleware.SCU.IT.CustomRTPrinter
55 changes: 55 additions & 0 deletions azure-pipelines/templates/release-legacy-nuget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
parameters:
- name: stages
type: stageList

- name: type
type: string

- name: artifact
type: string
default: current

- name: projects
type: object

stages:
- ${{ each project in parameters.projects }}:
- ${{ each stage in parameters.stages }}:
- ${{ each pair in stage }}:
${{ if eq(pair.key, 'stage') }}:
stage: ${{ pair.value }}_${{ project }}
${{ else }}:
${{ pair.key }}: ${{ pair.value }}

displayName: ${{ stage.templateContext.environment }} ${{ project }}

${{ if ne(stage.templateContext.dependsOnPrefix, '') }}:
dependsOn: ${{ stage.templateContext.dependsOnPrefix }}_${{ replace(project, '.', '_') }}

${{ if eq(stage.templateContext.environment, 'production-legacy-nuget') }}:
condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags/'), contains(variables['Build.SourceBranch'], lower('/${{ project }}/v')))
${{ else }}:
condition: or(not(startsWith(variables['Build.SourceBranch'], 'refs/tags/')), and(startsWith(variables['Build.SourceBranch'], 'refs/tags/'), contains(variables['Build.SourceBranch'], lower('/${{ project }}/v'))))

jobs:
- deployment: Release

pool:
vmImage: windows-latest

environment: ${{ stage.templateContext.serviceConnection }}

strategy:
runOnce:
deploy:
steps:
- download: ${{ parameters.artifact }}
artifact: packages-v1
displayName: "Download artifact"

- task: NuGetCommand@2
displayName: 'NuGet push'
inputs:
command: push
packagesToPush: '${{ parameters.type }}.${{ project }}.*.nupkg'
publishVstsFeed: '${{ stage.templateContext.feed }}'
57 changes: 57 additions & 0 deletions azure-pipelines/templates/release-legacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
parameters:
- name: stages
type: stageList

- name: type
type: string

- name: artifact
type: string
default: current

- name: projects
type: object

stages:
- ${{ each project in parameters.projects }}:
- ${{ each stage in parameters.stages }}:
- ${{ each pair in stage }}:
${{ if eq(pair.key, 'stage') }}:
stage: ${{ pair.value }}_${{ project }}
${{ else }}:
${{ pair.key }}: ${{ pair.value }}

displayName: ${{ stage.templateContext.environment }} ${{ project }}

${{ if ne(stage.templateContext.dependsOnPrefix, '') }}:
dependsOn: ${{ stage.templateContext.dependsOnPrefix }}_${{ replace(project, '.', '_') }}

${{ if eq(stage.templateContext.environment, 'production-legacy') }}:
condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags/'), contains(variables['Build.SourceBranch'], lower('/${{ project }}/v')))
${{ else }}:
condition: or(not(startsWith(variables['Build.SourceBranch'], 'refs/tags/')), and(startsWith(variables['Build.SourceBranch'], 'refs/tags/'), contains(variables['Build.SourceBranch'], lower('/${{ project }}/v'))))

jobs:
- deployment: Release

pool:
vmImage: windows-latest

environment: ${{ stage.templateContext.serviceConnection }}

strategy:
runOnce:
deploy:
steps:
- download: ${{ parameters.artifact }}
artifact: packages-v1
displayName: "Download artifact"

- task: AzureCLI@2
displayName: "Publish to blob storage"
inputs:
azureSubscription: ${{ stage.templateContext.serviceConnection }}
scriptType: ps
scriptLocation: inlineScript
inlineScript: |
az storage blob upload-batch --account-name ${{ stage.templateContext.storage }} -d "packages" -s "$(Pipeline.Workspace)/${{ parameters.artifact }}/packages-v1/" --pattern "${{ parameters.type }}.${{ project }}.*.nupkg"
12 changes: 10 additions & 2 deletions azure-pipelines/templates/scu-it/build-nuget.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,16 @@ steps:
$(WorkingDirectory)/src/**/*fiskaltrust*.exe

- script: dotnet pack --output $(Build.ArtifactStagingDirectory) --no-restore --configuration $(buildConfiguration)
displayName: 'dotnet pack fiskaltrust.Middleware.SCU.IT.Epson'
workingDirectory: '$(WorkingDirectory)/src/fiskaltrust.Middleware.SCU.IT.Epson'
displayName: 'dotnet pack fiskaltrust.Middleware.SCU.IT.EpsonRTPrinter'
workingDirectory: '$(WorkingDirectory)/src/fiskaltrust.Middleware.SCU.IT.EpsonRTPrinter'

- script: dotnet pack --output $(Build.ArtifactStagingDirectory) --no-restore --configuration $(buildConfiguration)
displayName: 'dotnet pack fiskaltrust.Middleware.SCU.IT.CustomRTServer'
workingDirectory: '$(WorkingDirectory)/src/fiskaltrust.Middleware.SCU.IT.CustomRTServer'

- script: dotnet pack --output $(Build.ArtifactStagingDirectory) --no-restore --configuration $(buildConfiguration)
displayName: 'dotnet pack fiskaltrust.Middleware.SCU.IT.CustomRTPrinter'
workingDirectory: '$(WorkingDirectory)/src/fiskaltrust.Middleware.SCU.IT.CustomRTPrinter'

- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'
Expand Down
4 changes: 3 additions & 1 deletion nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
</packageRestore>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="middleware" value="https://pkgs.dev.azure.com/fiskaltrust/Public/_packaging/middleware/nuget/v3/index.json" />
<add key="middleware"
value="https://pkgs.dev.azure.com/fiskaltrust/Public/_packaging/middleware/nuget/v3/index.json" />
<add key="dev" value="https://pkgs.dev.azure.com/fiskaltrust/_packaging/dev/nuget/v3/index.json" />
</packageSources>
</configuration>
8 changes: 4 additions & 4 deletions queue/fiskaltrust.Middleware.sln
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "fiskaltrust.Middleware.Loca
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "fiskaltrust.Middleware.Localization.QueueIT", "src\fiskaltrust.Middleware.Localization.QueueIT\fiskaltrust.Middleware.Localization.QueueIT.csproj", "{65633C3A-65AA-4E05-8E56-7A348872CCC3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "fiskaltrust.Middleware.Localization.QueueIT.UnitTest", "test\fiskaltrust.Middleware.Localization.QueueIT.UnitTest\fiskaltrust.Middleware.Localization.QueueIT.UnitTest.csproj", "{5FAB9D88-4B90-4DF0-B1B7-1F50DF7CFCA4}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "fiskaltrust.Middleware.Localization.QueueIT.UnitTest", "test\fiskaltrust.Middleware.Localization.QueueIT.UnitTest\fiskaltrust.Middleware.Localization.QueueIT.UnitTest.csproj", "{5FAB9D88-4B90-4DF0-B1B7-1F50DF7CFCA4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "fiskaltrust.Middleware.Localization.QueueDEFAULT", "src\fiskaltrust.Middleware.Localization.QueueDEFAULT\fiskaltrust.Middleware.Localization.QueueDEFAULT.csproj", "{3C0310D9-EC55-4115-A2D5-0DC8C1246645}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "fiskaltrust.Middleware.Localization.QueueDEFAULT", "src\fiskaltrust.Middleware.Localization.QueueDEFAULT\fiskaltrust.Middleware.Localization.QueueDEFAULT.csproj", "{3C0310D9-EC55-4115-A2D5-0DC8C1246645}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "fiskaltrust.Middleware.Localization.QueueDEFAULT.UnitTest", "test\fiskaltrust.Middleware.Localization.QueueDEFAULT.UnitTest\fiskaltrust.Middleware.Localization.QueueDEFAULT.UnitTest.csproj", "{04B32BB6-2E1D-400F-B7B2-2638483B0825}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "fiskaltrust.Middleware.Localization.QueueDEFAULT.UnitTest", "test\fiskaltrust.Middleware.Localization.QueueDEFAULT.UnitTest\fiskaltrust.Middleware.Localization.QueueDEFAULT.UnitTest.csproj", "{04B32BB6-2E1D-400F-B7B2-2638483B0825}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "fiskaltrust.Middleware.Localization.QueueFR.IntegrationTest", "test\fiskaltrust.Middleware.Localization.QueueFR.IntegrationTest\fiskaltrust.Middleware.Localization.QueueFR.IntegrationTest.csproj", "{7F52D143-9179-4FCF-9DC7-B5F1681BD22A}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "fiskaltrust.Middleware.Localization.QueueFR.IntegrationTest", "test\fiskaltrust.Middleware.Localization.QueueFR.IntegrationTest\fiskaltrust.Middleware.Localization.QueueFR.IntegrationTest.csproj", "{7F52D143-9179-4FCF-9DC7-B5F1681BD22A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
3 changes: 2 additions & 1 deletion queue/src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net461;net6</TargetFrameworks>
<WarningsNotAsErrors>NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="fiskaltrust.interface" Version="1.3.47-rc2">
<PackageReference Include="fiskaltrust.interface" Version="1.3.50-rc1">
<NoWarn>NU1605</NoWarn>
</PackageReference>
<PackageReference Include="fiskaltrust.storage" Version="1.3.46-rc1">
Expand Down

This file was deleted.