Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix patch #581

Merged
merged 15 commits into from
May 29, 2024
Merged

Hotfix patch #581

merged 15 commits into from
May 29, 2024

Conversation

novoj
Copy link
Collaborator

@novoj novoj commented May 29, 2024

No description provided.

novoj added 15 commits May 28, 2024 10:11
…onotonic-in-inverted-histogram

fix(#575): Histogram values are not monotonic in Inverted histogram
In complex build pipelines it's not easy to set up all evitaDB parameters in one shot. It would be helpful if we could layer the `evita-configuration.yml` so that we first load the full configuration with defaults and then apply shorter versions that override only part of those settings. The overriding configurations could be expected to be in the same folder as the default configuration and could be applied in alphabetical order - i.e:

1. evita-configuration.yml
2. evita-configuration-environment.yml
3. evita-configuration-project.yml
…guration

fix(#577): Support for layering configuration
In complex build pipelines it's not easy to set up all evitaDB parameters in one shot. It would be helpful if we could layer the `evita-configuration.yml` so that we first load the full configuration with defaults and then apply shorter versions that override only part of those settings. The overriding configurations could be expected to be in the same folder as the default configuration and could be applied in alphabetical order - i.e:

1. evita-configuration.yml
2. evita-configuration-environment.yml
3. evita-configuration-project.yml
The default configuration file moved from Docker image to classpath to avoid conflicts in YAML ordering.
The default configuration file moved from Docker image to classpath to avoid conflicts in YAML ordering.
…ibute

When we query entity by unique attribute like URL and this entity is not found. We get:

```
app//io.evitadb.api.exception.EntityCollectionRequiredException.<init>(EntityCollectionRequiredException.java:46)
app//io.evitadb.core.query.algebra.prefetch.EntityFilteringFormula.lambda$computeInternal$0(EntityFilteringFormula.java:89)
app//io.evitadb.core.query.algebra.prefetch.EntityFilteringFormula$$Lambda$2115/0x0000000801594698.get(Unknown Source)
app//io.evitadb.utils.Assert.isTrue(Assert.java:135)
app//io.evitadb.core.query.algebra.prefetch.EntityFilteringFormula.computeInternal(EntityFilteringFormula.java:87)
```

Unfortunately, it was not possible to write a test for this case because it required special composition of the query, data and also enabled observability facilities.
…ibute

When we query entity by unique attribute like URL and this entity is not found. We get:

```
app//io.evitadb.api.exception.EntityCollectionRequiredException.<init>(EntityCollectionRequiredException.java:46)
app//io.evitadb.core.query.algebra.prefetch.EntityFilteringFormula.lambda$computeInternal$0(EntityFilteringFormula.java:89)
app//io.evitadb.core.query.algebra.prefetch.EntityFilteringFormula$$Lambda$2115/0x0000000801594698.get(Unknown Source)
app//io.evitadb.utils.Assert.isTrue(Assert.java:135)
app//io.evitadb.core.query.algebra.prefetch.EntityFilteringFormula.computeInternal(EntityFilteringFormula.java:87)
```

Unfortunately, it was not possible to write a test for this case because it required special composition of the query, data and also enabled observability facilities.
…n-existent-entity-by-unique-attribute

579 exception when querying non existent entity by unique attribute
@novoj novoj merged commit 9b2eee2 into master May 29, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant