Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updating package structure to match module name
  • Loading branch information
ankitk-me committed Jan 25, 2024
commit 93f10a44b7875ffa94116511999728afefc4cae3
1 change: 0 additions & 1 deletion cloud/docker-image/src/main/docker/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
<include>io/aklivity/zilla/exporter-*/**</include>
<include>io/aklivity/zilla/guard-*/**</include>
<include>io/aklivity/zilla/metrics-*/**</include>
<include>io/aklivity/zilla/types-*/**</include>
<include>io/aklivity/zilla/model-*/**</include>
<include>io/aklivity/zilla/vault-*/**</include>
<include>io/aklivity/zilla/command/**</include>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
import com.fasterxml.jackson.dataformat.yaml.YAMLMapper;

import io.aklivity.zilla.runtime.engine.config.ValidatorConfig;
import io.aklivity.zilla.runtime.types.core.config.IntegerValidatorConfig;
import io.aklivity.zilla.runtime.types.core.config.StringValidatorConfig;
import io.aklivity.zilla.runtime.model.core.config.IntegerValidatorConfig;
import io.aklivity.zilla.runtime.model.core.config.StringValidatorConfig;

public abstract class ConfigGenerator
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
import io.aklivity.zilla.runtime.engine.config.RouteConfigBuilder;
import io.aklivity.zilla.runtime.engine.config.ValidatorConfig;
import io.aklivity.zilla.runtime.guard.jwt.config.JwtOptionsConfig;
import io.aklivity.zilla.runtime.types.json.config.JsonValidatorConfig;
import io.aklivity.zilla.runtime.model.json.config.JsonValidatorConfig;
import io.aklivity.zilla.runtime.vault.filesystem.config.FileSystemOptionsConfig;

public class AsyncApiHttpProxyConfigGenerator extends AsyncApiConfigGenerator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
import io.aklivity.zilla.runtime.engine.config.ConfigWriter;
import io.aklivity.zilla.runtime.engine.config.NamespaceConfig;
import io.aklivity.zilla.runtime.engine.config.NamespaceConfigBuilder;
import io.aklivity.zilla.runtime.types.json.config.JsonValidatorConfig;
import io.aklivity.zilla.runtime.model.json.config.JsonValidatorConfig;
import io.aklivity.zilla.runtime.vault.filesystem.config.FileSystemOptionsConfig;

public class AsyncApiMqttProxyConfigGenerator extends AsyncApiConfigGenerator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
import io.aklivity.zilla.runtime.engine.config.RouteConfigBuilder;
import io.aklivity.zilla.runtime.engine.config.ValidatorConfig;
import io.aklivity.zilla.runtime.guard.jwt.config.JwtOptionsConfig;
import io.aklivity.zilla.runtime.types.json.config.JsonValidatorConfig;
import io.aklivity.zilla.runtime.model.json.config.JsonValidatorConfig;
import io.aklivity.zilla.runtime.vault.filesystem.config.FileSystemOptionsConfig;

public class OpenApiHttpProxyConfigGenerator extends OpenApiConfigGenerator
Expand Down
8 changes: 4 additions & 4 deletions incubator/command-generate/src/main/moditect/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
requires io.aklivity.zilla.runtime.catalog.inline;
requires io.aklivity.zilla.runtime.guard.jwt;
requires io.aklivity.zilla.runtime.vault.filesystem;
requires io.aklivity.zilla.runtime.types.avro;
requires io.aklivity.zilla.runtime.types.core;
requires io.aklivity.zilla.runtime.types.json;
requires io.aklivity.zilla.runtime.types.protobuf;
requires io.aklivity.zilla.runtime.model.avro;
requires io.aklivity.zilla.runtime.model.core;
requires io.aklivity.zilla.runtime.model.json;
requires io.aklivity.zilla.runtime.model.protobuf;

requires com.fasterxml.jackson.dataformat.yaml;
requires com.fasterxml.jackson.databind;
Expand Down
4 changes: 2 additions & 2 deletions incubator/model-avro.spec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<version>${project.version}</version>
<configuration>
<scopeNames>core</scopeNames>
<packageName>io.aklivity.zilla.specs.types.avro.internal.types</packageName>
<packageName>io.aklivity.zilla.specs.model.avro.internal.types</packageName>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -135,7 +135,7 @@
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>io/aklivity/zilla/specs/types/avro/internal/types/**/*.class</exclude>
<exclude>io/aklivity/zilla/specs/model/avro/internal/types/**/*.class</exclude>
</excludes>
<rules>
<rule>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
open module io.aklivity.zilla.specs.types.avro
open module io.aklivity.zilla.specs.model.avro
{
requires transitive io.aklivity.zilla.specs.engine;
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package io.aklivity.zilla.specs.types.avro.config;
package io.aklivity.zilla.specs.model.avro.config;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.not;
Expand All @@ -31,8 +31,8 @@ public class SchemaTest
public final ConfigSchemaRule schema = new ConfigSchemaRule()
.schemaPatch("io/aklivity/zilla/specs/engine/schema/binding/test.schema.patch.json")
.schemaPatch("io/aklivity/zilla/specs/engine/schema/catalog/test.schema.patch.json")
.schemaPatch("io/aklivity/zilla/specs/types/avro/schema/avro.schema.patch.json")
.configurationRoot("io/aklivity/zilla/specs/types/avro/config");
.schemaPatch("io/aklivity/zilla/specs/model/avro/schema/avro.schema.patch.json")
.configurationRoot("io/aklivity/zilla/specs/model/avro/config");

@Test
public void shouldValidateCatalog()
Expand Down
12 changes: 6 additions & 6 deletions incubator/model-avro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<version>${project.version}</version>
<configuration>
<scopeNames>core</scopeNames>
<packageName>io.aklivity.zilla.runtime.types.avro.internal.types</packageName>
<packageName>io.aklivity.zilla.runtime.model.avro.internal.types</packageName>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -123,13 +123,13 @@
<artifactId>model-avro.spec</artifactId>
<fileMappers>
<org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>
<pattern>^\Qio/aklivity/zilla/specs/types/avro/\E</pattern>
<replacement>io/aklivity/zilla/runtime/types/avro/internal/</replacement>
<pattern>^\Qio/aklivity/zilla/specs/model/avro/\E</pattern>
<replacement>io/aklivity/zilla/runtime/model/avro/internal/</replacement>
</org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>
</fileMappers>
</artifactItem>
</artifactItems>
<includes>io/aklivity/zilla/specs/types/avro/schema/avro.schema.patch.json</includes>
<includes>io/aklivity/zilla/specs/model/avro/schema/avro.schema.patch.json</includes>
<outputDirectory>${project.build.directory}/classes</outputDirectory>
</configuration>
</execution>
Expand All @@ -153,7 +153,7 @@
<relocations>
<relocation>
<pattern>org.apache.avro</pattern>
<shadedPattern>io.aklivity.zilla.runtime.types.avro.internal.avro</shadedPattern>
<shadedPattern>io.aklivity.zilla.runtime.model.avro.internal.avro</shadedPattern>
</relocation>
</relocations>
<keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
Expand Down Expand Up @@ -187,7 +187,7 @@
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>io/aklivity/zilla/runtime/types/avro/internal/types/**/*.class</exclude>
<exclude>io/aklivity/zilla/runtime/model/avro/internal/types/**/*.class</exclude>
</excludes>
<rules>
<rule>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package io.aklivity.zilla.runtime.types.avro.config;
package io.aklivity.zilla.runtime.model.avro.config;

import java.util.List;
import java.util.function.Function;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package io.aklivity.zilla.runtime.types.avro.config;
package io.aklivity.zilla.runtime.model.avro.config;

import java.util.LinkedList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package io.aklivity.zilla.runtime.types.avro.internal;
package io.aklivity.zilla.runtime.model.avro.internal;

import java.net.URL;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package io.aklivity.zilla.runtime.types.avro.internal;
package io.aklivity.zilla.runtime.model.avro.internal;

import java.util.function.LongFunction;

Expand All @@ -21,7 +21,7 @@
import io.aklivity.zilla.runtime.engine.config.ConverterConfig;
import io.aklivity.zilla.runtime.engine.converter.ConverterContext;
import io.aklivity.zilla.runtime.engine.converter.ConverterHandler;
import io.aklivity.zilla.runtime.types.avro.config.AvroConverterConfig;
import io.aklivity.zilla.runtime.model.avro.config.AvroConverterConfig;

public class AvroConverterContext implements ConverterContext
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package io.aklivity.zilla.runtime.types.avro.internal;
package io.aklivity.zilla.runtime.model.avro.internal;

import java.net.URL;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package io.aklivity.zilla.runtime.types.avro.internal;
package io.aklivity.zilla.runtime.model.avro.internal;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
Expand Down Expand Up @@ -41,7 +41,7 @@
import io.aklivity.zilla.runtime.engine.catalog.CatalogHandler;
import io.aklivity.zilla.runtime.engine.config.CatalogedConfig;
import io.aklivity.zilla.runtime.engine.config.SchemaConfig;
import io.aklivity.zilla.runtime.types.avro.config.AvroConverterConfig;
import io.aklivity.zilla.runtime.model.avro.config.AvroConverterConfig;

public abstract class AvroConverterHandler
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package io.aklivity.zilla.runtime.types.avro.internal;
package io.aklivity.zilla.runtime.model.avro.internal;

import static io.aklivity.zilla.runtime.engine.catalog.CatalogHandler.NO_SCHEMA_ID;

Expand All @@ -30,7 +30,7 @@
import io.aklivity.zilla.runtime.engine.catalog.CatalogHandler;
import io.aklivity.zilla.runtime.engine.converter.ConverterHandler;
import io.aklivity.zilla.runtime.engine.converter.function.ValueConsumer;
import io.aklivity.zilla.runtime.types.avro.config.AvroConverterConfig;
import io.aklivity.zilla.runtime.model.avro.config.AvroConverterConfig;

public class AvroReadConverterHandler extends AvroConverterHandler implements ConverterHandler
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package io.aklivity.zilla.runtime.types.avro.internal;
package io.aklivity.zilla.runtime.model.avro.internal;

import java.io.IOException;
import java.util.function.LongFunction;
Expand All @@ -27,7 +27,7 @@
import io.aklivity.zilla.runtime.engine.catalog.CatalogHandler;
import io.aklivity.zilla.runtime.engine.converter.ConverterHandler;
import io.aklivity.zilla.runtime.engine.converter.function.ValueConsumer;
import io.aklivity.zilla.runtime.types.avro.config.AvroConverterConfig;
import io.aklivity.zilla.runtime.model.avro.config.AvroConverterConfig;

public class AvroWriteConverterHandler extends AvroConverterHandler implements ConverterHandler
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package io.aklivity.zilla.runtime.types.avro.internal.config;
package io.aklivity.zilla.runtime.model.avro.internal.config;

import java.util.LinkedList;
import java.util.List;
Expand All @@ -30,7 +30,7 @@
import io.aklivity.zilla.runtime.engine.config.ConverterConfigAdapterSpi;
import io.aklivity.zilla.runtime.engine.config.SchemaConfig;
import io.aklivity.zilla.runtime.engine.config.SchemaConfigAdapter;
import io.aklivity.zilla.runtime.types.avro.config.AvroConverterConfig;
import io.aklivity.zilla.runtime.model.avro.config.AvroConverterConfig;

public final class AvroConverterConfigAdapter implements ConverterConfigAdapterSpi, JsonbAdapter<ConverterConfig, JsonValue>
{
Expand Down
12 changes: 6 additions & 6 deletions incubator/model-avro/src/main/moditect/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
module io.aklivity.zilla.runtime.types.avro
module io.aklivity.zilla.runtime.model.avro
{
requires com.fasterxml.jackson.core;
requires com.fasterxml.jackson.databind;
requires org.slf4j;
requires io.aklivity.zilla.runtime.engine;

exports io.aklivity.zilla.runtime.types.avro.config;
exports io.aklivity.zilla.runtime.model.avro.config;

uses io.aklivity.zilla.runtime.types.avro.internal.avro.Conversion;
uses io.aklivity.zilla.runtime.types.avro.internal.avro.LogicalTypes$LogicalTypeFactory;
uses io.aklivity.zilla.runtime.model.avro.internal.avro.Conversion;
uses io.aklivity.zilla.runtime.model.avro.internal.avro.LogicalTypes$LogicalTypeFactory;

provides io.aklivity.zilla.runtime.engine.config.ConverterConfigAdapterSpi
with io.aklivity.zilla.runtime.types.avro.internal.config.AvroConverterConfigAdapter;
with io.aklivity.zilla.runtime.model.avro.internal.config.AvroConverterConfigAdapter;

provides io.aklivity.zilla.runtime.engine.converter.ConverterFactorySpi
with io.aklivity.zilla.runtime.types.avro.internal.AvroConverterFactorySpi;
with io.aklivity.zilla.runtime.model.avro.internal.AvroConverterFactorySpi;
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
io.aklivity.zilla.runtime.types.avro.internal.config.AvroConverterConfigAdapter
io.aklivity.zilla.runtime.model.avro.internal.config.AvroConverterConfigAdapter
Original file line number Diff line number Diff line change
@@ -1 +1 @@
io.aklivity.zilla.runtime.types.avro.internal.AvroConverterFactorySpi
io.aklivity.zilla.runtime.model.avro.internal.AvroConverterFactorySpi
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package io.aklivity.zilla.runtime.types.avro.internal;
package io.aklivity.zilla.runtime.model.avro.internal;

import static org.hamcrest.CoreMatchers.instanceOf;
import static org.hamcrest.MatcherAssert.assertThat;
Expand All @@ -26,7 +26,7 @@
import io.aklivity.zilla.runtime.engine.converter.Converter;
import io.aklivity.zilla.runtime.engine.converter.ConverterContext;
import io.aklivity.zilla.runtime.engine.converter.ConverterFactory;
import io.aklivity.zilla.runtime.types.avro.config.AvroConverterConfig;
import io.aklivity.zilla.runtime.model.avro.config.AvroConverterConfig;

public class AvroConverterFactorySpiTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package io.aklivity.zilla.runtime.types.avro.internal;
package io.aklivity.zilla.runtime.model.avro.internal;

import static io.aklivity.zilla.runtime.engine.EngineConfiguration.ENGINE_DIRECTORY;
import static org.junit.Assert.assertEquals;
Expand All @@ -35,7 +35,7 @@
import io.aklivity.zilla.runtime.engine.converter.function.ValueConsumer;
import io.aklivity.zilla.runtime.engine.test.internal.catalog.TestCatalog;
import io.aklivity.zilla.runtime.engine.test.internal.catalog.config.TestCatalogOptionsConfig;
import io.aklivity.zilla.runtime.types.avro.config.AvroConverterConfig;
import io.aklivity.zilla.runtime.model.avro.config.AvroConverterConfig;

public class AvroConverterTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package io.aklivity.zilla.runtime.types.avro.internal.config;
package io.aklivity.zilla.runtime.model.avro.internal.config;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
Expand All @@ -26,7 +26,7 @@
import org.junit.Before;
import org.junit.Test;

import io.aklivity.zilla.runtime.types.avro.config.AvroConverterConfig;
import io.aklivity.zilla.runtime.model.avro.config.AvroConverterConfig;

public class AvroConverterConfigAdapterTest
{
Expand Down
4 changes: 2 additions & 2 deletions incubator/model-core.spec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<version>${project.version}</version>
<configuration>
<scopeNames>core</scopeNames>
<packageName>io.aklivity.zilla.specs.types.core.internal.types</packageName>
<packageName>io.aklivity.zilla.specs.model.core.internal.types</packageName>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -135,7 +135,7 @@
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>io/aklivity/zilla/specs/types/core/internal/types/**/*.class</exclude>
<exclude>io/aklivity/zilla/specs/model/core/internal/types/**/*.class</exclude>
</excludes>
<rules>
<rule>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WARRANTIES OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
open module io.aklivity.zilla.specs.types.core
open module io.aklivity.zilla.specs.model.core
{
requires transitive io.aklivity.zilla.specs.engine;
}
Loading