Skip to content

Commit

Permalink
Add award notice
Browse files Browse the repository at this point in the history
  • Loading branch information
smithumble committed Sep 11, 2024
1 parent 6a1cdbe commit 35fd850
Show file tree
Hide file tree
Showing 431 changed files with 1,449 additions and 426 deletions.
10 changes: 9 additions & 1 deletion procedure_tools/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import json
import logging
from base64 import b64encode
from copy import copy, deepcopy
from copy import copy
from datetime import timedelta

from procedure_tools.utils.date import get_utcnow, parse_date_header
Expand Down Expand Up @@ -164,6 +164,7 @@ class CDBClient(BaseCDBClient):
TENDERS_BIDS_RES_COLLECTION_PATH = "tenders/{}/bids/{}/requirement_responses"
TENDERS_AWARDS_COLLECTION_PATH = "tenders/{}/awards"
TENDERS_AWARDS_PATH = "tenders/{}/awards/{}"
TENDERS_AWARDS_DOCS_COLLECTION_PATH = "tenders/{}/awards/{}/documents"
TENDERS_CONTRACTS_COLLECTION_PATH = "tenders/{}/contracts"
TENDERS_CONTRACTS_PATH = "tenders/{}/contracts/{}"
TENDERS_QUALIFICATIONS_COLLECTION_PATH = "tenders/{}/qualifications"
Expand Down Expand Up @@ -374,6 +375,13 @@ def patch_tender_award(self, tender_id, award_id, acc_token, json, **kwargs):
path = self.get_api_path(sub_path, acc_token=acc_token)
return self.patch(path, json, **kwargs)

def post_tender_award_document(
self, tender_id, award_id, acc_token, json, **kwargs
):
sub_path = self.TENDERS_AWARDS_DOCS_COLLECTION_PATH.format(tender_id, award_id)
path = self.get_api_path(sub_path, acc_token=acc_token)
return self.post(path, json, **kwargs)

def get_tender_award_complaints(self, tender_id, award_id, **kwargs):
sub_path = self.TENDERS_AWARDS_COMPLAINTS_COLLECTION_PATH.format(
tender_id, award_id
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"eligible": true,
"qualified": true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"title": "award_patch_0_0_1_document_file.p7s",
"documentType": "notice"
}
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"eligible": true,
"qualified": true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"title": "award_patch_0_1_1_document_file.p7s",
"documentType": "notice"
}
}
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"eligible": false,
"qualified": false
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"title": "award_patch_2_2_1_document_file.p7s",
"documentType": "notice"
}
}
Empty file.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"eligible": true,
"qualified": true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"title": "award_patch_3_3_1_document_file.p7s",
"documentType": "notice"
}
}
Empty file.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"eligible": true,
"qualified": true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"title": "award_patch_0_0_1_document_file.p7s",
"documentType": "notice"
}
}
Empty file.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"eligible": true,
"qualified": true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"title": "award_patch_0_1_1_document_file.p7s",
"documentType": "notice"
}
}
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"eligible": false,
"qualified": false
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"title": "award_patch_2_2_1_document_file.p7s",
"documentType": "notice"
}
}
Empty file.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"eligible": true,
"qualified": true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"title": "award_patch_3_3_1_document_file.p7s",
"documentType": "notice"
}
}
Empty file.
7 changes: 0 additions & 7 deletions procedure_tools/data/aboveThreshold/2310_award_patch_0_0.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"eligible": true,
"qualified": true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"title": "award_patch_0_0_1_document_file.p7s",
"documentType": "notice"
}
}
Empty file.
7 changes: 0 additions & 7 deletions procedure_tools/data/aboveThreshold/2310_award_patch_0_1.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"eligible": true,
"qualified": true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"title": "award_patch_0_1_1_document_file.p7s",
"documentType": "notice"
}
}
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"eligible": false,
"qualified": false
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"title": "award_patch_2_2_1_document_file.p7s",
"documentType": "notice"
}
}
Empty file.
7 changes: 0 additions & 7 deletions procedure_tools/data/aboveThreshold/2310_award_patch_3_3.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"eligible": true,
"qualified": true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"title": "award_patch_3_3_1_document_file.p7s",
"documentType": "notice"
}
}
Empty file.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"eligible": true,
"qualified": true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"title": "award_patch_0_0_1_document_file.p7s",
"documentType": "notice"
}
}
Empty file.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"data": {
"qualified": true,
"status": "active"
}
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"eligible": true,
"qualified": true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"title": "award_patch_0_1_1_document_file.p7s",
"documentType": "notice"
}
}
Empty file.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"data": {
"qualified": true,
"status": "active"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"eligible": false,
"qualified": false
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"data": {
"title": "award_patch_2_2_1_document_file.p7s",
"documentType": "notice"
}
}
Empty file.

This file was deleted.

Loading

0 comments on commit 35fd850

Please sign in to comment.