Skip to content

Commit

Permalink
Cleanup repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal Mengelt committed Nov 13, 2024
1 parent fba20d6 commit 714d37e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 60,708 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package camundala.domain

@description(
"Mocks a REST Service Response (must be handled by the BPF package)."
"Mocks a REST Service Response."
)
case class MockedServiceResponse[
ServiceOut // output of service
Expand Down
6 changes: 3 additions & 3 deletions 03-api/src/test/scala/camundala/api/ApiCreatorTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ApiCreatorTest extends munit.FunSuite, DefaultApiCreator:

def jiraUrls: Map[String, String] = Map(
"MAP" -> "https://myJira.ch/browse",
"BPF" -> "https://finnovaJira.ch/browse"
"OTHER" -> "https://otherJira.ch/browse"
)
def title: String = ???
def version: String = ???
Expand All @@ -34,8 +34,8 @@ class ApiCreatorTest extends munit.FunSuite, DefaultApiCreator:
}
test("testReplaceJiraMulti") {
assertEquals(
"[MAP-123](https://myJira.ch/browse/MAP-123): My test ticket with [BPF-456](https://finnovaJira.ch/browse/BPF-456).",
replaceJira("MAP-123: My test ticket with BPF-456.", jiraUrls)
"[MAP-123](https://myJira.ch/browse/MAP-123): My test ticket with [OTHER-456](https://otherJira.ch/browse/OTHER-456).",
replaceJira("MAP-123: My test ticket with OTHER-456.", jiraUrls)
)
}
end ApiCreatorTest
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ case class GenericFileGenerator()(using config: SetupConfig):
|<component name="ProjectRunConfigurationManager">
| <configuration default="false" name="WorkerTestApp" type="Application" factoryName="Application" nameIsGenerated="true">
| <envs>
| <env name="BPF_GATEWAY_URL" value="https://localhost:51051" />
| <env name="FSSO_BASE_URL" value="http://host.lima.internal:8090/auth" />
| <env name="WORKER_TEST_MODE" value="true" />
| </envs>
Expand Down Expand Up @@ -140,7 +139,7 @@ case class GenericFileGenerator()(using config: SetupConfig):
| "mainClass": "${config.projectPackage}.worker.WorkerTestApp",
| "args": [],
| "jvmOptions": [],
| "env": { "BPF_GATEWAY_URL": "https://localhost:51051", "FSSO_BASE_URL": "http://host.lima.internal:8090/auth", "WORKER_TEST_MODE": "true"},
| "env": { "FSSO_BASE_URL": "http://host.lima.internal:8090/auth", "WORKER_TEST_MODE": "true"},
| }
| ]
|}
Expand Down
Loading

0 comments on commit 714d37e

Please sign in to comment.