-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1971 from aml-org/publish-5.5.0
publish AMF 5.5.0
- Loading branch information
Showing
1,243 changed files
with
8,536 additions
and
1,640 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
-Xms512M | ||
-Xmx4096M | ||
-Xms1G | ||
-Xmx16G | ||
-Xss2M | ||
-XX:MaxMetaspaceSize=1024M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v16.17.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Enable auto-env through the sdkman_auto_env config | ||
# Add key=value pairs of SDKs to use below | ||
java=17.0.10-tem | ||
scala=2.12.15 | ||
sbt=1.7.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 92 additions & 0 deletions
92
...tract/client/platform/model/domain/bindings/googlepubsub/GooglePubSubChannelBinding.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
package amf.apicontract.client.platform.model.domain.bindings.googlepubsub | ||
|
||
import amf.apicontract.client.platform.model.domain.bindings.{BindingVersion, ChannelBinding} | ||
import amf.apicontract.client.scala.model.domain.bindings.googlepubsub.{GooglePubSubChannelBinding => InternalGooglePubSubChannelBinding, GooglePubSubMessageStoragePolicy => InternalGooglePubSubMessageStoragePolicy, GooglePubSubSchemaSettings => InternalGooglePubSubSchemaSettings} | ||
import amf.apicontract.internal.convert.ApiClientConverters._ | ||
import amf.core.client.platform.model.StrField | ||
import amf.core.client.platform.model.domain.{DomainElement, Linkable, ObjectNode} | ||
import amf.shapes.client.scala.model.domain.NodeShape | ||
|
||
import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} | ||
|
||
@JSExportAll | ||
case class GooglePubSubChannelBinding(override private[amf] val _internal: InternalGooglePubSubChannelBinding) | ||
extends ChannelBinding | ||
with BindingVersion { | ||
@JSExportTopLevel("GooglePubSubChannelBinding") | ||
def this() = this(InternalGooglePubSubChannelBinding()) | ||
|
||
override def bindingVersion: StrField = _internal.bindingVersion | ||
|
||
def labels: ObjectNode = _internal.labels | ||
def messageRetentionDuration: StrField = _internal.messageRetentionDuration | ||
def messageStoragePolicy: GooglePubSubMessageStoragePolicy = _internal.messageStoragePolicy | ||
def schemaSettings: GooglePubSubSchemaSettings = _internal.schemaSettings | ||
def topic: StrField = _internal.topic | ||
|
||
|
||
def withLabels(labels: ObjectNode): this.type = { | ||
_internal.withLabels(labels) | ||
this | ||
} | ||
def withMessageRetentionDuration(messageRetentionDuration: String): this.type = { | ||
_internal.withMessageRetentionDuration(messageRetentionDuration) | ||
this | ||
} | ||
def withMessageStoragePolicy(messageStoragePolicy: GooglePubSubMessageStoragePolicy): this.type = { | ||
_internal.withMessageStoragePolicy(messageStoragePolicy._internal) | ||
this | ||
} | ||
def withSchemaSettings(schemaSettings: GooglePubSubSchemaSettings): this.type = { | ||
_internal.withSchemaSettings(schemaSettings._internal) | ||
this | ||
} | ||
def withTopic(topic: String): this.type = { | ||
_internal.withTopic(topic) | ||
this | ||
} | ||
|
||
override def withBindingVersion(bindingVersion: String): this.type = { | ||
_internal.withBindingVersion(bindingVersion) | ||
this | ||
} | ||
|
||
override def linkCopy(): GooglePubSubChannelBinding = _internal.linkCopy() | ||
} | ||
|
||
@JSExportAll | ||
case class GooglePubSubMessageStoragePolicy(override private[amf] val _internal: InternalGooglePubSubMessageStoragePolicy) extends DomainElement { | ||
@JSExportTopLevel("GooglePubSubMessageStoragePolicy") | ||
def this() = this(InternalGooglePubSubMessageStoragePolicy()) | ||
def allowedPersistenceRegions: ClientList[StrField] = _internal.allowedPersistenceRegions.asClient | ||
def withAllowedPersistenceRegions(allowedPersistenceRegions: ClientList[String]): this.type = { | ||
_internal.withAllowedPersistenceRegions(allowedPersistenceRegions.asInternal) | ||
this | ||
} | ||
} | ||
|
||
@JSExportAll | ||
case class GooglePubSubSchemaSettings(override private[amf] val _internal: InternalGooglePubSubSchemaSettings) extends DomainElement { | ||
@JSExportTopLevel("GooglePubSubSchemaSettings") | ||
def this() = this(InternalGooglePubSubSchemaSettings()) | ||
def encoding: StrField = _internal.encoding | ||
def firstRevisionId: StrField = _internal.firstRevisionId | ||
def lastRevisionId: StrField = _internal.lastRevisionId | ||
def name: StrField = _internal.name | ||
def withEncoding(encoding: String): this.type = { | ||
_internal.withEncoding(encoding) | ||
this | ||
} | ||
def withFirstRevisionId(firstRevisionId: String): this.type = { | ||
_internal.withFirstRevisionId(firstRevisionId) | ||
this | ||
} | ||
def withLastRevisionId(lastRevisionId: String): this.type = { | ||
_internal.withLastRevisionId(lastRevisionId) | ||
this | ||
} | ||
def withName(name: String): this.type = { | ||
_internal.withName(name) | ||
this | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
...tract/client/platform/model/domain/bindings/googlepubsub/GooglePubSubMessageBinding.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
package amf.apicontract.client.platform.model.domain.bindings.googlepubsub | ||
|
||
import amf.apicontract.client.platform.model.domain.bindings.{BindingVersion, MessageBinding} | ||
import amf.apicontract.client.scala.model.domain.bindings.googlepubsub.{GooglePubSubMessageBinding => InternalGooglePubSubMessageBinding, GooglePubSubSchemaDefinition => InternalGooglePubSubSchemaDefinition} | ||
import amf.core.client.platform.model.StrField | ||
import amf.core.client.platform.model.domain.{DomainElement, ObjectNode} | ||
import amf.apicontract.internal.convert.ApiClientConverters._ | ||
|
||
import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} | ||
|
||
|
||
@JSExportAll | ||
case class GooglePubSubMessageBinding(override private[amf] val _internal: InternalGooglePubSubMessageBinding) | ||
extends MessageBinding | ||
with BindingVersion { | ||
@JSExportTopLevel("GooglePubSubMessageBinding") | ||
def this() = this(InternalGooglePubSubMessageBinding()) | ||
|
||
override protected def bindingVersion: StrField = _internal.bindingVersion | ||
def attributes: ObjectNode = _internal.attributes | ||
def orderingKey: StrField = _internal.orderingKey | ||
def schema: GooglePubSubSchemaDefinition = new GooglePubSubSchemaDefinition(_internal.schema) | ||
|
||
def withAttributes(attributes: ObjectNode): this.type = { | ||
_internal.withAttributes(attributes) | ||
this | ||
} | ||
def withOrderingKey(orderingKey: String): this.type = { | ||
_internal.withOrderingKey(orderingKey) | ||
this | ||
} | ||
def withSchema(schema: GooglePubSubSchemaDefinition): this.type = { | ||
_internal.withSchema(schema) | ||
this | ||
} | ||
override def withBindingVersion(bindingVersion: String): GooglePubSubMessageBinding.this.type = { | ||
_internal.withBindingVersion(bindingVersion) | ||
this | ||
} | ||
|
||
override def linkCopy(): GooglePubSubMessageBinding = new GooglePubSubMessageBinding(_internal.linkCopy()) | ||
|
||
} | ||
|
||
@JSExportAll | ||
case class GooglePubSubSchemaDefinition(override private[amf] val _internal: InternalGooglePubSubSchemaDefinition) extends DomainElement { | ||
@JSExportTopLevel("GooglePubSubSchemaDefinition") | ||
def this() = this(InternalGooglePubSubSchemaDefinition()) | ||
|
||
def name: StrField = _internal.name | ||
def fieldType: StrField = _internal.fieldType | ||
|
||
def withName(name: String): this.type = { | ||
_internal.withName(name) | ||
this | ||
} | ||
def withFieldType(fieldType: String): this.type = { | ||
_internal.withFieldType(fieldType) | ||
this | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 93 additions & 0 deletions
93
...a/amf/apicontract/client/platform/model/domain/bindings/pulsar/PulsarChannelBinding.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
package amf.apicontract.client.platform.model.domain.bindings.pulsar | ||
|
||
import amf.apicontract.client.platform.model.domain.bindings.{BindingVersion, ChannelBinding} | ||
import amf.apicontract.client.scala.model.domain.bindings.pulsar.{ | ||
PulsarChannelBinding => InternalPulsarChannelBinding, | ||
PulsarChannelRetention => InternalPulsarChannelRetention | ||
} | ||
import amf.apicontract.internal.convert.ApiClientConverters._ | ||
import amf.core.client.platform.model | ||
import amf.core.client.platform.model.domain.DomainElement | ||
import amf.core.client.platform.model.{IntField, StrField, BoolField} | ||
|
||
import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} | ||
|
||
@JSExportAll | ||
case class PulsarChannelBinding(override private[amf] val _internal: InternalPulsarChannelBinding) | ||
extends ChannelBinding | ||
with BindingVersion { | ||
@JSExportTopLevel("PulsarChannelBinding") | ||
def this() = this(InternalPulsarChannelBinding()) | ||
|
||
def namespace: StrField = _internal.namespace | ||
def persistence: StrField = _internal.persistence | ||
def compaction: IntField = _internal.compaction | ||
def geoReplication: ClientList[StrField] = _internal.geoReplication.asClient | ||
def retention: PulsarChannelRetention = _internal.retention | ||
def ttl: IntField = _internal.ttl | ||
def deduplication: BoolField = _internal.deduplication | ||
|
||
def withNamespace(namespace: String): this.type = { | ||
_internal.withNamespace(namespace) | ||
this | ||
} | ||
|
||
def withPersistence(persistence: String): this.type = { | ||
_internal.withPersistence(persistence) | ||
this | ||
} | ||
|
||
def withCompaction(compaction: Int): this.type = { | ||
_internal.withCompaction(compaction) | ||
this | ||
} | ||
|
||
def withGeoReplication(geoReplication: ClientList[String]): this.type = { | ||
_internal.withGeoReplication(geoReplication.asInternal) | ||
this | ||
} | ||
|
||
def withRetention(retention: PulsarChannelRetention): this.type = { | ||
_internal.withRetention(retention) | ||
this | ||
} | ||
|
||
def withTtl(ttl: Int): this.type = { | ||
_internal.withTtl(ttl) | ||
this | ||
} | ||
|
||
def withDeduplication(deduplication: Boolean): this.type = { | ||
_internal.withDeduplication(deduplication) | ||
this | ||
} | ||
|
||
override protected def bindingVersion: StrField = _internal.bindingVersion | ||
|
||
override def withBindingVersion(bindingVersion: String): this.type = { | ||
_internal.withBindingVersion(bindingVersion) | ||
this | ||
} | ||
|
||
override def linkCopy(): PulsarChannelBinding = _internal.linkCopy() | ||
} | ||
|
||
@JSExportAll | ||
case class PulsarChannelRetention(override private[amf] val _internal: InternalPulsarChannelRetention) | ||
extends DomainElement { | ||
|
||
@JSExportTopLevel("PulsarChannelRetention") | ||
def this() = this(InternalPulsarChannelRetention()) | ||
|
||
def time: IntField = _internal.time | ||
def size: IntField = _internal.size | ||
|
||
def withTime(time: Int): this.type = { | ||
_internal.withTime(time) | ||
this | ||
} | ||
def withSize(size: Int): this.type = { | ||
_internal.withSize(size) | ||
this | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...la/amf/apicontract/client/platform/model/domain/bindings/pulsar/PulsarServerBinding.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package amf.apicontract.client.platform.model.domain.bindings.pulsar | ||
|
||
import amf.apicontract.client.platform.model.domain.bindings.{BindingVersion, ServerBinding} | ||
import amf.apicontract.client.scala.model.domain.bindings.pulsar.{PulsarServerBinding => InternalPulsarServerBinding} | ||
import amf.apicontract.internal.convert.ApiClientConverters._ | ||
import amf.core.client.platform.model | ||
import amf.core.client.platform.model.StrField | ||
|
||
import scala.scalajs.js.annotation.{JSExportAll, JSExportTopLevel} | ||
|
||
@JSExportAll | ||
case class PulsarServerBinding(override private[amf] val _internal: InternalPulsarServerBinding) | ||
extends ServerBinding | ||
with BindingVersion { | ||
@JSExportTopLevel("PulsarServerBinding") | ||
def this() = this(InternalPulsarServerBinding()) | ||
|
||
def tenant: StrField = _internal.tenant | ||
|
||
def withTenant(tenant: String): this.type = { | ||
_internal.withTenant(tenant) | ||
this | ||
} | ||
|
||
override protected def bindingVersion: model.StrField = _internal.bindingVersion | ||
|
||
override def withBindingVersion(bindingVersion: String): this.type = { | ||
_internal.withBindingVersion(bindingVersion) | ||
this | ||
} | ||
|
||
override def linkCopy(): PulsarServerBinding = _internal.linkCopy() | ||
} |
Oops, something went wrong.