opendevstack / opendevstack/ods-provisioning-app

Improve REST endpoint for component provisioning

Open
#428 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14
Forks
20
Avg merge
3h 35m
Merged PRs (30d)
1

Description

Is your feature request related to a problem? Please describe.
Improve provision of quickstarters

Describe the solution you'd like
While a controller endpoint for provision quickstarter already exists, it needs to be improved to be used as REST API endpoint. Current implementation looks like more FE friendly.
To be added/improved:

  • authorization needs to be added.
  • project properties needs to be removed from payload and loaded from the local storage to avoid parameter manipulation security issue.
  • input validation

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 at the existing controller endpoint that provisions quickstarters and trace how its payload reaches local storage. Review the authorization and input-validation boundaries, then verify that project properties are loaded locally rather than accepted from the request. Done means the endpoint supports REST use without permitting parameter manipulation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
api, backend, security
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.