-
Notifications
You must be signed in to change notification settings - Fork 4
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 #127 from com-pas/develop
New release
- Loading branch information
Showing
5 changed files
with
43 additions
and
12 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
19 changes: 19 additions & 0 deletions
19
app/src/main/java/org/lfenergy/compas/scl/data/rest/CompasReflectionConfiguration.java
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,19 @@ | ||
// SPDX-FileCopyrightText: 2021 Alliander N.V. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
package org.lfenergy.compas.scl.data.rest; | ||
|
||
import io.quarkus.runtime.annotations.RegisterForReflection; | ||
|
||
/** | ||
* Configure class for Quarkus Native Build to be included. | ||
*/ | ||
@RegisterForReflection( | ||
targets = { | ||
org.lfenergy.compas.core.jaxrs.model.ErrorMessage.class, | ||
org.lfenergy.compas.core.jaxrs.model.ErrorResponse.class, | ||
org.lfenergy.compas.scl.data.model.SclMetaInfo.class, | ||
org.lfenergy.compas.scl.data.model.ObjectFactory.class | ||
}) | ||
public class CompasReflectionConfiguration { | ||
} |
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
app/src/test/java/org/lfenergy/compas/scl/data/rest/CompasReflectionConfigurationTest.java
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,16 @@ | ||
// SPDX-FileCopyrightText: 2021 Alliander N.V. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
package org.lfenergy.compas.scl.data.rest; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
import static org.junit.jupiter.api.Assertions.assertNotNull; | ||
|
||
class CompasReflectionConfigurationTest { | ||
@Test | ||
void constructor_WhenCalled_ThenNoExceptions() { | ||
var config = new CompasReflectionConfiguration(); | ||
assertNotNull(config); | ||
} | ||
} |
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