Skip to content

Commit 3083372

Browse files
committed
chore: initial repo changes
1 parent 34747ec commit 3083372

File tree

9 files changed

+279
-0
lines changed

9 files changed

+279
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: LiviusP
7+
8+
---
9+
10+
## Description
11+
<!-- A clear and concise description of what the bug is. -->
12+
13+
## Expected behavior
14+
<!-- A clear and concise description of what you expected to happen. -->
15+
16+
## Environment
17+
18+
Python Version:
19+
```
20+
```
21+
SDK version:
22+
```
23+
```
24+
OS:
25+
```
26+
```
27+
28+
## Configuration Files
29+
<!-- could also be environment settings, e.g. LANG=de_DE -->
30+
31+
## How to Reproduce
32+
<!--
33+
Steps to reproduce the behavior:
34+
1. Go to '...'
35+
2. Execute `acme --emca template.xml`
36+
3. ...
37+
Might be omitted if there are no choices, eg. the single command is already in the description
38+
-->
39+
40+
## Error and Debug Output
41+
<!--
42+
Add anything, that could help here.
43+
You can increase the debug level by .. ' hello --whatsover=example`
44+
-->
45+
46+
## Additional Notes
47+
<!--
48+
Add any other content about the problem here.
49+
-->
50+
51+
## References
52+
<!--
53+
Add any other related issues or other links that you think are important for fixing the bug.
54+
-->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: IONOS Cloud API
4+
url: https://devops.ionos.com/api/
5+
about: View API documentation
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: LiviusP
7+
8+
---
9+
10+
### Current SDK Version
11+
<!---
12+
If you're not using the latest version, please check to see if something related to your request has already been implemented in a later version.
13+
-->
14+
15+
```
16+
...
17+
```
18+
19+
### Use-cases
20+
<!---
21+
In order to properly evaluate a feature request, it is necessary to understand the use-cases for it.
22+
23+
Please describe below the end goal you are trying to achieve that has led you to request this feature.
24+
25+
Please keep this section focused on the problem and not on the suggested solution. We'll get to that in a moment, below!
26+
-->
27+
28+
### Attempted Solutions
29+
<!---
30+
If you've already tried to solve the problem within SDKs existing features and found a limitation that prevented you from succeeding, please describe it below in as much detail as possible.
31+
32+
Ideally, this would include real code snippets that you tried and what results you got in each case.
33+
34+
Please remove any sensitive information such as passwords before sharing configuration snippets and command lines.
35+
--->
36+
37+
### Proposal
38+
<!---
39+
If you have an idea for a way to address the problem, please describe it below.
40+
41+
In this section, it's helpful to include specific examples of how what you are suggesting might look in configuration files, or on the command line, since that allows us to understand the full picture of what you are proposing.
42+
43+
-->
44+
45+
### References
46+
<!--
47+
Are there any other GitHub issues, whether open or closed, that are related to the problem you've described above or to the suggested solution? If so, please create a list below that mentions each of them. For example:
48+
49+
- #6017
50+
51+
-->

.github/workflows/build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
types: [opened, synchronize, reopened]
8+
jobs:
9+
sonarcloud:
10+
name: SonarCloud
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
16+
- name: SonarCloud Scan
17+
uses: SonarSource/sonarcloud-github-action@master
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
20+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/issues.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Issue Creation Tracker
2+
on:
3+
issues:
4+
types: [ opened, reopened ]
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Git Issue Details
12+
run: |
13+
echo "Issue creator: ${{ github.event.issue.user.login }}"
14+
echo "Issue title: ${{ github.event.issue.title }}"
15+
echo "Issue number: ${{ github.event.issue.number }}"
16+
echo "Issue url: ${{ github.event.issue.html_url }}"
17+
- name: Google Chat Notification
18+
run: |
19+
curl --location --request POST '${{ secrets.ISSUE_TRACKER_WEBHOOK }}' \
20+
--header 'Content-Type: application/json' \
21+
--data-raw '{
22+
"cards": [
23+
{
24+
"header": {
25+
"title": "New Issue 🔨",
26+
"subtitle": "Issue No: #${{ github.event.issue.number }}"
27+
},
28+
"sections": [
29+
{
30+
"widgets": [
31+
{
32+
"keyValue": {
33+
"topLabel": "Repository",
34+
"content": "${{ github.repository }}"
35+
},
36+
},
37+
{
38+
"keyValue": {
39+
"topLabel": "Title",
40+
"content": "${{ github.event.issue.title }}"
41+
}
42+
},
43+
{
44+
"keyValue": {
45+
"topLabel": "Assigned Labels",
46+
"content": "- ${{ join(github.event.issue.labels.*.name) }}"
47+
}
48+
},
49+
{
50+
"buttons": [
51+
{
52+
"textButton": {
53+
"text": "OPEN ISSUE",
54+
"onClick": {
55+
"openLink": {
56+
"url": "${{ github.event.issue.html_url }}"
57+
}
58+
}
59+
}
60+
}
61+
]
62+
}
63+
]
64+
}
65+
]
66+
}
67+
]
68+
}'

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
![CI](https://github.com/ionos-cloud/sdk-resources/workflows/[%20CI%20]%20DNS%20/%20Python/badge.svg)
12
[![Gitter](https://img.shields.io/gitter/room/ionos-cloud/sdk-general)](https://gitter.im/ionos-cloud/sdk-general)
23
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=sdk-python-dns&metric=alert_status)](https://sonarcloud.io/summary?id=sdk-python-dns)
34
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=sdk-python-dns&metric=bugs)](https://sonarcloud.io/summary/new_code?id=sdk-python-dns)

docs/changelog.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# CHANGELOG
2+
3+
4+
## 6.1.4 \(July 14th, 2022\)
5+
### Fixes:
6+
- fix `manage_dbaas` typo in `model_group_properties.py`
7+
8+
## 6.1.3 \(July 14th, 2022\)
9+
### Known issues:
10+
- typo in `manage_dbaas` field in `model_group_properties.py` - generated as `manage_d_baa_s`
11+
12+
## 6.1.2 \(July 14th, 2022\)
13+
### Fixes:
14+
- fix: added asn1crypto as required module
15+
16+
## 6.1.1 \(July 14th, 2022\)
17+
### Features
18+
- added `manage_dbaas` field in `model_group_properties.py` : provides privilege for a group to manage DBaaS related functionality. Admin users already here this enabled by default.
19+
- added `delete_volumes` to `datacenters_servers_delete`: If true, all attached storage volumes will also be deleted.
20+
- added `boot_order` to volume properties : Determines whether the volume will be used as a boot volume. Set to &#x60;NONE&#x60;, the volume will not be used as boot volume. Set to &#x60;PRIMARY&#x60;, the volume will be used as boot volume and all other volumes must be set to &#x60;NONE&#x60;. Set to &#x60;AUTO&#x60; or &#x60;null&#x60; requires all volumes to be set to &#x60;AUTO&#x60; or &#x60;null&#x60;; this will use the legacy behavior, which is to use the volume as a boot volume only if there are no other volumes or cdrom devices. | [optional] [default to 'AUTO'] |
21+
- added certificate pinning to sdk python. Enabling certificate pinning allows you to bypass normal certificate checking, by supplying a SHA256 or SHA1 fingerprint of the leaf cert to be checked against what the server provides.
22+
23+
## 6.1.0 \(June 15th, 2022\)
24+
25+
### Enhancements:
26+
27+
* added Application Load Balancer and Target Group, 18 new models and 2 new APIs
28+
29+
## 6.0.4 \(May 17th, 2022\)
30+
31+
### Fixes:
32+
33+
* removed parameter for `KubernetesClusterProperties`, `KubernetesClusterPropertiesForPost` models: `public`
34+
* removed parameter for `KubernetesNodePoolProperties` model: `gateway_ip`
35+
36+
37+
## 6.0.3 \(April 7th, 2022\)
38+
39+
### Enhancements:
40+
41+
* added support for filter query parameters on GET requests
42+
* added support for http proxy (_**IONOS_HTTP_PROXY**_ and _**IONOS_HTTP_PROXY_HEADERS**_ environment variables)
43+
44+
45+
## 6.0.2 \(February 18th, 2022\)
46+
47+
### Enhancements:
48+
49+
* support for Token Authentication: new parameters on **ionoscloud.Configuration**: `token` _(instead of api_key)_ and **token_prefix** _(instead of api_key_prefix)_
50+
51+
52+
## 6.0.1 \(February 4th, 2022\)
53+
54+
### Enhancements:
55+
56+
* new licence type: `WINDOWS2022`
57+
* new parameter on **KubernetesClusterProperties**, **KubernetesClusterPropertiesForPost** models: `public`
58+
* new parameter on **KubernetesNodePoolProperties** model: `gateway_ip`
59+
* new read-only parameter on **VolumeProperties** model: `boot_server`
60+
61+
62+
## 1.0.0
63+
64+
* Initial release

gitbook.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
root: docs
2+
structure:
3+
readme: README.md
4+
summary: summary.md

sonar-project.properties

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
sonar.projectKey=ionos-cloud_sdk-python-dns
2+
sonar.organization=ionos-cloud
3+
4+
# This is the name and version displayed in the SonarCloud UI.
5+
#sonar.projectName=sdk-python-dns
6+
#sonar.projectVersion=1.0
7+
8+
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
9+
#sonar.sources=.
10+
11+
# Encoding of the source code. Default is default system encoding
12+
#sonar.sourceEncoding=UTF-8

0 commit comments

Comments
 (0)