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

Fix/forbidden second award activation #18

Open
wants to merge 68 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
201591b
Use working days for defense complaint period
smithumble May 28, 2020
8135bc5
prevent set compalintPeriod after award creation
sinusx1986 Jun 24, 2020
6335ff9
Merge branch 'cs-7035-4' into 'master'
Jun 25, 2020
2c977df
Release 2.5.82
Jul 1, 2020
ca03ea1
skip award compl period belowto simple
Jun 22, 2020
7fda675
Merge branch 'CS-7849' into 'master'
Jul 8, 2020
7052d2a
Release 2.5.83
Jul 8, 2020
49e6526
deny contract sign before award activation date
Jul 10, 2020
abed319
contract transaction structure implementation
Jul 1, 2020
f0ed7a1
Merge branch 'CS-7849_bugfix' into 'master'
Jul 13, 2020
993f5be
Release 2.5.84
Jul 13, 2020
67921e5
Fix bug with complaintPeriod
Jul 17, 2020
cb30775
Merge branch 'CS-7127' into 'master'
Jul 20, 2020
6f2f5f9
Fix bug
Jul 10, 2020
452d92d
Merge branch 'fix-cs-8046' into 'master'
Jul 20, 2020
102ea5f
Merge branch 'def-comp-working' into 'master'
Jul 20, 2020
65bcee5
Release 2.5.85
Jul 20, 2020
fe2b736
update .http files
Jul 20, 2020
636ba97
Merge branch 'fix-http-files' into 'master'
Jul 21, 2020
a19959d
Extend priquotation procedure models
Jul 21, 2020
2b8d2a0
Merge branch 'feature/price-quotation' into 'master'
Jul 21, 2020
ca7369d
Release 2.5.86
Jul 21, 2020
b0b7b2c
fix error if transaction not found
Jul 22, 2020
02e43fb
Hidden url for confidential document in Competitive diallogue
Jul 23, 2020
2472c67
Merge branch 'cs-7963' into 'master'
Jul 23, 2020
b897416
Merge branch 'cs-8127' into 'master'
Jul 23, 2020
f30c8c1
Release 2.5.87
Jul 23, 2020
6d2557f
update for auctions
Jul 23, 2020
b355985
Merge branch 'auction_flag' into 'master'
Jul 23, 2020
68bc21a
Merge branch 'fix-cs-8067' into 'master'
Jul 28, 2020
8cae70d
Release 2.5.88
Jul 28, 2020
710f2e4
add bankAccount object
Aug 12, 2020
dc1a207
Merge branch 'cs-8283' into 'master'
Aug 12, 2020
dcd0aca
Release 2.5.89
Aug 12, 2020
d3b9ae4
Calculate normalized dates
smithumble May 29, 2020
b7e62bf
Fix openeu enquiry period validation
smithumble Jun 5, 2020
7969047
Update http files
smithumble Jun 5, 2020
bde1e02
award complaint period bug fixed
Aug 17, 2020
f6345ad
Fix core validation imports
smithumble Aug 18, 2020
ec63c43
fix qualification cancellation
dariadanylenko Aug 17, 2020
263223a
Add minimalStep validation
dariadanylenko Aug 13, 2020
0b5d277
Fix core validation tests mock
smithumble Aug 18, 2020
062e280
Fix pricequotation periods calculation
smithumble Aug 18, 2020
8d339c0
Fix cfaselectionua periods tests
smithumble Aug 18, 2020
6bafa92
Fix pq award period
smithumble Aug 19, 2020
d3caf45
Merge branch 'fix-qualification-cancellations' into 'master'
Aug 20, 2020
2cd51ce
Merge branch 'CS-8314' into 'master'
Aug 20, 2020
103e884
Release 2.5.90
Aug 20, 2020
1a80670
Merge branch 'calc-dates' into 'master'
Aug 20, 2020
7c09424
Release 2.5.91
Aug 25, 2020
24c415b
Release 2.5.91.1
Aug 25, 2020
15f04c0
Fix PQ periods tests
smithumble Aug 25, 2020
11cd50e
Merge branch 'fix-pq-period-tests' into 'master'
Aug 25, 2020
26442d9
Pin couchdb bad status line fix version
smithumble Aug 26, 2020
44fb888
Merge branch 'pin-couchdb-bad-status-line-ver' into 'master'
Aug 27, 2020
355a511
Fix allowed tender statuses for bots award documents post
dariadanylenko Sep 3, 2020
38a537a
Merge branch 'CS-8205-post-award-documents' into 'master'
dariadanylenko Sep 3, 2020
edc2132
Merge branch 'add-minimalstep-validation' into 'master'
dariadanylenko Sep 3, 2020
bc91f30
Release 2.5.92
dariadanylenko Sep 3, 2020
1c8d2f1
Release 2.5.92
dariadanylenko Sep 3, 2020
32d320a
add eCriteria
Sep 11, 2020
6cf80da
Merge branch 'ecriteria' into 'master'
Sep 11, 2020
587af12
Update setup.py
Sep 11, 2020
0d53da5
Merge branch 'master' of github.com:ProzorroUKR/openprocurement.api i…
smithumble Sep 14, 2020
5cd9ba1
change unsuccessfulReason data type
yshalenyk Sep 7, 2020
6fc4dad
Tender can be only unsuccessful after bid dismissal
yshalenyk Sep 8, 2020
4dbf187
Fix max_value validation
yshalenyk Sep 10, 2020
9dd9f1e
Add test for activating cancelled award
yshalenyk Sep 11, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
118 changes: 115 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ stages:
- docs
- test
- test_before_2020_04_19
- test_before_ecriteria
- repos
- cleanup

Expand Down Expand Up @@ -182,7 +183,7 @@ docs:
- python setup.py test --addopts="docs/tests --color=yes"
- (set -e; [[ $(git diff) ]] && { git diff; exit 1; } || exit 0)
when: manual
allow_failure: false
allow_failure: true
needs:
- build
variables:
Expand Down Expand Up @@ -232,6 +233,16 @@ docs:
--tx=popen//id=sand//env:DB_NAME=test_sandbox//env:SANDBOX_MODE=1//env:SINGLE_APP=1//env:DEFAULT_RELEASE_2020_04_19=2030-01-01
--tx=popen//id=prod//env:DB_NAME=test_prod//env:SANDBOX_MODE=//env:SINGLE_APP=1//env:DEFAULT_RELEASE_2020_04_19=2030-01-01

.test_before_ecriteria:
extends: .test_base
stage: test_before_ecriteria
script:
- cd /app
- py.test $TESTS_PATH --cov=$COV_PATH --cov-config=$COV_FILE -v --color=yes --dist=each
--tx=popen//id=sand//env:DB_NAME=test_sandbox//env:SANDBOX_MODE=1//env:SINGLE_APP=1//env:DEFAULT_ECRITERIA_ARTICLE_17=2030-01-01
--tx=popen//id=prod//env:DB_NAME=test_prod//env:SANDBOX_MODE=//env:SINGLE_APP=1//env:DEFAULT_ECRITERIA_ARTICLE_17=2030-01-01


.test_relocation_api:
variables:
TESTS_PATH: src/openprocurement/relocation/api/tests
Expand All @@ -250,14 +261,18 @@ test_relocation_api_before_2020_04_19:
- .test_before_2020_04_19
- .test_relocation_api

test_relocation_api_ecriteria:
extends:
- .test_before_ecriteria
- .test_relocation_api

.test_tender_esco:
variables:
TESTS_PATH: src/openprocurement/tender/esco/tests
COV_PATH: src/openprocurement/tender/esco
COV_FILE: .coveragerc
KUBERNETES_MEMORY_REQUEST: 1500Mi


test_tender_esco:
extends:
- .test
Expand All @@ -268,6 +283,11 @@ test_tender_esco_before_2020_04_19:
- .test_before_2020_04_19
- .test_tender_esco

test_tender_esco_ecriteria:
extends:
- .test_before_ecriteria
- .test_tender_openeu

.test_tender_openeu:
variables:
TESTS_PATH: src/openprocurement/tender/openeu/tests
Expand All @@ -280,11 +300,16 @@ test_tender_openeu:
- .test
- .test_tender_openeu

test_tender_openeu_before_2020_04_19:
test_tender_openeu_2020_04_19:
extends:
- .test_before_2020_04_19
- .test_tender_openeu

test_tender_openeu_ecriteria:
extends:
- .test_before_ecriteria
- .test_tender_openeu

.test_tender_cfaua:
variables:
TESTS_PATH: src/openprocurement/tender/cfaua/tests
Expand All @@ -302,6 +327,11 @@ test_tender_cfaua_before_2020_04_19:
- .test_before_2020_04_19
- .test_tender_cfaua

test_tender_cfaua_ecriteria:
extends:
- .test_before_ecriteria
- .test_tender_cfaua

.test_tender_comp_stage2:
variables:
TESTS_PATH: src/openprocurement/tender/competitivedialogue/tests/stage2
Expand All @@ -319,6 +349,11 @@ test_tender_comp_stage2_before_2020_04_19:
- .test_before_2020_04_19
- .test_tender_comp_stage2

test_tender_comp_stage2_ecriteria:
extends:
- .test_before_ecriteria
- .test_tender_comp_stage2

.test_tender_core:
variables:
TESTS_PATH: src/openprocurement/tender/core/tests
Expand All @@ -335,6 +370,11 @@ test_tender_core_before_2020_04_19:
- .test_before_2020_04_19
- .test_tender_core

test_tender_core_ecriteria:
extends:
- .test_before_ecriteria
- .test_tender_core

.test_api:
variables:
TESTS_PATH: src/openprocurement/api/tests
Expand All @@ -353,6 +393,11 @@ test_api_before_2020_04_19:
- .test_before_2020_04_19
- .test_api

test_api_ecriteria:
extends:
- .test_before_ecriteria
- .test_api

.test_agreement_core:
variables:
TESTS_PATH: src/openprocurement/agreement/core/tests
Expand All @@ -369,6 +414,11 @@ test_agreement_core_before_2020_04_19:
- .test_before_2020_04_19
- .test_agreement_core

test_agreement_core_ecriteria:
extends:
- .test_before_ecriteria
- .test_agreement_core

.test_agreement_cfaua:
variables:
TESTS_PATH: src/openprocurement/agreement/cfaua/tests
Expand All @@ -386,6 +436,11 @@ test_agreement_cfaua_before_2020_04_19:
- .test_before_2020_04_19
- .test_agreement_cfaua

test_agreement_cfaua_ecriteria:
extends:
- .test_before_ecriteria
- .test_agreement_cfaua

.test_contracting_api:
variables:
TESTS_PATH: src/openprocurement/contracting/api/tests
Expand All @@ -405,6 +460,11 @@ test_contracting_api_before_2020_04_19:
- .test_before_2020_04_19
- .test_contracting_api

test_contracting_api_ecriteria:
extends:
- .test_before_ecriteria
- .test_contracting_api

.test_planning_api:
variables:
TESTS_PATH: src/openprocurement/planning/api/tests
Expand All @@ -423,6 +483,11 @@ test_planning_api_before_2020_04_19:
- .test_before_2020_04_19
- .test_planning_api

test_planning_api_ecriteria:
extends:
- .test_before_ecriteria
- .test_planning_api

.test_historical_core:
variables:
TESTS_PATH: src/openprocurement/historical/core/tests
Expand All @@ -441,6 +506,11 @@ test_historical_core_before_2020_04_19:
- .test_before_2020_04_19
- .test_historical_core

test_historical_core_ecriteria:
extends:
- .test_before_ecriteria
- .test_historical_core

.test_historical_tender:
variables:
TESTS_PATH: src/openprocurement/historical/tender/tests
Expand All @@ -459,6 +529,11 @@ test_historical_tender_before_2020_04_19:
- .test_before_2020_04_19
- .test_historical_tender

test_historical_tender_ecriteria:
extends:
- .test_before_ecriteria
- .test_historical_tender

.test_tender_comp_stage1:
variables:
TESTS_PATH: src/openprocurement/tender/competitivedialogue/tests/stage1
Expand All @@ -478,6 +553,11 @@ test_tender_comp_stage1_before_2020_04_19:
- .test_before_2020_04_19
- .test_tender_comp_stage1

test_tender_comp_stage1_ecriteria:
extends:
- .test_before_ecriteria
- .test_tender_comp_stage1

.test_tender_limited:
variables:
TESTS_PATH: src/openprocurement/tender/limited/tests
Expand All @@ -495,6 +575,11 @@ test_tender_limited_before_2020_04_19:
- .test_before_2020_04_19
- .test_tender_limited

test_tender_limited_ecriteria:
extends:
- .test_before_ecriteria
- .test_tender_limited

.test_tender_openua:
variables:
TESTS_PATH: src/openprocurement/tender/openua/tests
Expand All @@ -512,6 +597,11 @@ test_tender_openua_2020_04_19:
- .test_before_2020_04_19
- .test_tender_openua

test_tender_openua_ecriteria:
extends:
- .test_before_ecriteria
- .test_tender_openua

.test_tender_belowthreshold:
variables:
TESTS_PATH: src/openprocurement/tender/belowthreshold/tests
Expand All @@ -529,6 +619,11 @@ test_tender_belowthreshold_2020_04_19:
- .test_before_2020_04_19
- .test_tender_belowthreshold

test_tender_belowthreshold_ecriteria:
extends:
- .test_before_ecriteria
- .test_tender_belowthreshold

.test_tender_openuadefense:
variables:
TESTS_PATH: src/openprocurement/tender/openuadefense/tests
Expand All @@ -546,6 +641,11 @@ test_tender_openuadefense_2020_04_19:
- .test_before_2020_04_19
- .test_tender_openuadefense

test_tender_openuadefense_ecriteria:
extends:
- .test_before_ecriteria
- .test_tender_openuadefense

.test_tender_cfaselectionua:
variables:
TESTS_PATH: src/openprocurement/tender/cfaselectionua/tests
Expand All @@ -563,3 +663,15 @@ test_tender_cfaselectionua_2020_04_19:
extends:
- .test_before_2020_04_19
- .test_tender_cfaselectionua

test_tender_cfaselectionua_ecriteria:
extends:
- .test_before_ecriteria
- .test_tender_cfaselectionua

test_tender_pricequotation:
extends: .test
variables:
TESTS_PATH: src/openprocurement/tender/pricequotation/tests
COV_PATH: src/openprocurement/tender/pricequotation
COV_FILE: .coveragerc
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ services:
- "./docs:/app/docs:delegated"
couchdb:
image: "couchdb:1.6"
ports:
- "5984:5984"
environment:
COUCHDB_USER: op
COUCHDB_PASSWORD: op
ports:
- "5984:5984"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATCH /api/2.5/agreements/eb35d61e7cde4a008003f5cd17ddb0c7/changes/563cc544379744ed9b023a88ff6e415b?acc_token=76b0c07026994e7089d5f9716acfc3e7 HTTP/1.0
PATCH /api/2.5/agreements/eb35d61e7cde4a008003f5cd17ddb0c7/changes/5937223446a044e689f16dc9912fed8b?acc_token=76b0c07026994e7089d5f9716acfc3e7 HTTP/1.0
Authorization: Bearer broker
Content-Length: 95
Content-Type: application/json
Expand All @@ -8,7 +8,7 @@ DATA:
"data": {
"modifications": [
{
"itemId": "caa9e0207afd49d48ca553e562787699",
"itemId": "54eee06ff6d24b12b8e84dfe65d1b6b7",
"factor": 0.1605
}
]
Expand All @@ -22,15 +22,15 @@ Content-Type: application/json; charset=UTF-8
"status": "pending",
"modifications": [
{
"itemId": "caa9e0207afd49d48ca553e562787699",
"itemId": "54eee06ff6d24b12b8e84dfe65d1b6b7",
"factor": 0.1605
}
],
"rationaleType": "taxRate",
"rationale_en": "Agreement change cause",
"rationale": "Друга і третя поставка має бути розфасована",
"date": "2020-05-15T01:00:00+03:00",
"id": "563cc544379744ed9b023a88ff6e415b"
"id": "5937223446a044e689f16dc9912fed8b"
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Content-Type: application/json; charset=UTF-8
"rationale_en": "Agreement change cause",
"rationale": "Опис причини змін егріменту",
"date": "2020-05-15T01:00:00+03:00",
"id": "563cc544379744ed9b023a88ff6e415b"
"id": "5937223446a044e689f16dc9912fed8b"
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Content-Type: application/json; charset=UTF-8
"amount": 93,
"valueAddedTaxIncluded": true
},
"relatedItem": "caa9e0207afd49d48ca553e562787699"
"relatedItem": "54eee06ff6d24b12b8e84dfe65d1b6b7"
}
],
"suppliers": [
Expand Down Expand Up @@ -66,7 +66,7 @@ Content-Type: application/json; charset=UTF-8
"amount": 93,
"valueAddedTaxIncluded": true
},
"relatedItem": "caa9e0207afd49d48ca553e562787699"
"relatedItem": "54eee06ff6d24b12b8e84dfe65d1b6b7"
}
],
"suppliers": [
Expand Down Expand Up @@ -108,7 +108,7 @@ Content-Type: application/json; charset=UTF-8
"amount": 93,
"valueAddedTaxIncluded": true
},
"relatedItem": "caa9e0207afd49d48ca553e562787699"
"relatedItem": "54eee06ff6d24b12b8e84dfe65d1b6b7"
}
],
"suppliers": [
Expand Down Expand Up @@ -170,7 +170,7 @@ Content-Type: application/json; charset=UTF-8
"startDate": "2018-06-27T13:39:09.362837+03:00",
"endDate": "2018-06-30T13:39:09.362837+03:00"
},
"id": "caa9e0207afd49d48ca553e562787699",
"id": "54eee06ff6d24b12b8e84dfe65d1b6b7",
"unit": {
"code": "44617100-9",
"name": "item"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Content-Type: application/json; charset=UTF-8
"documentOf": "change",
"datePublished": "2020-05-15T01:00:00+03:00",
"id": "b8f02cdfc2cc43c2a6a5f014d524afc6",
"relatedItem": "563cc544379744ed9b023a88ff6e415b",
"relatedItem": "5937223446a044e689f16dc9912fed8b",
"dateModified": "2020-05-15T01:00:00+03:00"
}
]
Expand Down
Loading