This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git
The following commit(s) were added to refs/heads/master by this push:
new 9b046c7 HOP-3219 Replace the icon of then WebService metadata
new c1c0318 Merge pull request #1019 from nadment/HOP-3219
9b046c7 is described below
commit 9b046c715b3c0ab2bb027b91ca0683058b95dbf8
Author: Nicolas Adment <[email protected]>
AuthorDate: Wed Aug 25 14:02:51 2021 +0200
HOP-3219 Replace the icon of then WebService metadata
---
.../org/apache/hop/www/service/WebService.java | 2 +-
.../hop/ui/www/service/WebServiceGuiPlugin.java | 2 +-
ui/src/main/resources/ui/images/webservice.svg | 44 ++++++++++++++++++++++
3 files changed, 46 insertions(+), 2 deletions(-)
diff --git a/engine/src/main/java/org/apache/hop/www/service/WebService.java
b/engine/src/main/java/org/apache/hop/www/service/WebService.java
index 5db0ba4..1945b10 100644
--- a/engine/src/main/java/org/apache/hop/www/service/WebService.java
+++ b/engine/src/main/java/org/apache/hop/www/service/WebService.java
@@ -27,7 +27,7 @@ import org.apache.hop.metadata.api.IHopMetadata;
key = "web-service",
name = "Web Service",
description = "Allows you to run a pipeline to generate output for a
servlet on Hop Server",
- image = "ui/images/server.svg",
+ image = "ui/images/webservice.svg",
documentationUrl =
"https://hop.apache.org/manual/latest/metadata-types/web-service.html")
public class WebService extends HopMetadataBase implements IHopMetadata {
diff --git
a/ui/src/main/java/org/apache/hop/ui/www/service/WebServiceGuiPlugin.java
b/ui/src/main/java/org/apache/hop/ui/www/service/WebServiceGuiPlugin.java
index cabf583..4839e69 100644
--- a/ui/src/main/java/org/apache/hop/ui/www/service/WebServiceGuiPlugin.java
+++ b/ui/src/main/java/org/apache/hop/ui/www/service/WebServiceGuiPlugin.java
@@ -49,7 +49,7 @@ public class WebServiceGuiPlugin {
type = GuiActionType.Info,
name = "Add web service",
tooltip = "Use the output of this transform as a web service with Hop
Server",
- image = "ui/images/server.svg",
+ image = "ui/images/webservice.svg",
category = "Data routing",
categoryOrder = "2")
public void addWebServiceForTransform(HopGuiPipelineTransformContext
context) {
diff --git a/ui/src/main/resources/ui/images/webservice.svg
b/ui/src/main/resources/ui/images/webservice.svg
new file mode 100644
index 0000000..818ad76
--- /dev/null
+++ b/ui/src/main/resources/ui/images/webservice.svg
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="42px" height="42px" viewBox="0 0 42 42" enable-background="new
0 0 42 42" xml:space="preserve">
+<path fill="#C9E8FB"
d="M17.008,11.31c1.713,0.377,3.472,0.589,5.255,0.626V5.33c-0.589,0.02-1.169,0.072-1.74,0.152
+ C19.088,7.249,17.91,9.208,17.008,11.31z"/>
+<path fill="#C9E8FB"
d="M18.821,5.815c-2.655,0.667-5.052,1.976-7.022,3.759c1.318,0.603,2.688,1.099,4.101,1.475
+ C16.679,9.193,17.644,7.432,18.821,5.815z"/>
+<path fill="#C9E8FB"
d="M15.458,12.089c-1.562-0.425-3.081-0.981-4.532-1.673c-2.699,2.828-4.395,6.61-4.537,10.785h7.377
+ C13.831,18.03,14.397,14.949,15.458,12.089z"/>
+<path fill="#C9E8FB"
d="M11.752,33.91c1.955,1.785,4.336,3.102,6.976,3.781c-1.163-1.604-2.116-3.359-2.881-5.217
+ C14.431,32.844,13.06,33.32,11.752,33.91z"/>
+<path fill="#C9E8FB"
d="M13.764,22.326H6.389c0.142,4.157,1.824,7.924,4.503,10.748c1.441-0.679,2.955-1.23,4.524-1.647
+ C14.38,28.58,13.825,25.505,13.764,22.326z"/>
+<path fill="#C9E8FB"
d="M20.429,38.032c0.603,0.091,1.213,0.146,1.834,0.167v-6.601c-1.805,0.033-3.586,0.238-5.313,0.61
+ C17.842,34.323,19.006,36.281,20.429,38.032z"/>
+<path fill="#C9E8FB"
d="M14.891,21.202h7.372V13.06c-1.935-0.038-3.845-0.275-5.699-0.699C15.518,15.131,14.954,18.12,14.891,21.202
+ z"/>
+<path fill="#C9E8FB"
d="M16.517,31.152c1.866-0.416,3.794-0.643,5.746-0.675v-8.151h-7.375C14.948,25.414,15.5,28.396,16.517,31.152
+ z"/>
+<circle fill="#C9E8FB" cx="35.01" cy="12.567" r="1.572"/>
+<path fill="#0E3A5A"
d="M33.627,21.823c0-1.488-1.208-2.698-2.694-2.698c-1.272,0-2.332,0.889-2.617,2.077h-4.932v-8.124h8.982
+
c0.241,1.243,1.333,2.186,2.644,2.186c1.488,0,2.694-1.211,2.694-2.698c0-1.486-1.206-2.695-2.694-2.695
+
c-1.274,0-2.339,0.893-2.618,2.083h-9.008V5.302h6.603c0.436,0.901,1.353,1.53,2.418,1.53c1.486,0,2.694-1.21,2.694-2.699
+
c0-1.486-1.208-2.695-2.694-2.695c-1.046,0-1.942,0.605-2.392,1.479h-7.189c-10.394,0-18.848,8.454-18.848,18.847
+
c0,9.966,7.778,18.128,17.58,18.785h1.835l-0.006-18.224h4.902c0.235,1.246,1.33,2.193,2.644,2.193
+ C32.419,24.519,33.627,23.312,33.627,21.823z
M35.01,10.994c0.869,0,1.573,0.704,1.573,1.571s-0.704,1.573-1.573,1.573
+ c-0.867,0-1.572-0.706-1.572-1.573S34.143,10.994,35.01,10.994z
M32.404,2.563c0.867,0,1.57,0.705,1.57,1.57
+
c0,0.869-0.703,1.574-1.57,1.574s-1.573-0.705-1.573-1.574C30.832,3.269,31.538,2.563,32.404,2.563z
M18.821,5.815
+
c-1.178,1.617-2.142,3.378-2.921,5.233c-1.413-0.376-2.782-0.871-4.101-1.476C13.77,7.791,16.166,6.482,18.821,5.815z
+
M10.928,10.417c1.449,0.692,2.968,1.247,4.532,1.673c-1.062,2.861-1.628,5.94-1.691,9.112H6.391
+ C6.531,17.026,8.229,13.245,10.928,10.417z
M6.389,22.326h7.375c0.06,3.179,0.616,6.254,1.65,9.101
+
c-1.567,0.417-3.083,0.969-4.523,1.647C8.215,30.25,6.531,26.483,6.389,22.326z
M11.752,33.91c1.308-0.59,2.678-1.068,4.095-1.436
+
c0.768,1.857,1.719,3.615,2.881,5.217C16.088,37.012,13.708,35.696,11.752,33.91z
M22.263,38.2
+
c-0.621-0.021-1.231-0.077-1.834-0.167c-1.423-1.752-2.588-3.709-3.479-5.822c1.726-0.37,3.508-0.576,5.313-0.61V38.2z
+
M22.263,30.475c-1.953,0.035-3.88,0.262-5.746,0.678c-1.016-2.756-1.568-5.738-1.629-8.828h7.375V30.475z
M22.263,21.202H14.89
+
c0.064-3.082,0.627-6.07,1.671-8.841c1.854,0.424,3.765,0.662,5.699,0.699v8.142H22.263z
M22.263,11.936
+
c-1.783-0.037-3.543-0.249-5.255-0.626c0.902-2.103,2.081-4.062,3.515-5.828c0.571-0.08,1.151-0.132,1.74-0.152V11.936z
+
M29.358,21.823c0-0.867,0.705-1.573,1.574-1.573c0.866,0,1.573,0.706,1.573,1.573s-0.707,1.571-1.573,1.571
+ C30.063,23.395,29.358,22.69,29.358,21.823z"/>
+<path fill="#C9E8FB"
d="M32.404,2.563c0.87,0,1.57,0.704,1.57,1.572s-0.7,1.572-1.57,1.572c-0.868,0-1.572-0.704-1.572-1.572
+ S31.536,2.563,32.404,2.563z"/>
+<circle fill="#C9E8FB" cx="30.933" cy="21.824" r="1.574"/>
+</svg>