cloudfoundry / cloudfoundry/cf-java-client

Add support for Task Templates when creating a task

Open
#945 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

client enhancement triaged
Dominant language
Java
Stars
334
Forks
319
PR merge metrics
No merged PRs in 30d

Description

Please add support for a user to create a task using the task template feature in CAPI.

Example request for this feature in CAPI

curl "https://api.example.org/v3/apps/[guid]/tasks" \
  -X POST \
  -H "Authorization: bearer [token]" \
  -H "Content-type: application/json" \
  -d '{ "template": { "process": {"guid": "89323d4e-2e84-43e7-83e9-adbf50a20c0e"} } }'

Contributor guide

No contributing guide indexed for this repository

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 the client entry point for POST /v3/apps/{guid}/tasks and review how task-creation request data is represented and serialized. Use the CAPI example as the expected input shape; done means a task can be created with a template containing a process GUID, with suitable coverage for that request.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.