Skip to content

Commit 2befa60

Browse files
authored
Merge pull request #84 from sap-linuxlab/dev
Merge dev to main for release 1.7.0
2 parents 7747e5c + e4d5f38 commit 2befa60

29 files changed

Lines changed: 1339 additions & 491 deletions

CHANGELOG.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,25 @@ Community SAP Release Notes
44

55
.. contents:: Topics
66

7+
v1.7.0
8+
======
9+
10+
Release Summary
11+
---------------
12+
13+
This release includes various improvements and refactorings across the collection.
14+
15+
Minor Changes
16+
-------------
17+
- collection - Update all license headers (https://github.com/sap-linuxlab/community.sap_libs/pull/82)
18+
- sap_hdbsql - Add error handling and secure flags for hdbsql (https://github.com/sap-linuxlab/community.sap_libs/pull/75)
19+
- sap_system_facts - Add SID and permission check to facts module (https://github.com/sap-linuxlab/community.sap_libs/pull/73)
20+
- sap_control_exec, sap_hostctrl_exec - Refactor to use shared utilities (https://github.com/sap-linuxlab/community.sap_libs/pull/78)
21+
- sap_control_exec, sap_hostctrl_exec - QoL and Error handling (https://github.com/sap-linuxlab/community.sap_libs/pull/81)
22+
- sapcar_extract - Add overwrite mode and improve exist validation (https://github.com/sap-linuxlab/community.sap_libs/pull/77)
23+
- sap_hdbsql - Add new parameter named properties (https://github.com/sap-linuxlab/community.sap_libs/pull/79)
24+
25+
726
v1.6.0
827
======
928

@@ -18,6 +37,7 @@ Minor Changes
1837
- sap_control_exec - Add local socket support (https://github.com/sap-linuxlab/community.sap_libs/pull/66)
1938
- sap_hostctrl_exec - Add new module and tests (https://github.com/sap-linuxlab/community.sap_libs/pull/67)
2039

40+
2141
v1.5.0
2242
======
2343

CONTRIBUTORS.md

Lines changed: 138 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,74 +20,200 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
2020
| Name | Commits | Lines Changed | Last Commit |
2121
| ---- | ------- | ------------- | ----------- |
2222
| [Rainer Leber](https://github.com/rainerleber) | 23 | 11921 | 2025-09-22 |
23-
| ydouvry | 8 | 892 | 2025-12-09 |
23+
| [Marcel Mamula](https://github.com/marcelmamula) | 19 | 2799 | 2026-03-13 |
24+
| ydouvry | 9 | 966 | 2026-02-27 |
2425
| Nicolas Bettembourg | 7 | 265 | 2025-10-27 |
25-
| [Marcel Mamula](https://github.com/marcelmamula) | 4 | 1404 | 2025-10-16 |
26+
| mmalagowski | 2 | 12 | 2026-02-27 |
27+
| MelvinM-coder | 1 | 477 | 2026-02-26 |
2628
| stm85 | 1 | 4 | 2024-04-29 |
2729
| [Sean Freeman](https://github.com/sean-freeman) | 1 | 3 | 2022-11-11 |
2830

2931
## Contributions by Module
3032

33+
### Module: sap_company.py
34+
35+
| Name | Commits | Lines Changed | Last Commit |
36+
| ---- | ------- | ------------- | ----------- |
37+
| [Rainer Leber](https://github.com/rainerleber) | 3 | 337 | 2022-12-05 |
38+
| [Marcel Mamula](https://github.com/marcelmamula) | 1 | 10 | 2026-03-13 |
39+
3140
### Module: sap_control_exec.py
3241

3342
| Name | Commits | Lines Changed | Last Commit |
3443
| ---- | ------- | ------------- | ----------- |
3544
| Nicolas Bettembourg | 4 | 221 | 2025-10-27 |
3645
| [Rainer Leber](https://github.com/rainerleber) | 4 | 555 | 2025-09-22 |
46+
| [Marcel Mamula](https://github.com/marcelmamula) | 2 | 89 | 2026-03-13 |
47+
| mmalagowski | 1 | 2 | 2026-02-27 |
48+
| ydouvry | 1 | 20 | 2026-02-27 |
49+
| MelvinM-coder | 1 | 158 | 2026-02-26 |
50+
51+
### Module: sap_hdbsql.py
52+
53+
| Name | Commits | Lines Changed | Last Commit |
54+
| ---- | ------- | ------------- | ----------- |
55+
| [Marcel Mamula](https://github.com/marcelmamula) | 4 | 176 | 2026-03-13 |
56+
| Stollek | 1 | 22 | 2026-03-11 |
57+
| stm85 | 1 | 2 | 2024-04-29 |
58+
| [Rainer Leber](https://github.com/rainerleber) | 1 | 246 | 2022-09-09 |
59+
60+
### Module: sap_hostctrl_exec.py
61+
62+
| Name | Commits | Lines Changed | Last Commit |
63+
| ---- | ------- | ------------- | ----------- |
64+
| ydouvry | 10 | 528 | 2026-02-27 |
65+
| [Marcel Mamula](https://github.com/marcelmamula) | 2 | 56 | 2026-03-13 |
66+
| mmalagowski | 1 | 2 | 2026-02-27 |
67+
| MelvinM-coder | 1 | 149 | 2026-02-26 |
3768

3869
### Module: sap_pyrfc.py
3970

4071
| Name | Commits | Lines Changed | Last Commit |
4172
| ---- | ------- | ------------- | ----------- |
4273
| [Rainer Leber](https://github.com/rainerleber) | 4 | 191 | 2023-03-08 |
74+
| [Marcel Mamula](https://github.com/marcelmamula) | 1 | 11 | 2026-03-13 |
4375

4476
### Module: sap_snote.py
4577

4678
| Name | Commits | Lines Changed | Last Commit |
4779
| ---- | ------- | ------------- | ----------- |
4880
| [Rainer Leber](https://github.com/rainerleber) | 3 | 269 | 2022-12-05 |
81+
| [Marcel Mamula](https://github.com/marcelmamula) | 1 | 10 | 2026-03-13 |
4982

5083
### Module: sap_system_facts.py
5184

5285
| Name | Commits | Lines Changed | Last Commit |
5386
| ---- | ------- | ------------- | ----------- |
87+
| [Marcel Mamula](https://github.com/marcelmamula) | 5 | 189 | 2026-03-13 |
5488
| [Rainer Leber](https://github.com/rainerleber) | 2 | 215 | 2022-09-09 |
5589

5690
### Module: sap_task_list_execute.py
5791

5892
| Name | Commits | Lines Changed | Last Commit |
5993
| ---- | ------- | ------------- | ----------- |
6094
| [Rainer Leber](https://github.com/rainerleber) | 3 | 352 | 2022-12-05 |
95+
| [Marcel Mamula](https://github.com/marcelmamula) | 1 | 10 | 2026-03-13 |
6196

62-
### Module: sap_hostctrl_exec.py
97+
### Module: sap_user.py
6398

6499
| Name | Commits | Lines Changed | Last Commit |
65100
| ---- | ------- | ------------- | ----------- |
66-
| ydouvry | 8 | 506 | 2025-12-09 |
101+
| [Rainer Leber](https://github.com/rainerleber) | 3 | 510 | 2022-12-05 |
102+
| [Marcel Mamula](https://github.com/marcelmamula) | 1 | 10 | 2026-03-13 |
67103

68104
### Module: sapcar_extract.py
69105

70106
| Name | Commits | Lines Changed | Last Commit |
71107
| ---- | ------- | ------------- | ----------- |
108+
| [Marcel Mamula](https://github.com/marcelmamula) | 4 | 103 | 2026-03-13 |
72109
| [Rainer Leber](https://github.com/rainerleber) | 2 | 230 | 2022-09-09 |
73110

74-
### Module: sap_hdbsql.py
111+
## Contributions by Module Utilities
112+
113+
### Utility: pyrfc_handler.py
75114

76115
| Name | Commits | Lines Changed | Last Commit |
77116
| ---- | ------- | ------------- | ----------- |
78-
| [Marcel Mamula](https://github.com/marcelmamula) | 1 | 2 | 2025-09-25 |
79-
| stm85 | 1 | 2 | 2024-04-29 |
80-
| [Rainer Leber](https://github.com/rainerleber) | 1 | 246 | 2022-09-09 |
117+
| [Rainer Leber](https://github.com/rainerleber) | 2 | 50 | 2022-09-09 |
118+
| [Marcel Mamula](https://github.com/marcelmamula) | 1 | 11 | 2026-03-13 |
81119

82-
### Module: sap_user.py
120+
### Utility: sapstartsrv_client.py
83121

84122
| Name | Commits | Lines Changed | Last Commit |
85123
| ---- | ------- | ------------- | ----------- |
86-
| [Rainer Leber](https://github.com/rainerleber) | 3 | 510 | 2022-12-05 |
124+
| [Marcel Mamula](https://github.com/marcelmamula) | 2 | 95 | 2026-03-13 |
125+
| mmalagowski | 1 | 164 | 2026-02-27 |
87126

88-
### Module: sap_company.py
127+
### Utility: swpm2_parameters_inifile_generate.py
89128

90129
| Name | Commits | Lines Changed | Last Commit |
91130
| ---- | ------- | ------------- | ----------- |
92-
| [Rainer Leber](https://github.com/rainerleber) | 3 | 337 | 2022-12-05 |
131+
| [Marcel Mamula](https://github.com/marcelmamula) | 1 | 10 | 2026-03-13 |
132+
| [Sean Freeman](https://github.com/sean-freeman) | 1 | 3 | 2022-11-11 |
133+
| [Rainer Leber](https://github.com/rainerleber) | 1 | 268 | 2022-09-09 |
134+
135+
## Contributions by Module Unit Tests
136+
137+
### Test: test_sap_company.py
138+
139+
| Name | Commits | Lines Changed | Last Commit |
140+
| ---- | ------- | ------------- | ----------- |
141+
| [Marcel Mamula](https://github.com/marcelmamula) | 2 | 53 | 2026-03-13 |
142+
| [Rainer Leber](https://github.com/rainerleber) | 1 | 136 | 2022-09-09 |
143+
144+
### Test: test_sap_control_exec.py
145+
146+
| Name | Commits | Lines Changed | Last Commit |
147+
| ---- | ------- | ------------- | ----------- |
148+
| [Marcel Mamula](https://github.com/marcelmamula) | 3 | 143 | 2026-03-13 |
149+
| Nicolas Bettembourg | 2 | 41 | 2025-10-27 |
150+
| mmalagowski | 1 | 2 | 2026-02-27 |
151+
| MelvinM-coder | 1 | 5 | 2026-02-26 |
152+
| [Rainer Leber](https://github.com/rainerleber) | 1 | 129 | 2022-09-09 |
153+
154+
### Test: test_sap_hdbsql.py
155+
156+
| Name | Commits | Lines Changed | Last Commit |
157+
| ---- | ------- | ------------- | ----------- |
158+
| [Marcel Mamula](https://github.com/marcelmamula) | 4 | 140 | 2026-03-13 |
159+
| Stollek | 1 | 20 | 2026-03-11 |
160+
| [Rainer Leber](https://github.com/rainerleber) | 1 | 102 | 2022-09-09 |
161+
162+
### Test: test_sap_hostctrl_exec.py
163+
164+
| Name | Commits | Lines Changed | Last Commit |
165+
| ---- | ------- | ------------- | ----------- |
166+
| ydouvry | 3 | 364 | 2025-12-08 |
167+
| [Marcel Mamula](https://github.com/marcelmamula) | 2 | 43 | 2026-03-13 |
168+
| mmalagowski | 1 | 2 | 2026-02-27 |
169+
| MelvinM-coder | 1 | 5 | 2026-02-26 |
170+
171+
### Test: test_sap_pyrfc.py
172+
173+
| Name | Commits | Lines Changed | Last Commit |
174+
| ---- | ------- | ------------- | ----------- |
175+
| [Marcel Mamula](https://github.com/marcelmamula) | 2 | 29 | 2026-03-13 |
176+
| [Rainer Leber](https://github.com/rainerleber) | 1 | 76 | 2022-07-18 |
177+
178+
### Test: test_sap_snote.py
179+
180+
| Name | Commits | Lines Changed | Last Commit |
181+
| ---- | ------- | ------------- | ----------- |
182+
| [Marcel Mamula](https://github.com/marcelmamula) | 2 | 88 | 2026-03-13 |
183+
| [Rainer Leber](https://github.com/rainerleber) | 1 | 181 | 2022-09-09 |
184+
185+
### Test: test_sap_system_facts.py
186+
187+
| Name | Commits | Lines Changed | Last Commit |
188+
| ---- | ------- | ------------- | ----------- |
189+
| [Marcel Mamula](https://github.com/marcelmamula) | 5 | 76 | 2026-03-13 |
190+
| [Rainer Leber](https://github.com/rainerleber) | 2 | 109 | 2023-03-08 |
191+
192+
### Test: test_sap_task_list_execute.py
193+
194+
| Name | Commits | Lines Changed | Last Commit |
195+
| ---- | ------- | ------------- | ----------- |
196+
| [Marcel Mamula](https://github.com/marcelmamula) | 2 | 46 | 2026-03-13 |
197+
| [Rainer Leber](https://github.com/rainerleber) | 1 | 89 | 2022-09-09 |
198+
199+
### Test: test_sap_user.py
200+
201+
| Name | Commits | Lines Changed | Last Commit |
202+
| ---- | ------- | ------------- | ----------- |
203+
| [Marcel Mamula](https://github.com/marcelmamula) | 2 | 67 | 2026-03-13 |
204+
| [Rainer Leber](https://github.com/rainerleber) | 1 | 189 | 2022-09-09 |
205+
206+
### Test: test_sapcar_extract.py
207+
208+
| Name | Commits | Lines Changed | Last Commit |
209+
| ---- | ------- | ------------- | ----------- |
210+
| [Marcel Mamula](https://github.com/marcelmamula) | 3 | 58 | 2026-03-13 |
211+
| [Rainer Leber](https://github.com/rainerleber) | 1 | 53 | 2022-09-09 |
212+
213+
### Test: utils.py
214+
215+
| Name | Commits | Lines Changed | Last Commit |
216+
| ---- | ------- | ------------- | ----------- |
217+
| [Marcel Mamula](https://github.com/marcelmamula) | 2 | 43 | 2026-03-13 |
218+
| [Rainer Leber](https://github.com/rainerleber) | 1 | 52 | 2022-04-24 |
93219

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![CI](https://github.com/sap-linuxlab/community.sap_libs/workflows/CI/badge.svg)](https://github.com/sap-linuxlab/community.sap_libs/actions) [![Codecov](https://img.shields.io/codecov/c/github/sap-linuxlab/community.sap_libs)](https://codecov.io/gh/sap-linuxlab/community.sap_libs)
44

55
## Description
6-
This Ansible Collection provides a set of Ansible Modules designed to automate various operations on SAP systems.
6+
This Ansible Collection provides a set of Ansible Modules designed to automate various low-level activities on SAP systems.
77

88
It was migrated from repository `ansible-collections/community.sap`.
99

changelogs/changelog.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,15 @@ releases:
144144
release_summary: This release adds new module `sap_hostctrl_exec` that allows executing `SAPHostcontrol` functions.
145145
New contributors readme is added to show our appreciation to contributors.
146146
release_date: '2025-12-10'
147+
1.7.0:
148+
changes:
149+
minor_changes:
150+
- collection - Update all license headers (https://github.com/sap-linuxlab/community.sap_libs/pull/82)
151+
- sap_hdbsql - Add error handling and secure flags for hdbsql (https://github.com/sap-linuxlab/community.sap_libs/pull/75)
152+
- sap_system_facts - Add SID and permission check to facts module (https://github.com/sap-linuxlab/community.sap_libs/pull/73)
153+
- sap_control_exec, sap_hostctrl_exec - Refactor to use shared utilities (https://github.com/sap-linuxlab/community.sap_libs/pull/78)
154+
- sap_control_exec, sap_hostctrl_exec - QoL and Error handling (https://github.com/sap-linuxlab/community.sap_libs/pull/81)
155+
- sapcar_extract - Add overwrite mode and improve exist validation (https://github.com/sap-linuxlab/community.sap_libs/pull/77)
156+
- sap_hdbsql - Add new parameter named properties (https://github.com/sap-linuxlab/community.sap_libs/pull/79)
157+
release_summary: This release includes various improvements and refactorings across the collection.
158+
release_date: '2026-03-13'

galaxy.yml

Lines changed: 52 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,68 @@
1-
# See https://docs.ansible.com/ansible/latest/dev_guide/collections_galaxy_meta.html
1+
---
22

3+
### REQUIRED
4+
# The namespace of the collection. This can be a company/brand/organization or product namespace under which all
5+
# content lives. May only contain alphanumeric lowercase characters and underscores. Namespaces cannot start with
6+
# underscores or numbers and cannot contain consecutive underscores
37
namespace: community
8+
9+
# The name of the collection. Has the same character restrictions as 'namespace'
410
name: sap_libs
5-
version: 1.6.0
11+
12+
# The version of the collection. Must be compatible with semantic versioning
13+
version: 1.7.0
14+
15+
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
616
readme: README.md
17+
18+
# A list of the collection's content authors. Can be just the name or in the format 'Full Name <email> (url)
719
authors:
820
- Rainer Leber (github.com/rainerleber)
921
- Robert Kraemer (github.com/rkpobe)
1022
- Sean Freeman (github.com/sean-freeman)
11-
description: SAP Module community collection for Ansible
12-
license_file: LICENSE
23+
- Marcel Mamula (github.com/marcelmamula)
24+
25+
### OPTIONAL but strongly recommended
26+
# A short summary description of the collection
27+
description: Collection of Ansible Modules for SAP low-level activities
28+
29+
# Either a single license or a list of licenses for content inside of a collection. Ansible Galaxy currently only
30+
# accepts L(SPDX,https://spdx.org/licenses/) licenses. This key is mutually exclusive with 'license_file'
31+
license:
32+
- Apache-2.0
33+
34+
# The path to the license file for the collection. This path is relative to the root of the collection. This key is
35+
# mutually exclusive with 'license'
36+
license_file: ''
37+
38+
# A list of tags you want to associate with the collection for indexing/searching. A tag name has the same character
39+
# requirements as 'namespace' and 'name'
1340
tags:
41+
- application
1442
- sap
43+
44+
# Collections that this collection requires to be installed for it to be usable. The key of the dict is the
45+
# collection label 'namespace.name'. The value is a version range
46+
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
47+
# range specifiers can be set and are separated by ','
48+
dependencies: {}
49+
50+
# The URL of the originating SCM repository
1551
repository: https://github.com/sap-linuxlab/community.sap_libs
52+
53+
# The URL to any online docs
1654
documentation: https://github.com/sap-linuxlab/community.sap_libs
55+
56+
# The URL to the homepage of the collection/project
1757
homepage: https://github.com/sap-linuxlab/community.sap_libs
58+
59+
# The URL to the collection issue tracker
1860
issues: https://github.com/sap-linuxlab/community.sap_libs
61+
62+
# A list of file glob-like patterns used to filter any files or directories that should not be included in the build
63+
# artifact. A pattern is matched from the relative path of the file or directory of the collection directory. This
64+
# uses 'fnmatch' to match the files or directories. Some directories and files like 'galaxy.yml', '*.pyc', '*.retry',
65+
# and '.git' are always filtered
1966
build_ignore:
20-
# https://docs.ansible.com/ansible/devel/dev_guide/developing_collections.html#ignoring-files-and-folders
2167
- .gitignore
22-
- changelogs/.plugin-cache.yaml
68+
- changelogs/.plugin-cache.yaml

plugins/module_utils/pyrfc_handler.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
1-
# -*- coding: utf-8 -*-
1+
#!/usr/bin/env python
22

3-
# Copyright: (c) 2022, Sean Freeman ,
4-
# Rainer Leber <rainerleber@gmail.com> <rainer.leber@sva.de>
3+
# Copyright (c) 2022-2026 The Project Contributors.
4+
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
77
# You may obtain a copy of the License at
8+
#
89
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
911
# Unless required by applicable law or agreed to in writing, software
1012
# distributed under the License is distributed on an "AS IS" BASIS,
1113
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1214
# See the License for the specific language governing permissions and
1315
# limitations under the License.
16+
#
17+
# For a detailed list of copyright holders and contribution history,
18+
# please refer to the CONTRIBUTORS.md file in the project root.
1419

1520
from __future__ import (absolute_import, division, print_function)
1621
__metaclass__ = type

0 commit comments

Comments
 (0)