GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-nodejs-connector

Generate or build certs during tests

Abierto
#392 0 comentarios 0 reacciones 1 asignado Asignado a @hessjcg Ver en GitHub
priority: p2 type: feature request
Lenguaje dominante
TypeScript
Estrellas
97
Forks
16
Merge medio
4 d 16 h
PR fusionados (30 d)
4

Descripción

In the other Cloud SQL Connector repos (Python, Java, Go) we generate/build certs for the tests as part of the tests themselves or test infra.

Node currently has certs that were generated once and are [saved (hardcoded) for tests](https://github.com/GoogleCloudPlatform/cloud-sql-nodejs-connector/blob/4e3f31bff33cc6de8a21ff61ca1c96703bb66dd5/test/fixtures/certs.ts). This is not scalable for different cert types (CAS-based CAS for example) and requires generating new certs and updating the hardcoded values.

Instead node should generate/build certs within its test infra as the other Connector libraries do.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.