Skip to content

Commit 14a6219

Browse files
committed
fix: build
1 parent b81afe9 commit 14a6219

File tree

7 files changed

+10
-23
lines changed

7 files changed

+10
-23
lines changed

buildServices.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/bin/sh
2+
#./gradlew clean build -PwithAngular=true -PwithNestJs=true -PuseChromium
23
./gradlew clean build -PwithAngular=true -PwithNestJs=true

flightSelection-frontend/build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,6 @@ tasks.register<Exec>("testAngular") {
9292
}
9393
}
9494
dependsOn(tasks.named("npmInstall"))
95-
doFirst {
96-
// `commandLine` is a list; join for logging
97-
val cmd = commandLine.joinToString(" ")
98-
println("Running $cmd")
99-
}
10095
}
10196

10297
tasks.register("buildAngular") {

flightSelection-frontend/src/angular/src/app/app.component.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ limitations under the License.
1212
*/
1313
import { TestBed } from '@angular/core/testing';
1414
import { AppComponent } from './app.component';
15-
/*
15+
1616
describe('AppComponent', () => {
1717
beforeEach(async () => {
1818
await TestBed.configureTestingModule({
@@ -31,12 +31,12 @@ describe('AppComponent', () => {
3131
const app = fixture.componentInstance;
3232
expect(app.title).toEqual('flightselection');
3333
});
34-
34+
/*
3535
it('should render title', () => {
3636
const fixture = TestBed.createComponent(AppComponent);
3737
fixture.detectChanges();
3838
const compiled = fixture.nativeElement as HTMLElement;
3939
expect(compiled.querySelector('h1')?.textContent).toContain('Hello, flightselection');
4040
});
41+
*/
4142
});
42-
*/

hotelSelection-backend/src/main/kotlin/de/xxx/hotelselection/adapter/events/MqttProducer.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ limitations under the License.
1212
*/
1313
package de.xxx.hotelselection.adapter.events
1414

15-
import com.fasterxml.jackson.databind.ObjectMapper
1615
import de.xxx.hotelselection.domain.model.entity.Booking
1716
import de.xxx.hotelselection.usecase.mapper.BookingMapper
1817
import jakarta.annotation.PreDestroy
@@ -27,6 +26,7 @@ import org.slf4j.LoggerFactory
2726
import org.springframework.boot.context.event.ApplicationStartedEvent
2827
import org.springframework.context.event.EventListener
2928
import org.springframework.stereotype.Component
29+
import tools.jackson.databind.json.JsonMapper
3030
import java.io.ByteArrayInputStream
3131
import java.io.ByteArrayOutputStream
3232
import java.util.*
@@ -35,7 +35,7 @@ import java.util.zip.GZIPOutputStream
3535

3636

3737
@Component
38-
class MqttProducer(val mqttClient: IMqttClient, val objectMapper: ObjectMapper, val bookingMapper: BookingMapper): MqttCallback {
38+
class MqttProducer(val mqttClient: IMqttClient, val objectMapper: JsonMapper, val bookingMapper: BookingMapper): MqttCallback {
3939
private val log = LoggerFactory.getLogger(javaClass)
4040
private val TOPIC_NAME = "hotel-booking"
4141

hotelSelection-frontend/build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,6 @@ tasks.register<Exec>("testAngular") {
9292
}
9393
}
9494
dependsOn(tasks.named("npmInstall"))
95-
doFirst {
96-
// `commandLine` is a list; join for logging
97-
val cmd = commandLine.joinToString(" ")
98-
println("Running $cmd")
99-
}
10095
}
10196

10297
tasks.register("buildAngular") {

payment-frontend/build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,6 @@ tasks.register<Exec>("testAngular") {
8888
}
8989
}
9090
dependsOn(tasks.named("npmInstall"))
91-
doFirst {
92-
// `commandLine` is a list; join for logging
93-
val cmd = commandLine.joinToString(" ")
94-
println("Running $cmd")
95-
}
9691
}
9792

9893
tasks.register("buildAngular") {

payment-frontend/src/angular/src/app/app.component.spec.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ limitations under the License.
1212
*/
1313
import { TestBed } from '@angular/core/testing';
1414
import { AppComponent } from './app.component';
15-
/*
15+
1616
describe('AppComponent', () => {
1717
beforeEach(async () => {
1818
await TestBed.configureTestingModule({
@@ -31,12 +31,13 @@ describe('AppComponent', () => {
3131
const app = fixture.componentInstance;
3232
expect(app.title).toEqual('shell');
3333
});
34-
34+
/*
3535
it('should render title', () => {
3636
const fixture = TestBed.createComponent(AppComponent);
3737
fixture.detectChanges();
3838
const compiled = fixture.nativeElement as HTMLElement;
3939
expect(compiled.querySelector('h1')?.textContent).toContain('Hello, shell');
4040
});
41+
*/
4142
});
42-
*/
43+

0 commit comments

Comments
 (0)