/*
* ============LICENSE_START========================================================
- * Copyright (C) 2023-2024 Nordix Foundation
+ * Copyright (C) 2023-2025 Nordix Foundation
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
}
}
+ /*Note: Need to keep this for the meantime as Hazelcast community version 5.5 has marked RestApiConfig
+ for removal in future version and we have clients relying on these endpoints.
+ https://lf-onap.atlassian.net/browse/CPS-2599 created to address the issue. */
+ @SuppressWarnings("squid:S5738")
protected void exposeClusterInformation(final Config config) {
config.getNetworkConfig().getRestApiConfig().setEnabled(true)
.enableGroups(RestEndpointGroup.HEALTH_CHECK, RestEndpointGroup.CLUSTER_READ);
import java.util.Map;
import lombok.EqualsAndHashCode;
import lombok.Getter;
+import lombok.NoArgsConstructor;
import lombok.Setter;
@Setter
@Getter
@EqualsAndHashCode
+@NoArgsConstructor
public class DataNode implements Serializable {
private static final long serialVersionUID = 1482619410918597467L;
- public DataNode() {}
-
private String dataspace;
private String schemaSetName;
private String anchorName;
import java.io.Serializable;
import java.util.Map;
import lombok.Getter;
+import lombok.NoArgsConstructor;
import lombok.Setter;
@Setter
@Getter
@JsonInclude(JsonInclude.Include.NON_NULL)
+@NoArgsConstructor
public class DeltaReport {
public static final String CREATE_ACTION = "create";
public static final String REMOVE_ACTION = "remove";
public static final String REPLACE_ACTION = "replace";
- public DeltaReport() {}
-
private String action;
private String xpath;
private Map<String, Serializable> sourceData;
Hazelcast
---------
+.. note::
+ The below endpoints will be removed from hazelcast community version in the future release.
Hazelcast cluster state and health check can be seen using the below endpoints