![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
github.com/companieshouse/penalty-payment-api
Penalty Payment Service (PPS) API which provides an interface for Creating, Getting, and Patching Penalties.
In order to run this API locally you will need to install the following:
go get github.com/companieshouse/penalty-payment-api
make build
Variable | Default | Description |
---|---|---|
E5_API_URL | - | E5 API Address |
E5_USERNAME | - | E5 API Username |
BIND_ADDR | - | The host:port to bind to |
MONGODB_URL | - | The mongo db connection string |
PPS_MONGODB_DATABASE | - | The database name to connect to e.g. late_filing_penalties |
PPS_MONGODB_COLLECTION | - | The collection name e.g. payable_resources |
KAFKA_BROKER_ADDR | _ | Kafka Broker Address |
SCHEMA_REGISTRY_URL | _ | Schema Registry URL |
API_URL | _ | The application endpoint for the API, for go-sdk-manager integration |
PAYMENTS_API_URL | _ | The base path for the payments API, for go-sdk-manager integration |
CHS_URL | _ | CHS URL |
WEEKLY_MAINTENANCE_START_TIME | _ | Start time of weekly maintenance e.g. 0700 |
WEEKLY_MAINTENANCE_END_TIME | _ | End time of weekly maintenance e.g. 0730 |
WEEKLY_MAINTENANCE_DAY | _ | Day of weekly maintenance e.g. 0 (zero for Sunday) |
PLANNED_MAINTENANCE_START_TIME | _ | Start time and date of planned maintenance e.g. 01 Jan 19 15:04 BST |
PLANNED_MAINTENANCE_END_TIME | _ | End time and date of planned maintenance e.g. 31 Jan 19 16:59 BST |
Method | Path | Description |
---|---|---|
GET | /healthcheck | Standard healthcheck endpoint |
GET | /healthcheck/finance-system | Healthcheck endpoint to check whether the finance system is available |
GET | /company/{company_number}/penalties/late-filing | List the Late Filing Penalties for a company |
POST | /company/{company_number}/penalties/late-filing/payable | Create a payable penalty resource |
GET | /company/{company_number}/penalties/late-filing/payable/{id} | Get a payable resource |
GET | /company/{company_number}/penalties/late-filing/payable/{id}/payment | List the cost items related to the penalty resource |
PATCH | /company/{company_number}/penalties/late-filing/payable/{id}/payment | Mark the resource as paid |
The only external finance system currently supported is E5.
Pull image from private CH registry by running docker pull 169942020521.dkr.ecr.eu-west-2.amazonaws.com/local/penalty-payment-api:latest
command or run the following steps to build image locally:
export SSH_PRIVATE_KEY_PASSPHRASE='[your SSH key passhprase goes here]'
(optional, set only if SSH key is passphrase protected)DOCKER_BUILDKIT=0 docker build --build-arg SSH_PRIVATE_KEY="$(cat ~/.ssh/id_rsa)" --build-arg SSH_PRIVATE_KEY_PASSPHRASE -t 169942020521.dkr.ecr.eu-west-2.amazonaws.com/local/penalty-payment-api:latest .
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.