diff --git a/CHANGELOG.md b/CHANGELOG.md index d64dcb63..7319c3f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,15 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + ## [2.0.0] - 2021-10-01 + ### Added + - New endpoint to hard-delete schemas of specific service -DELETE /schema/:schemaId + DELETE /schema/:schemaId ### Breaking Change + - Renamed endpoint that deactivates specific schema -Before: -DELETE /schema/delete/:schemaId + Before: + DELETE /schema/delete/:schemaId After: DELETE /schema/:schemaId diff --git a/README.md b/README.md index 3fa995de..fb786f73 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ Graphql schema storage as dockerized on-premise service for federated graphql ga ## Installation We have [docker image published](https://hub.docker.com/r/pipedrive/graphql-schema-registry) for main node service. + ``` docker-compose up ``` @@ -143,6 +144,7 @@ DB_HOST=my-db-host DB_PORT=6000 npm run migrate-db ``` ### Contribution + - Commit often (instead of making huge commits) - Add verb at the beginning of commit message - Add why you're doing something in commit message @@ -151,9 +153,11 @@ DB_HOST=my-db-host DB_PORT=6000 npm run migrate-db - Fill [CHANGELOG](CHANGELOG.md) #### Authors and acknowledgment + Current maintainer - [@tot-ra](https://github.com/tot-ra). Mention in PR, if it is stuck Original internal mission that resulted in this project going live: + - [aleksandergasna](https://github.com/aleksandergasna) - [ErikSchults](https://github.com/ErikSchults) - [LexSwed](https://github.com/LexSwed) @@ -272,9 +276,9 @@ Deletes specified schema ##### Request params -| Property | Type | Comments | -| ------------------------- | ------- | ----------------------------------- | -| `schemaId` | number | ID of sechema | +| Property | Type | Comments | +| ---------- | ------ | ------------- | +| `schemaId` | number | ID of sechema | #### DELETE /service/:name @@ -282,9 +286,9 @@ Deletes specified service including all schemas registered for that service ##### Request params -| Property | Type | Comments | -| ------------------------- | ------- | ----------------------------------- | -| `name` | string | name of service | +| Property | Type | Comments | +| -------- | ------ | --------------- | +| `name` | string | name of service | #### GET /persisted_query diff --git a/app/router/service.js b/app/router/service.js index baa71e17..f771e53b 100644 --- a/app/router/service.js +++ b/app/router/service.js @@ -1,7 +1,5 @@ const Joi = require('joi'); -const { - deleteService -} = require('../controller/service'); +const { deleteService } = require('../controller/service'); exports.delete = async (req, res) => { const params = Joi.attempt( diff --git a/client/components/TopMenu.jsx b/client/components/TopMenu.jsx index 05eeb835..8dea32b1 100644 --- a/client/components/TopMenu.jsx +++ b/client/components/TopMenu.jsx @@ -12,7 +12,7 @@ export default ({ UITabs, selectedTab, handleChange }) => { @@ -168,7 +168,7 @@ export default function Logo() { href="#abQRk6fPB" opacity="1" fillOpacity="0" - stroke="#1e2616" + stroke="white" strokeWidth="25" strokeOpacity="1" > @@ -180,7 +180,7 @@ export default function Logo() { href="#c43cxpRdDt" opacity="1" fillOpacity="0" - stroke="#1e2616" + stroke="white" strokeWidth="25" strokeOpacity="1" > @@ -192,7 +192,7 @@ export default function Logo() { href="#e1RwQ287qq" opacity="1" fillOpacity="0" - stroke="#1e2616" + stroke="white" strokeWidth="25" strokeOpacity="1" > @@ -204,7 +204,7 @@ export default function Logo() { href="#aOTTscD3s" opacity="1" fillOpacity="0" - stroke="#1e2616" + stroke="white" strokeWidth="25" strokeOpacity="1" > @@ -216,7 +216,7 @@ export default function Logo() { href="#a5hX0shUV9" opacity="1" fillOpacity="0" - stroke="#1e2616" + stroke="white" strokeWidth="30" strokeOpacity="1" > @@ -228,7 +228,7 @@ export default function Logo() { href="#f4aRsobM8F" opacity="1" fillOpacity="0" - stroke="#1e2616" + stroke="white" strokeWidth="25" strokeOpacity="1" > @@ -240,7 +240,7 @@ export default function Logo() { href="#d4df3gG5KI" opacity="1" fillOpacity="0" - stroke="#1e2616" + stroke="white" strokeWidth="25" strokeOpacity="1" > @@ -252,7 +252,7 @@ export default function Logo() { href="#a3f1xiOUe" opacity="1" fillOpacity="0" - stroke="#1e2616" + stroke="white" strokeWidth="30" strokeOpacity="1" > @@ -264,7 +264,7 @@ export default function Logo() { href="#j2kppAtKaC" opacity="1" fillOpacity="0" - stroke="#1e2616" + stroke="white" strokeWidth="30" strokeOpacity="1" > @@ -276,7 +276,7 @@ export default function Logo() { href="#fmMlTgAod" opacity="1" fillOpacity="0" - stroke="#1e2616" + stroke="white" strokeWidth="30" strokeOpacity="1" > @@ -288,7 +288,7 @@ export default function Logo() { href="#a4gSTNVKSn" opacity="1" fillOpacity="0" - stroke="#1e2616" + stroke="white" strokeWidth="30" strokeOpacity="1" > @@ -300,7 +300,7 @@ export default function Logo() { href="#b3WdzhfVx" opacity="1" fillOpacity="0" - stroke="#1e2616" + stroke="white" strokeWidth="30" strokeOpacity="1" >