@RestController @RequestMapping(value="indexer/id") public class NutsComponentController extends Object
| Constructor and Description |
|---|
NutsComponentController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Boolean> |
addDocument(String repositoryUuid,
String name,
String namespace,
String group,
String version,
String os,
String osdist,
String platform,
String desktopEnvironment,
String arch,
String face) |
org.springframework.http.ResponseEntity<Boolean> |
deleteComponent(String repositoryUuid,
String name,
String namespace,
String group,
String version,
String os,
String osdist,
String platform,
String desktopEnvironment,
String arch,
String face) |
org.springframework.http.ResponseEntity<List<Map<String,Object>>> |
getAll(String repositoryUuid) |
org.springframework.http.ResponseEntity<List<Map<String,Object>>> |
getAllVersions(String repositoryUuid,
String name,
String namespace,
String group,
String os,
String osdist,
String arch,
String platform,
String desktopEnvironment,
String face) |
org.springframework.http.ResponseEntity<List<Map<String,String>>> |
getDependencies(String repositoryUuid,
String name,
String namespace,
String group,
String version,
String os,
String osdist,
String arch,
String face,
Boolean all) |
@GetMapping(value="",
produces="application/json")
public org.springframework.http.ResponseEntity<List<Map<String,Object>>> getAll(@RequestParam(value="repositoryUuid")
String repositoryUuid)
@GetMapping(value="dependencies",
produces="application/json")
public org.springframework.http.ResponseEntity<List<Map<String,String>>> getDependencies(@RequestParam(value="repositoryUuid")
String repositoryUuid,
@RequestParam(value="name")
String name,
@RequestParam(value="namespace")
String namespace,
@RequestParam(value="group")
String group,
@RequestParam(value="version")
String version,
@RequestParam(value="os")
String os,
@RequestParam(value="osdist")
String osdist,
@RequestParam(value="arch")
String arch,
@RequestParam(value="face")
String face,
@RequestParam(value="all")
Boolean all)
@GetMapping(value="allVersions",
produces="application/json")
public org.springframework.http.ResponseEntity<List<Map<String,Object>>> getAllVersions(@RequestParam(value="repositoryUuid")
String repositoryUuid,
@RequestParam(value="name")
String name,
@RequestParam(value="namespace")
String namespace,
@RequestParam(value="group")
String group,
@RequestParam(value="os")
String os,
@RequestParam(value="osdist")
String osdist,
@RequestParam(value="arch")
String arch,
@RequestParam(value="platform")
String platform,
@RequestParam(value="desktop")
String desktopEnvironment,
@RequestParam(value="face")
String face)
@GetMapping(value="delete",
produces="application/json")
public org.springframework.http.ResponseEntity<Boolean> deleteComponent(@RequestParam(value="repositoryUuid")
String repositoryUuid,
@RequestParam(value="name")
String name,
@RequestParam(value="namespace")
String namespace,
@RequestParam(value="group")
String group,
@RequestParam(value="version")
String version,
@RequestParam(value="os")
String os,
@RequestParam(value="osdist")
String osdist,
@RequestParam(value="platform")
String platform,
@RequestParam(value="desktop")
String desktopEnvironment,
@RequestParam(value="arch")
String arch,
@RequestParam(value="face")
String face)
@GetMapping(value="addData",
produces="application/json")
public org.springframework.http.ResponseEntity<Boolean> addDocument(@RequestParam(value="repositoryUuid")
String repositoryUuid,
@RequestParam(value="name")
String name,
@RequestParam(value="namespace")
String namespace,
@RequestParam(value="group")
String group,
@RequestParam(value="version")
String version,
@RequestParam(value="os")
String os,
@RequestParam(value="osdist")
String osdist,
@RequestParam(value="platform")
String platform,
@RequestParam(value="desktop")
String desktopEnvironment,
@RequestParam(value="arch")
String arch,
@RequestParam(value="face")
String face)
Copyright © 2022 vpc open source initiative. All rights reserved.