Skip to content

feat: sap dms sdk addition#38

Open
JagnathReddy wants to merge 32 commits intoSAP:mainfrom
JagnathReddy:main
Open

feat: sap dms sdk addition#38
JagnathReddy wants to merge 32 commits intoSAP:mainfrom
JagnathReddy:main

Conversation

@JagnathReddy
Copy link
Copy Markdown
Member

Description

this PR aims to add sap document mangement service functionality in the python cloud sdk

Type of Change

Please check the relevant option:

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Code refactoring
  • Dependency update

How to Test

Describe how reviewers can test your changes:

  1. integration and unit tests

Checklist

Before submitting your PR, please review and check the following:

  • I have read the Contributing Guidelines
  • I have verified that my changes solve the issue
  • I have added/updated automated tests to cover my changes
  • All tests pass locally
  • I have verified that my code follows the Code Guidelines
  • I have updated documentation (if applicable)
  • I have added type hints for all public APIs
  • My code does not contain sensitive information (credentials, tokens, etc.)
  • I have followed Conventional Commits for commit messages

@JagnathReddy JagnathReddy requested a review from a team as a code owner April 2, 2026 13:56
@cla-assistant
Copy link
Copy Markdown

cla-assistant bot commented Apr 2, 2026

CLA assistant check
All committers have signed the CLA.

@NicoleMGomes
Copy link
Copy Markdown
Contributor

Update README

@NicoleMGomes NicoleMGomes changed the title feat : sap dms sdk addition feat: sap dms sdk addition Apr 6, 2026


def create_client(
*, instance: Optional[str] = None, dms_cred: Optional[DMSCredentials] = None
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we need to have _telemetry_source: Optional[Module] = None here in create_client for telemetry.

CLOUD_SDK_CFG_DESTINATION_DEFAULT_IDENTITYZONE=your-identity-zone-here

CLOUD_SDK_CFG_SDM_DEFAULT_URI=https://your-sdm-api-uri-here
CLOUD_SDK_CFG_SDM_DEFAULT_UAA='{"url":"https://your-auth-url","clientid":"your-client-id","clientsecret":"your-client-secret","identityzone":"your-identity-zone"}'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to have multiple variables for it, we have faced some issues in the past

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we thought of keeping it similar to how these variables are defined in the actual mount path in kyma runtime, should we keep the structure of env variables different that the mount?

screenshot of mount below

Image

) -> None:
"""Initialise a DMSClient.

Args:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check other clients, put warning to use create_client instead of direct constructor

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@NicoleMGomes NicoleMGomes self-requested a review April 8, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants