Skip to content

Commit

Permalink
Support 'releasesInDefaultbranch'
Browse files Browse the repository at this point in the history
  • Loading branch information
aryabokon committed Apr 19, 2024
1 parent f242876 commit 2f27849
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components-registry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<dependency>
<groupId>org.octopusden.octopus.infrastructure</groupId>
<artifactId>components-registry-service-client</artifactId>
<version>2.0.11</version>
<version>2.0.20</version>
</dependency>
<dependency>
<groupId>io.github.openfeign</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class ComponentRegistryServiceImpl @Inject constructor(
}

private fun org.octopusden.octopus.components.registry.core.dto.Component.toModel(): Component {
return Component(id, name, componentOwner, releaseManager, distribution?.toModel())
return Component(id, name, componentOwner, releaseManager, distribution?.toModel(), releasesInDefaultBranch)
}

private fun JiraComponentVersionDTO.toModel(): JiraComponentVersion =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ data class Component(
val componentOwner: String? = null,
val releaseManager: String? = null,
val distribution: Distribution? = null,
val releasesInDefaultBranch: Boolean?,
)

0 comments on commit 2f27849

Please sign in to comment.