|
|
|
|
|
Datasrc
Action : wls.datasrc (Category : wls, Name : datasrc, By : kikonf)
Complete Name : wls.datasrc.by.kikonf Version : 4.0 License : Modified BSD License Purpose of the wls category : Easy to customize. This category use in background the wlst command in jython mode, to drive WebLogic Server ® configuration. You can use it to manage the whole WebLogic ® architecture. Purpose of this datasrc plugin : Creates a DataSource The following shows the Descriptor File for the Action : wls.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\
}'
bal = ''
sub_type = '{\
*value:configuration,\
*eq:configuration,\
*required:True\
}'
softwares = "{\
'*type':'dict',\
'*dtype':\
{\
'wls':\
{\
'*ge':'10',\
'*required':True\
}\
}\
}"
name='{*required:True}'
desc=''
jndi_name='{*required:True}'
dbtype='{*checkIn:(db2,oracle,sqlserver),*required:True}'
xa='{*value:false,*checkIn:(false,true),*required:True}'
statement_cache_size='{*value:10,*type:int,*required:True}'
database='{*required:True}'
host='{*required:True}'
port='{*required:True}'
user='{*required:True}'
password='{*required:True}'
prefix='{*type:str,*help:%lang/action.wls.en/prefix.help,*lhelp:%lang/action.wls.en/prefix.lhelp}'
__wk__='{*help:%lang/action.wls.en/datasrc.help}'
>
<!-- Note: Host and Port are configured as properties for db2. -->
<scope
server = ''
cluster = ''
__wk__='{\
*eq:1,\
*help:%lang/action.wls.en/scope.help,\
*lhelp:%lang/action.wls.en/scope.lhelp,\
}'
/>
<connection_pool __wk__='{*le:1}'>
<initial_capacity value='{*value:1,*type:int,*required:True}' __wk__='{*le:1}'/>
<max_capacity value='{*value:15,*type:int,*required:True}' __wk__='{*le:1}'/>
<capacity_increment value='{*value:1,*type:int,*required:True}' __wk__='{*le:1}'/>
</connection_pool>
<!-- DB2(TM) sample: -->
<!-- <properties> -->
<!-- <name='driverType' value='PUT_YOUR_VALUE_HERE'/> -->
<!-- <name='currentSchema' value='MYDB2SCHEMA'/> -->
<properties __wk__='{*le:1}'>
<property name='{*required:True}' value='{*required:True}'/>
</properties>
</datasrc>
<!-- Trademarks: -->
<!-- ___________ -->
<!-- -->
<!-- Db2 is a registred trademark of International Business Machines Corporation. -->
<!-- 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. -->
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 wls.datasrc Descriptor File : /datasrc>   Creates a DataSource
/datasrc/scope>   A scope refers to a Name Space where to create the resource Required:True
/datasrc/connection_pool>   /datasrc/connection_pool/initial_capacity>  
/datasrc/connection_pool/max_capacity>  
/datasrc/connection_pool/capacity_increment>  
/datasrc/properties>   /datasrc/properties/property>  
Trademarks :
|