Migrate code to reorganized E/R format ref. #24992
This commit is contained in:
parent
b8d3fac55f
commit
c9c6c59c5c
|
@ -2,6 +2,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|||
|
||||
# Changelog for Resource Registry Publisher
|
||||
|
||||
## [v4.4.0-SNAPSHOT]
|
||||
|
||||
- Migrated code to reorganized E/R format [#24992]
|
||||
|
||||
|
||||
## [v4.3.0]
|
||||
|
||||
- Enhanced gcube-bom version
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -9,7 +9,7 @@
|
|||
|
||||
<groupId>org.gcube.information-system</groupId>
|
||||
<artifactId>resource-registry-publisher</artifactId>
|
||||
<version>4.3.0</version>
|
||||
<version>4.4.0-SNAPSHOT</version>
|
||||
<name>Resource Registry Publisher</name>
|
||||
<description>Resource Registry Publisher is a library designed to interact with Resource Registry Instances APIs</description>
|
||||
|
||||
|
|
|
@ -38,9 +38,23 @@ public interface ResourceRegistryPublisher {
|
|||
|
||||
public void setHierarchicalMode(boolean hierarchicalMode);
|
||||
|
||||
public boolean isIncludeContexts();
|
||||
/**
|
||||
* Use {@link #includeContexts()} instead
|
||||
* @return
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean isIncludeContextsInHeader();
|
||||
|
||||
public void setIncludeContexts(boolean includeContexts);
|
||||
/**
|
||||
* Use {@link #includeContexts(boolean)} instead
|
||||
* @param includeContextsInHeader
|
||||
*/
|
||||
@Deprecated
|
||||
public void setIncludeContextsInHeader(boolean includeContexts);
|
||||
|
||||
public boolean includeContexts();
|
||||
|
||||
public void includeContexts(boolean includeContexts);
|
||||
|
||||
public void addHeader(String name, String value);
|
||||
|
||||
|
|
|
@ -75,13 +75,25 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
|
|||
this.hierarchicalMode = hierarchicalMode;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@Override
|
||||
public boolean isIncludeContexts() {
|
||||
public boolean isIncludeContextsInHeader() {
|
||||
return includeContexts();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@Override
|
||||
public void setIncludeContextsInHeader(boolean includeContexts) {
|
||||
includeContexts(includeContexts);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean includeContexts() {
|
||||
return includeContexts;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setIncludeContexts(boolean includeContexts) {
|
||||
public void includeContexts(boolean includeContexts) {
|
||||
this.includeContexts = includeContexts;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue