You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2021/02/28 14:13:39 UTC
[skywalking] branch polish-relation-fields updated: Update
changelog.
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch polish-relation-fields
in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/polish-relation-fields by this push:
new 56c1864 Update changelog.
56c1864 is described below
commit 56c1864ea9af27a690dc9becac5d16955ae7aa75
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Sun Feb 28 22:12:43 2021 +0800
Update changelog.
---
CHANGES.md | 1 +
.../org/apache/skywalking/oap/server/core/source/EndpointRelation.java | 2 ++
2 files changed, 3 insertions(+)
diff --git a/CHANGES.md b/CHANGES.md
index aa403b8..6fbac7a 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -38,6 +38,7 @@ Release Notes.
* Upgrade the Zipkin Elasticsearch storage from 6 to 7.
* Require Zipkin receiver must work with `zipkin-elasticsearch7` storage option.
* Fix `DatabaseSlowStatementBuilder` statement maybe null.
+* Remove fields of parent entity in the relation sources.
#### UI
* Update selector scroller to show in all pages.
diff --git a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/source/EndpointRelation.java b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/source/EndpointRelation.java
index 14e48b1..77b5cea 100644
--- a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/source/EndpointRelation.java
+++ b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/source/EndpointRelation.java
@@ -44,6 +44,7 @@ public class EndpointRelation extends Source {
@Getter
@Setter
+ @ScopeDefaultColumn.DefinedByField(columnName = "source_endpoint_name", requireDynamicActive = true)
private String endpoint;
@Getter
private String serviceId;
@@ -58,6 +59,7 @@ public class EndpointRelation extends Source {
private String serviceInstanceName;
@Getter
@Setter
+ @ScopeDefaultColumn.DefinedByField(columnName = "child_endpoint_name", requireDynamicActive = true)
private String childEndpoint;
@Getter
private String childServiceId;