Skip to content

Commit

Permalink
update the API version num
Browse files Browse the repository at this point in the history
leave a TODO to enhance it
  • Loading branch information
imbajin committed Apr 21, 2024
1 parent 97f7aee commit 865566d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import java.util.Map;

import org.apache.hugegraph.pd.common.PDException;
import org.apache.hugegraph.util.VersionUtil;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
Expand All @@ -32,8 +31,9 @@

public class API {

// Currently reading directly from the pom.
public static final String VERSION = VersionUtil.getPomVersion();
// TODO: use a flexible way to define the version
// refer: https://github.com/apache/hugegraph/pull/2528#discussion_r1573823996
public static final String VERSION = "1.5.0";
public static final String PD = "PD";
public static final String STORE = "STORE";
public static String STATUS_KEY = "status";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
import lombok.extern.slf4j.Slf4j;

/**
* TODO: ensure if we need this class & method (delete)
* TODO: ensure if we need this class & method (seems used for prometheus)
*/
@RestController
@Slf4j
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public String notifyClient() {
.setPartition(Metapb.Partition.newBuilder()
.setId(8)
.setGraphName("graphName8"))

.setChangeShard(
ChangeShard.newBuilder()
.setChangeTypeValue(8)
Expand Down

0 comments on commit 865566d

Please sign in to comment.