Skip to content

Commit

Permalink
fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lharzenetter committed Jan 16, 2023
1 parent 20277f5 commit bc638c7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.cli
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM openjdk:17
LABEL maintainer "Oliver Kopp <[email protected]>, Lukas Harzenetter <[email protected]>"
FROM openjdk:17-bullseye
LABEL maintainer = "Oliver Kopp <[email protected]>, Lukas Harzenetter <[email protected]>"
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
RUN apt-get update && apt-get install -y git git-lfs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class MultiParticipantsService {
+ '/'
+ encodeURIComponent(this.backendService.configuration.id)
+ '/placeholdersubstitution';
console.log(url);

return this.httpClient.post(
url,
{ headers: this.httpHeaders, observe: 'response', responseType: 'json' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ export class InterfacesComponent implements OnInit {
this.interfacesData.push(lifecycle);
this.interfaceComponent.selectItem(lifecycle);
}

containsDefaultLifecycle(): boolean {
if (this.sharedData.currentVersion.editable) {
if (this.interfacesData === null || this.interfacesData === undefined) {
Expand Down Expand Up @@ -321,6 +322,7 @@ export class InterfacesComponent implements OnInit {
);
}
}

checkArtifactTemplateExists(): void {
if (!this.generateArtifactApiData.artifactTemplateNamespace.endsWith('/')) {
this.existService.check(backendBaseURL + '/artifacttemplates/'
Expand Down Expand Up @@ -416,6 +418,7 @@ export class InterfacesComponent implements OnInit {
this.interfacesData = data ? data : [];

}

private handleInheritedInterfaceData(data: InheritedInterface[]) {

this.inheritedInterfacesData = data ? data : [];
Expand Down Expand Up @@ -443,7 +446,6 @@ export class InterfacesComponent implements OnInit {
}

private handleError(error: HttpErrorResponse) {
console.log(error);
this.generating = false;
this.notify.error(error.error);
}
Expand All @@ -453,7 +455,7 @@ export class InterfacesComponent implements OnInit {
this.generateArtifactApiData.artifactTemplateName = this.generateArtifactApiData.artifactName = this.artifactTemplate.name;
this.generateArtifactApiData.artifactTemplateNamespace = this.artifactTemplate.namespace;
this.generateArtifactApiData.artifactType = this.artifactTemplate.artifactTypeQName;
console.log(this.generateArtifactApiData);

this.service.createArtifactTemplate(this.implementation.name, this.implementation.namespace, this.generateArtifactApiData)
.subscribe(
(response) => this.handleGeneratedArtifact(response),
Expand Down

0 comments on commit bc638c7

Please sign in to comment.