File tree 2 files changed +19
-8
lines changed
src/main/java/io/cdap/plugin/servicenow/connector 2 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 29
29
30
30
import java .util .Map ;
31
31
32
+ import javax .annotation .Nullable ;
33
+
32
34
33
35
/**
34
36
* PluginConfig for ServiceNow Connector
35
37
*/
36
38
public class ServiceNowConnectorConfig extends PluginConfig {
37
39
@ Name (ServiceNowConstants .PROPERTY_CLIENT_ID )
38
40
@ Macro
41
+ @ Nullable
39
42
@ Description (" The Client ID for ServiceNow Instance." )
40
43
private final String clientId ;
41
44
42
45
@ Name (ServiceNowConstants .PROPERTY_CLIENT_SECRET )
43
46
@ Macro
47
+ @ Nullable
44
48
@ Description ("The Client Secret for ServiceNow Instance." )
45
49
private final String clientSecret ;
46
50
47
51
@ Name (ServiceNowConstants .PROPERTY_API_ENDPOINT )
48
52
@ Macro
53
+ @ Nullable
49
54
@ Description ("The REST API Endpoint for ServiceNow Instance. For example, https://instance.service-now.com" )
50
55
private final String restApiEndpoint ;
51
56
52
57
@ Name (ServiceNowConstants .PROPERTY_USER )
53
58
@ Macro
59
+ @ Nullable
54
60
@ Description ("The user name for ServiceNow Instance." )
55
61
private final String user ;
56
62
57
63
@ Name (ServiceNowConstants .PROPERTY_PASSWORD )
58
64
@ Macro
65
+ @ Nullable
59
66
@ Description ("The password for ServiceNow Instance." )
60
67
private final String password ;
61
68
Original file line number Diff line number Diff line change 128
128
{
129
129
"label" : " Table Mode" ,
130
130
"properties" : [
131
+ {
132
+ "widget-type" : " textbox" ,
133
+ "label" : " Table Name" ,
134
+ "name" : " tableName" ,
135
+ "widget-attributes" : {
136
+ "placeholder" : " ServiceNow table name from which data to be fetched"
137
+ }
138
+ },
131
139
{
132
140
"label" : " browse" ,
133
141
"widget-type" : " connection-browser" ,
136
144
"connectionType" : " SERVICENOW" ,
137
145
"label" : " Browse"
138
146
}
139
- },
140
- {
141
- "widget-type" : " textbox" ,
142
- "label" : " Table Name" ,
143
- "name" : " tableName" ,
144
- "widget-attributes" : {
145
- "placeholder" : " ServiceNow table name from which data to be fetched"
146
- }
147
147
}
148
148
]
149
149
},
215
215
{
216
216
"type" : " property" ,
217
217
"name" : " tableName"
218
+ } ,
219
+ {
220
+ "type" : " property" ,
221
+ "label" : " browse"
218
222
}
219
223
]
220
224
},
You can’t perform that action at this time.
0 commit comments