Skip to content

Commit

Permalink
Added rank level and name
Browse files Browse the repository at this point in the history
  • Loading branch information
hohonuuli committed Nov 14, 2024
1 parent cdf2963 commit 02cc440
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
mcr.microsoft.com/mssql/server:2022-latest
mcr.microsoft.com/mssql/server:2017-CU12
mcr.microsoft.com/azure-sql-edge:latest
4 changes: 4 additions & 0 deletions oni/src/main/scala/org/mbari/oni/domain/ConceptMetadata.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ case class ConceptMetadata(
media: Set[Media] = Set.empty,
linkRealizations: Set[Link] = Set.empty,
rank: Option[String] = None,
rankName: Option[String] = None,
rankLevel: Option[String] = None,
author: Option[String] = None,
aphiaId: Option[Long] = None,
references: Set[Reference] = Set.empty,
Expand Down Expand Up @@ -76,6 +78,8 @@ object ConceptMetadata:
media,
linkRealizations,
Option(rank),
Option(rankName),
Option(rankLevel),
author,
concept.getAphiaId.asLong,
references,
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ object Dependencies {
lazy val slf4jJulBridge = "org.slf4j" % "jul-to-slf4j" % slf4jVersion
lazy val slf4jSystem = "org.slf4j" % "slf4j-jdk-platform-logging" % slf4jVersion

private val tapirVersion = "1.11.8"
private val tapirVersion = "1.11.9"
lazy val tapirCirce = "com.softwaremill.sttp.tapir" %% "tapir-json-circe" % tapirVersion
lazy val tapirHelidon = "com.softwaremill.sttp.tapir" %% "tapir-nima-server" % tapirVersion
lazy val tapirPrometheus = "com.softwaremill.sttp.tapir" %% "tapir-prometheus-metrics" % tapirVersion
Expand Down

0 comments on commit 02cc440

Please sign in to comment.