-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from sanger/develop
Prepare for release version v1.1.2
- Loading branch information
Showing
11 changed files
with
720 additions
and
510 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.1.1 | ||
1.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,48 @@ | ||
How to publish schemas | ||
---------------------- | ||
# Modifying Schemas Managed By RedPanda | ||
|
||
## Current Best Method Since April 2024 | ||
|
||
Each instance of RedPanda has a an admin web console which lets you take all actions on schemas in a visual editor. | ||
The console can be accessed by appending `/console/` to the base URL of the RedPanda instance. | ||
It will require authentication which can be found in the team password vault. | ||
Only the Schema Registry section should be used in the console as we are not using the other parts of RedPanda. | ||
|
||
## Legacy Methods | ||
|
||
In order to perform create, update and delete actions on schemas via the API the restriction on HTTP methods will need to be lifted on the RedPanda instance. | ||
This is a config option in nginx that restricts methods to just HEAD and GET when PUSH is needed to write schemas. | ||
It is recommended the config is not changed, as this can cause security issues for the schemas. | ||
|
||
### Create and Update Schemas | ||
|
||
1. Ensure `jq` is installed: | ||
|
||
```bash | ||
```shell | ||
brew install jq | ||
``` | ||
|
||
1. Run the command: | ||
|
||
```bash | ||
push.sh <REDPANDA_URL> <API_KEY> | ||
```shell | ||
push.sh <REDPANDA_URL> | ||
``` | ||
|
||
where: | ||
|
||
```text | ||
<REDPANDA_URL>: URL to connect to RedPanda where the schemas will be uploaded | ||
<API_KEY>: secret key with write permission for redpanda | ||
``` | ||
|
||
How to remove last schemas created | ||
---------------------------------- | ||
### Remove Schemas | ||
|
||
Run the command: | ||
|
||
```bash | ||
remove_all.sh <REDPANDA_URL> <API_KEY> | ||
```shell | ||
remove_all.sh <REDPANDA_URL> | ||
``` | ||
|
||
where: | ||
|
||
```text | ||
<REDPANDA_URL>: URL to connect to RedPanda where the schemas will be uploaded | ||
<API_KEY>: secret key with write permission for redpanda | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters