summaryrefslogtreecommitdiff
path: root/qpid/java/bdbstore/src/main/java/resources/virtualhostnode/bdb_ha/edit.html
blob: f163390fa269ed4ba8169ce38a677f14eb28c282 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one or more
  ~ contributor license agreements.  See the NOTICE file distributed with
  ~ this work for additional information regarding copyright ownership.
  ~ The ASF licenses this file to You under the Apache License, Version 2.0
  ~ (the "License"); you may not use this file except in compliance with
  ~ the License.  You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<div>
    <div class="clear">
        <div class="formLabel-labelCell tableContainer-labelCell">Replication Group*:</div>
        <div class="formLabel-controlCell tableContainer-valueCell">
            <input type="text" id="editVirtualHostNode.groupName"
                   data-dojo-type="dijit/form/ValidationTextBox"
                   data-dojo-props="
                                    name: 'groupName',
                                    placeHolder: 'Group Name',
                                    required: true,
                                    disabled: true,
                                    title: 'Name of the group'" />
        </div>
    </div>
    <div class="clear">
        <div class="formLabel-labelCell tableContainer-labelCell">Address*:</div>
        <div class="formLabel-controlCell tableContainer-valueCell">
            <input type="text" id="editVirtualHostNode.address"
                   data-dojo-type="dijit/form/ValidationTextBox"
                   data-dojo-props="
                                    name: 'address',
                                    placeHolder: 'host:port',
                                    required: true,
                                    disabled: true,
                                    title: 'Node address of the group member'" />
        </div>
    </div>
    <div class="clear">
        <div class="formLabel-labelCell tableContainer-labelCell">Configuration store path:</div>
        <div class="formLabel-controlCell tableContainer-valueCell">
            <input type="text" id="editVirtualHostNode.storePath"
                   data-dojo-type="dijit/form/ValidationTextBox"
                   data-dojo-props="
                                  name: 'storePath',
                                  title: 'File system location for the store',
                                  promptMessage: 'File system location for the store'" />

        </div>
    </div>
    <div class="clear">
        <div class="formLabel-labelCell tableContainer-labelCell">Allow this node to operate solo: </div>
        <div class="formLabel-controlCell tableContainer-valueCell">
            <input type="checkbox" id="editVirtualHostNode.designatedPrimary" checked="checked"
                   data-dojo-type="dijit/form/CheckBox"
                   data-dojo-props="
                                    name: 'designatedPrimary',
                                    required: false,
                                    title: 'Designate node as primary allowing it to operate solo in a group of two.',
                                    promptMessage: 'Designate node as primary allowing it to operate solo operate solo in a group of two'" />
        </div>
    </div>
    <div class="clear">
        <div class="formLabel-labelCell tableContainer-labelCell">Election priority of this node: </div>
        <div class="formLabel-controlCell tableContainer-valueCell">
            <div data-dojo-type="dojo/store/Memory" data-dojo-id="nodePriorityStore"
                 data-dojo-props="data: [
                                                      {id: '0', name: 'Never'},
                                                      {id: '1', name: 'Default', selected: '1'},
                                                      {id: '2', name: 'Normal'},
                                                      {id: '3', name: 'High'}
                                                   ]"></div>
            <input id="editVirtualHostNode.priority" data-dojo-type="dijit/form/FilteringSelect" value="1"
                   data-dojo-props="
                                name: 'priority',
                                required: false,
                                store: nodePriorityStore,
                                title: 'Set the election priority associated with this node',
                                promptMessage: 'Election priority associated with this node.<br/>Elections will choose the node with the most recent transactions.<br/>If there is a tie, priority is used as a tie-breaker.',
                                searchAttr: 'name'" />
        </div>
    </div>
    <div class="clear">
        <div class="formLabel-labelCell tableContainer-labelCell">Required minimum number of nodes: </div>
        <div class="formLabel-controlCell tableContainer-valueCell">
            <div data-dojo-type="dojo/store/Memory" data-dojo-id="nodeQuorumOverrideStore"
                 data-dojo-props="data: [{id: '0', name: 'Majority', selected: '1'}]"></div>
            <input type="text" id="editVirtualHostNode.quorumOverride"
                   data-dojo-type="dijit/form/FilteringSelect" value="0"
                   data-dojo-props="
                                name: 'quorumOverride',
                                required: false,
                                title: 'Select minimum required number of nodes or choose Majority',
                                promptMessage: 'Modifies the minimum number of nodes required to be present to elect a master or commit transactions.<br/>Majority signifies that a natural majority of nodes must be present.',
                                store: nodeQuorumOverrideStore,
                                searchAttr: 'name'" />
        </div>
    </div>

    <div class="clear"></div>
</div>