You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: airbyte-connector-builder-server/src/main/kotlin/io/airbyte/connector_builder/handlers/ConnectorContributionHandler.kt
Copy file name to clipboardExpand all lines: airbyte-connector-builder-server/src/main/kotlin/io/airbyte/connector_builder/services/GithubContributionService.kt
+6-3
Original file line number
Diff line number
Diff line change
@@ -132,12 +132,15 @@ class GithubContributionService(var connectorImageName: String, personalAccessTo
132
132
return yaml.load(rawYamlString)
133
133
}
134
134
135
-
funreadConnectorMetadataName(): String? {
135
+
/*
136
+
* Read a top-level field from the connector metadata
Copy file name to clipboardExpand all lines: airbyte-connector-builder-server/src/test/kotlin/io/airbyte/connector_builder/handlers/ConnectorContributionHandlerTest.kt
+1-1
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ class ConnectorContributionHandlerTest {
33
33
@Test
34
34
fun`returns details of an existing connector if found in target repository`() {
35
35
every { anyConstructed<GithubContributionService>().checkIfConnectorExistsOnMain() } returns true
36
-
every { anyConstructed<GithubContributionService>().readConnectorMetadataName() } returns "Test Connector"
36
+
every { anyConstructed<GithubContributionService>().readConnectorMetadataValue("name") } returns "Test Connector"
37
37
38
38
val response = connectorContributionHandler.checkContribution(requestBodyMock)
0 commit comments