Policy merge requestshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests2022-10-19T10:03:12Zhttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/222Gonrg 5569 move bootstrap to alpine images2022-10-19T10:03:12ZEldor Pulatov [EPAM/GCP]Gonrg 5569 move bootstrap to alpine imagesEldor Pulatov [EPAM/GCP]Eldor Pulatov [EPAM/GCP]https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/223DRAFT: GORNG-test test commit2022-10-20T08:06:59ZAliaksandr Ramanovich (EPAM)DRAFT: GORNG-test test commitTEST MRTEST MRAliaksandr Ramanovich (EPAM)Aliaksandr Ramanovich (EPAM)https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/231Draft: Gonrg 5727 policy df helm2022-11-03T09:04:37ZDanylo Vanin (EPAM)Draft: Gonrg 5727 policy df helmDanylo Vanin (EPAM)Danylo Vanin (EPAM)https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/298Securityfix2023-02-14T15:25:54ZShane HutchinsSecurityfixSecurity Update testing in dev branchSecurity Update testing in dev branchShane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/299Update Dev branch2023-02-14T15:27:26ZShane HutchinsUpdate Dev branchShane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/332Draft: Documentation Update2023-03-31T15:32:52ZShane HutchinsDraft: Documentation UpdateM17 - Release 0.20Shane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/334GONRG-6949: Policy int tests failure2023-04-20T08:18:28ZMaksym Petrenko [EPAM / GCP]GONRG-6949: Policy int tests failureMaksym Petrenko [EPAM / GCP]Maksym Petrenko [EPAM / GCP]https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/338Draft: Dummy MR to verify deployment changes2023-05-06T09:43:44Zsaketh somarajuDraft: Dummy MR to verify deployment changesDummy MR to verify deployment changes for pod replica increaseDummy MR to verify deployment changes for pod replica increasesaketh somarajusaketh somarajuhttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/314Draft: Add rego rule to bootstrap for Storage2023-05-12T14:05:41ZYan Sushchynski (EPAM)Draft: Add rego rule to bootstrap for StorageAdd a new rego rule to solve the problem with indexing records.Add a new rego rule to solve the problem with indexing records.Aliaksandr Ramanovich (EPAM)Oleksandr Kosse (EPAM)Andrei Dalhikh [EPAM/GC]Aliaksandr Ramanovich (EPAM)https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/131Draft: ibm helm chart added2023-05-15T08:45:18ZBhushan RadeDraft: ibm helm chart addedBhushan RadeBhushan Radehttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/209Draft: Merge ibm helm to master2023-05-15T08:46:10ZManish SinghDraft: Merge ibm helm to masteribm-helm-charts : Merge ibm helm to masteribm-helm-charts : Merge ibm helm to masterShrikant GargShrikant Garghttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/337OpenAPI 3.0 Documentation updates for policy service2023-10-26T03:39:09ZJayesh BagulOpenAPI 3.0 Documentation updates for policy service**Link to Existing ADR(Architecture Decision Record)** :
(https://community.opengroup.org/osdu/platform/system/home/-/issues/97)
## OpenAPI 3.0 related changes
FastAPI leverages Python's docstring feature to automatically generate S...**Link to Existing ADR(Architecture Decision Record)** :
(https://community.opengroup.org/osdu/platform/system/home/-/issues/97)
## OpenAPI 3.0 related changes
FastAPI leverages Python's docstring feature to automatically generate Swagger documentation for each API endpoint.
The **docstring** is written in a specific format, using Python's standard **`"""`** triple quotes, and can include rich text formatting using the Markdown syntax.It parses the docstring to extract information such as the endpoint's description, parameters, request and response models, and any other relevant information.
- **Swagger UI:** http://localhost:8080/api/policy/v1/swagger
- **api-docs (JSON) :** http://localhost:8080/api/policy/v1/api-docs
## Example
- including detailed and informative docstrings in our code, we can ensure that our API is well-documented and easy to use, and FastAPI will use these docstrings to automatically generate Swagger documentation for our API.
```
@router.get("/health")
async def health():
"""
## Health check endpoint, which does not depend on OPA.
This API does not require any headers or authentication.
The /health endpoint responds with a 200 HTTP status code when the service pod can receive requests.
The endpoint indicates that the service pod is healthy and reachable.
It does not indicate that the service is ready to serve requests.
"""
return {'message': 'Healthy'}
```
- The first line of the docstring (_Health check endpoint, which does not depend on OPA._) is used as the summary of the endpoint in the Swagger documentation.
- The following lines of the docstring (_This API does not require any headers or authentication_.) are used as the description of the endpoint in the Swagger documentation.
- The final lines of the docstring (_The /health endpoint responds with a 200 HTTP status code when the service pod can receive requests_.___) are not used directly in the Swagger documentation, but they provide additional context and information about the endpoint that may be useful to users of the API.
## References
* https://fastapi.tiangolo.com/features/#based-on-open-standards
* https://fastapi.tiangolo.com/
* https://peps.python.org/pep-0257/#what-is-a-docstringJayesh BagulJayesh Bagulhttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/345Add overriding ENABLE_TRANSLATE_PREPROCESSOR with env variable2023-05-17T09:44:08ZVolodymyr Pienskoi [EPAM / GCP]Add overriding ENABLE_TRANSLATE_PREPROCESSOR with env variableM18 - Release 0.21Rustam Lotsmanenko (EPAM)rustam_lotsmanenko@epam.comVolodymyr Pienskoi [EPAM / GCP]Rustam Lotsmanenko (EPAM)rustam_lotsmanenko@epam.comhttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/336Draft: Update python test pipelines (GONRG-6963)2023-05-19T10:14:44ZAndrei Skorkin [EPAM / GCP]Draft: Update python test pipelines (GONRG-6963)https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/384Draft: attempt to fix policy http blocking issue2023-06-20T15:15:16ZShane HutchinsDraft: attempt to fix policy http blocking issuePolicy Service handles some http calls to opa as **synchronous**. This makes calls where http calls in policies become **asynchronous**.
- This required a rewrite of parts of eval, translate and underlying OPA module
- Also a bugfix for...Policy Service handles some http calls to opa as **synchronous**. This makes calls where http calls in policies become **asynchronous**.
- This required a rewrite of parts of eval, translate and underlying OPA module
- Also a bugfix for compile
To address: https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/issues/99M19 - Release 0.22Shane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/386Draft: logs addition to translate api2023-10-26T03:18:56Zsaketh somarajuDraft: logs addition to translate apihttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/388Draft: Az/sa test2023-07-11T05:02:28Zsaketh somarajuDraft: Az/sa testhttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/395Update FOSSA NOTICE2023-07-18T06:03:32ZDavid Diederichd.diederich@opengroup.orgUpdate FOSSA NOTICEThis MR updates the attribution file for the project (also known as the `NOTICE` file).
It is important to keep this up to date to satisfy legal requirements of dependency licenses.
We use FOSSA as the tool to scan for and detect these ...This MR updates the attribution file for the project (also known as the `NOTICE` file).
It is important to keep this up to date to satisfy legal requirements of dependency licenses.
We use FOSSA as the tool to scan for and detect these changes.M20 - Release 0.23https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/424Draft: NOTICE update and loadtest debug2023-09-08T19:21:47ZShane HutchinsDraft: NOTICE update and loadtest debug- Notice update
- loadtest debugging changes- Notice update
- loadtest debugging changesM21 - Release 0.24Shane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/427Draft: Update variables to support dev secondary env2023-09-21T04:57:30Zsaketh somarajuDraft: Update variables to support dev secondary env- This MR introduces changes to azure CI variables to support deployment to dev secondary env incase of release pipelines- This MR introduces changes to azure CI variables to support deployment to dev secondary env incase of release pipelinesM21 - Release 0.24saketh somarajusaketh somaraju