|
|
Datasrc
Action : was.datasrc (Category : was, Name : datasrc, By : kikonf)
Complete Name : was.datasrc.by.kikonf
Version : 5.0 License : Modified BSD License
Purpose of the was category :
Easy to customize. This category use in background the wsadmin command in jython mode (through AdminConfig, AdminControl
and AdminTask), to drive WebSphere Application Server ® configuration.
You can use it to manage the whole WebSphere ® architecture.
Purpose of this datasrc plugin : Creates a new DataSource
The following shows the Descriptor File for the Action : was.datasrc
Toggle lines
<!-- Copyright (c) 2008, Patrick Germain Placidoux -->
<!-- All rights reserved. -->
<!-- -->
<!-- This file is part of Kikonf Public Software. -->
<!-- -->
<!-- Kikonf Public Software is released under the modified BSD License, -->
<!-- which should accompany it or any part of it in the file "COPYING". -->
<!-- If you do not have this file you can access the license -->
<!-- through the WWW at http://www.kikonf.org/license/bsd/license.txt. -->
<!-- -->
<!-- Home page: http://www.kikonf.org -->
<!-- Contact: kikonf@gmx.com -->
<!-- ====================================================================== -->
<!-- -->
<!-- -->
<!-- -->
<!-- ====================================================================== -->
<!-- UPDATE | DATE | CODE | REASON -->
<!-- ====================================================================== -->
<!-- | | | -->
<!-- -->
<!-- -->
<!-- ====================================================================== -->
<datasrc
type = '{\
*eq:action,\
*required:True,\
*display:False\
}'
bal = '{*display:False}'
sub_type = '{\
*value:configuration,\
*eq:configuration,\
*required:True,\
*deny:True,\
*display:False\
}'
softwares = "{
'*type':'dict',
'*dtype':
{
'was':
{
'*ge':'6.1',
'*le':'7.9',
'*required':True
}
},
'*deny':True,
'*display':False
}"
name='{*required:True}'
jndi_name='{*required:True}'
provider='{*required:True,*lhelp:%lang/action.was.en/datasrc.provider.lhelp}'
dbtype='{*checkIn:(db2,oracle,msql),*required:True}'
statement_cache_size='{*value:10,*type:int,*required:True}'
prefix='{*help:%lang/action.was.en/prefix.help,*lhelp:%lang/action.was.en/prefix.lhelp}'
desc=''
__wk__='{*help:%lang/action.was.en/datasrc.help}'
>
<scope
cell = '{*value:false,*checkIn:(false,true),*required:True}'
node = ''
server = ''
cluster = ''
__wk__='{*eq:1,\
*help:%lang/action.was.en/scope.help,\
*lhelp:%lang/action.was.en/scope.lhelp\
}'
/>
<jaas name='{*required:True}' user='' password='' create='{*value:true,*checkIn:(false,true),*required:True}' desc='' __wk__='{*eq:1,*help:%lang/action.was.en/datasrc.jaas.help}'/>
<connection_pool __wk__ = '{*le:1}'>
<connection_timeout value='{*value:180,*type:int,*required:True}' __wk__ = '{*le:1}'/>
<max_connections value='{*value:10,*type:int,*required:True}' __wk__ = '{*le:1}'/>
<min_connections value='{*value:1,*type:int,*required:True}' __wk__ = '{*le:1}'/>
<reap_time value='{*value:180,*type:int,*required:True}' __wk__ = '{*le:1}'/>
<unused_timeout value='{*value:1800,*type:int,*required:True}' __wk__ = '{*le:1}'/>
<aged_timeout value='{*value:0,*type:int,*required:True}' __wk__ = '{*le:1}'/>
<purge_policy value='{*value:FailingConnectionOnly,*checkIn:(FailingConnectionOnly,EntirePool),*required:True}' __wk__ = '{*le:1}'/>
</connection_pool>
<!-- DB2(TM) sample: -->
<!-- <properties> -->
<!-- <property name='databaseName' value='MYDB2BASE'/> -->
<!-- <property name='serverName' value='myserver.com'/> -->
<!-- <property name='portNumber' value='5454'/> -->
<!-- <property name='driverType' value='PUT_YOUR_VALUE_HERE'/> -->
<!-- <property name='currentSchema' value='MYDB2SCHEMA'/> -->
<!-- -->
<!-- Oracle(TM) sample:-->
<!-- <property name='URL' value='PUT_YOUR_VALUE_HERE'/> -->
<!-- -->
<!-- MysSql(TM) sample:-->
<!-- <properties> -->
<!-- <property name='databaseName' value='MYSQLBASE'/> -->
<!-- <property name='serverName' value='myserver.com'/> -->
<!-- <property name='port' value='1234'/> -->
<!-- </properties> -->
<properties __wk__='{*le:1,}'>
<property name='{*required:True}' value='{*required:True}' __wk__='{*lhelp:%lang/action.was.en/datasrc.property.lhelp}'/>
</properties>
</datasrc>
<!-- Trademarks: -->
<!-- ___________ -->
<!-- -->
<!-- Db2 is a registred trademark of International Business Machines Corporation. -->
<!-- MySql, Oracle and Java are registred trademarks of Oracle and/or its affiliates. -->
<!-- MS SQL Server is a registred trademark of Microsoft Corporation. -->
<!-- -->
<!-- Other names may be trademarks of their respective owners. -->
<!-- Copyright (c) 2008, Patrick Germain Placidoux -->
<!-- All rights reserved. -->
<!-- -->
<!-- This file is part of Kikonf Public Software. -->
<!-- -->
<!-- Kikonf Public Software is released under the modified BSD License, -->
<!-- which should accompany it or any part of it in the file "COPYING". -->
<!-- If you do not have this file you can access the license -->
<!-- through the WWW at http://www.kikonf.org/license/bsd/license.txt. -->
<!-- -->
<!-- Home page: http://www.kikonf.org -->
<!-- Contact: kikonf@gmx.com -->
<!-- ====================================================================== -->
<!-- -->
<!-- -->
<!-- -->
<!-- ====================================================================== -->
<!-- UPDATE | DATE | CODE | REASON -->
<!-- ====================================================================== -->
<!-- | | | -->
<!-- -->
<!-- -->
<!-- ====================================================================== -->
<datasrc
type = '{\
*eq:action,\
*required:True,\
*display:False\
}'
bal = '{*display:False}'
sub_type = '{\
*value:configuration,\
*eq:configuration,\
*required:True,\
*deny:True,\
*display:False\
}'
softwares = "{
'*type':'dict',
'*dtype':
{
'was':
{
'*ge':'6.1',
'*le':'7.9',
'*required':True
}
},
'*deny':True,
'*display':False
}"
name='{*required:True}'
jndi_name='{*required:True}'
provider='{*required:True,*lhelp:%lang/action.was.en/datasrc.provider.lhelp}'
dbtype='{*checkIn:(db2,oracle,msql),*required:True}'
statement_cache_size='{*value:10,*type:int,*required:True}'
prefix='{*help:%lang/action.was.en/prefix.help,*lhelp:%lang/action.was.en/prefix.lhelp}'
desc=''
__wk__='{*help:%lang/action.was.en/datasrc.help}'
>
<scope
cell = '{*value:false,*checkIn:(false,true),*required:True}'
node = ''
server = ''
cluster = ''
__wk__='{*eq:1,\
*help:%lang/action.was.en/scope.help,\
*lhelp:%lang/action.was.en/scope.lhelp\
}'
/>
<jaas name='{*required:True}' user='' password='' create='{*value:true,*checkIn:(false,true),*required:True}' desc='' __wk__='{*eq:1,*help:%lang/action.was.en/datasrc.jaas.help}'/>
<connection_pool __wk__ = '{*le:1}'>
<connection_timeout value='{*value:180,*type:int,*required:True}' __wk__ = '{*le:1}'/>
<max_connections value='{*value:10,*type:int,*required:True}' __wk__ = '{*le:1}'/>
<min_connections value='{*value:1,*type:int,*required:True}' __wk__ = '{*le:1}'/>
<reap_time value='{*value:180,*type:int,*required:True}' __wk__ = '{*le:1}'/>
<unused_timeout value='{*value:1800,*type:int,*required:True}' __wk__ = '{*le:1}'/>
<aged_timeout value='{*value:0,*type:int,*required:True}' __wk__ = '{*le:1}'/>
<purge_policy value='{*value:FailingConnectionOnly,*checkIn:(FailingConnectionOnly,EntirePool),*required:True}' __wk__ = '{*le:1}'/>
</connection_pool>
<!-- DB2(TM) sample: -->
<!-- <properties> -->
<!-- <property name='databaseName' value='MYDB2BASE'/> -->
<!-- <property name='serverName' value='myserver.com'/> -->
<!-- <property name='portNumber' value='5454'/> -->
<!-- <property name='driverType' value='PUT_YOUR_VALUE_HERE'/> -->
<!-- <property name='currentSchema' value='MYDB2SCHEMA'/> -->
<!-- -->
<!-- Oracle(TM) sample:-->
<!-- <property name='URL' value='PUT_YOUR_VALUE_HERE'/> -->
<!-- -->
<!-- MysSql(TM) sample:-->
<!-- <properties> -->
<!-- <property name='databaseName' value='MYSQLBASE'/> -->
<!-- <property name='serverName' value='myserver.com'/> -->
<!-- <property name='port' value='1234'/> -->
<!-- </properties> -->
<properties __wk__='{*le:1,}'>
<property name='{*required:True}' value='{*required:True}' __wk__='{*lhelp:%lang/action.was.en/datasrc.property.lhelp}'/>
</properties>
</datasrc>
<!-- Trademarks: -->
<!-- ___________ -->
<!-- -->
<!-- Db2 is a registred trademark of International Business Machines Corporation. -->
<!-- MySql, Oracle and Java are registred trademarks of Oracle and/or its affiliates. -->
<!-- MS SQL Server is a registred trademark of Microsoft Corporation. -->
<!-- -->
<!-- Other names may be trademarks of their respective owners. -->
(Source: <KIKONF_INSTALLATION_DIR>/plugins/actions/was/datasrc/by/kikonf/ACT_INF/action.xml)
A descriptor file is a WYSISWYG xsd like schema, wich describes what are the supported
Tags, Attributes and Attributes values for one Action.
The special Attributes : type, sub_type, bal, softwares, __wk__ are reserved by Kikonf.
The table below summarizes the informations provided by the was.datasrc Descriptor File :
/datasrc>   Creates a new DataSource
/datasrc/scope>   A scope refers to a Name Space where to create the resource
Required:True
Name
|
Default
|
Type
|
Required
|
Denied
|
Help
|
cell
|
false
|
(false, true)
|
True
|
 
|
 
|
node
|
 
|
str
|
 
|
 
|
 
|
server
|
 
|
str
|
 
|
 
|
 
|
cluster
|
 
|
str
|
 
|
 
|
 
|
/datasrc/jaas>   Specify an allowed credential to the target Database.
Required:True
Name
|
Default
|
Type
|
Required
|
Denied
|
Help
|
name
|
 
|
 
|
True
|
 
|
 
|
user
|
 
|
str
|
 
|
 
|
 
|
password
|
 
|
str
|
 
|
 
|
 
|
create
|
true
|
(false, true)
|
True
|
 
|
 
|
desc
|
 
|
str
|
 
|
 
|
 
|
/datasrc/connection_pool>  
/datasrc/connection_pool/connection_timeout>  
Name
|
Default
|
Type
|
Required
|
Denied
|
Help
|
value
|
180
|
int
|
True
|
 
|
 
|
/datasrc/connection_pool/max_connections>  
Name
|
Default
|
Type
|
Required
|
Denied
|
Help
|
value
|
10
|
int
|
True
|
 
|
 
|
/datasrc/connection_pool/min_connections>  
Name
|
Default
|
Type
|
Required
|
Denied
|
Help
|
value
|
1
|
int
|
True
|
 
|
 
|
/datasrc/connection_pool/reap_time>  
Name
|
Default
|
Type
|
Required
|
Denied
|
Help
|
value
|
180
|
int
|
True
|
 
|
 
|
/datasrc/connection_pool/unused_timeout>  
Name
|
Default
|
Type
|
Required
|
Denied
|
Help
|
value
|
1800
|
int
|
True
|
 
|
 
|
/datasrc/connection_pool/aged_timeout>  
Name
|
Default
|
Type
|
Required
|
Denied
|
Help
|
value
|
0
|
int
|
True
|
 
|
 
|
/datasrc/connection_pool/purge_policy>  
Name
|
Default
|
Type
|
Required
|
Denied
|
Help
|
value
|
FailingConnectionOnly
|
(FailingConnectionOnly, EntirePool)
|
True
|
 
|
 
|
/datasrc/properties>  
/datasrc/properties/property>  
Name
|
Default
|
Type
|
Required
|
Denied
|
Help
|
name
|
 
|
 
|
True
|
 
|
 
|
value
|
 
|
 
|
True
|
 
|
 
|
Trademarks :
- "Python" is a registered trademark of the Python Software Foundation.
- "IBM", "WebSphere MQ", "WebSphere", "WebSphere Aplication Server", "WAS", "Db2" and "AIX" are registred trademarks of International Business Machines Corporation.
- "oracle", "MySql", "Java" and "JVM" are a registred trademarks of Oracle and/or its affiliates.
- "Linux" is a trademark registred to Linus Torvalds
- "MS SQL Server" is a registred trademark of Microsoft Corporation.
- "IBM", "WebSphere", "WebSphere Aplication Server", "WAS" are registred trademarks of International Business Machines Corporation.
- "Java" and "JVM" are a registred trademarks of Oracle and/or its affiliates.
- Other names may be trademarks of their respective owners.
|