SAP / SAP/ai-sdk-java

Enable custom configuration for http connection in OrchestrationClient

Open
#494 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
Java
Stars
43
Forks
22
Avg merge
16h 25m
Merged PRs (30d)
59

Description

Describe the Problem

We would like have possibility to customize http connection settings for OrchestrationClient when create it.

Propose a Solution

For example it can be done:

HttpConnectionConfig httpConnectionConfig = HttpConnectionConfig.custom()
    .setConnectTimeout(timeout, TimeUnit.MILLISECONDS)
    .setResponseTimeout(timeout, TimeUnit.MILLISECONDS)
    .setSocketTimeout(timeout, TimeUnit.MILLISECONDS)
     ...
    .build();
OrchestrationClient orchestration = new OrchestrationClient(httpConnectionConfig)

Could you please provide such feature?

Describe Alternatives

No response

Affected Development Phase

Getting Started

Impact

No Impact

Timeline

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating OrchestrationClient and its current HTTP connection construction, then inspect how HttpConnectionConfig is represented and used. Define the supported construction path for custom connection settings and verify that the client uses the supplied configuration for its HTTP calls. The issue does not name specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.