Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 768cedce authored by Alicja Nicieja's avatar Alicja Nicieja
Browse files

Merge branch 'feature/release' into 'develop'

SIMPL - Adjust helm version

See merge request !12
parents a9631764 8f64b894
No related branches found
No related tags found
2 merge requests!16Release 0.0.1,!12SIMPL - Adjust helm version
Pipeline #234060 passed
......@@ -11,7 +11,7 @@ spec:
path: charts
repoURL: >-
https://code.europa.eu/simpl/simpl-open/development/contract-billing/stubs.git
targetRevision: develop
targetRevision: '>=0.0.0-0'
sources: []
project: contract-billing
syncPolicy:
......
apiVersion: v2
appVersion: "0.0.1"
version: ${PROJECT_RELEASE_VERSION}
appVersion: "${PROJECT_RELEASE_VERSION}"
name: simpl-stubs
description: Simpl Stubs helm chart
version: 0.0.1
deployment:
image:
artifact: code.europa.eu:4567/simpl/simpl-open/development/contract-billing/stubs
tag: 0.0.1-SNAPSHOT.latest
tag: ${PROJECT_RELEASE_VERSION}
pullPolicy: Always
replicas: 1
namespace: contract
......
......@@ -23,10 +23,10 @@ public class ContractNegotiationController {
this.contractNegotiationService = contractNegotiationService;
}
@PostMapping(path = "/signed/{contractAgreementId}/{signed}", produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<SignedContract> notifyAboutSignedContract(@PathVariable UUID contractAgreementId, @PathVariable boolean signed) {
@PostMapping(path = "/signed/{contractNegotiationId}/{signed}", produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<SignedContract> notifyAboutSignedContract(@PathVariable UUID contractNegotiationId, @PathVariable boolean signed) {
log.info("POST request to notify about signed contract");
return ResponseEntity.ok(contractNegotiationService.getResponse(contractAgreementId, signed));
return ResponseEntity.ok(contractNegotiationService.getResponse(contractNegotiationId, signed));
}
}
......@@ -10,10 +10,10 @@ import java.util.UUID;
@Slf4j
public class ContractNegotiationService {
public SignedContract getResponse(UUID contractAgreementId, boolean signed) {
log.debug("Got request for id: {}, signed: {}", contractAgreementId, signed);
public SignedContract getResponse(UUID contractNegotiationId, boolean signed) {
log.debug("Got request for id: {}, signed: {}", contractNegotiationId, signed);
return SignedContract.builder()
.id(contractAgreementId)
.id(contractNegotiationId)
.status("AGREED")
.build();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment