http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/mime.types ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/mime.types b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/mime.types deleted file mode 100644 index 80a13e9..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/mime.types +++ /dev/null @@ -1,728 +0,0 @@ -# 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. - -# Media type for wsdl files. This is not defined in the original mime.types file. -chemical/x-alchemy alc -application/andrew-inset ez -application/wsdl+xml wsdl -application/activemessage -application/applefile -application/atomicmail -application/batch-SMTP -application/beep+xml -application/cals-1840 -application/commonground -application/cu-seeme cu -application/cybercash -application/dca-rft -application/dec-dx -application/docbook+xml -application/dsptype tsp -application/dvcs -application/edi-consent -application/edi-x12 -application/edifact -application/eshop -application/font-tdpfr -application/futuresplash spl -application/ghostview -application/hta hta -application/http -application/hyperstudio -application/iges -application/index -application/index.cmd -application/index.obj -application/index.response -application/index.vnd -application/iotp -application/ipp -application/isup -application/java-archive jar -application/java-serialized-object ser -application/java-vm class -application/mac-binhex40 hqx -application/mac-compactpro cpt -application/macwriteii -application/marc -application/mathematica nb -application/mathematica-old -application/msaccess mdb -application/msword doc dot -application/news-message-id -application/news-transmission -application/ocsp-request -application/ocsp-response -application/octet-stream bin -application/oda oda -application/ogg ogg -application/parityfec -application/pdf pdf -application/pgp-encrypted -application/pgp-keys key -application/pgp-signature pgp -application/pics-rules prf -application/pkcs10 -application/pkcs7-mime -application/pkcs7-signature -application/pkix-cert -application/pkix-crl -application/pkixcmp -application/postscript ps ai eps -application/prs.alvestrand.titrax-sheet -application/prs.cww -application/prs.nprend -application/qsig -application/rar rar -application/rdf+xml rdf -application/remote-printing -application/riscos -application/rss+xml rss -application/rtf -application/sdp -application/set-payment -application/set-payment-initiation -application/set-registration -application/set-registration-initiation -application/sgml -application/sgml-open-catalog -application/sieve -application/slate -application/smil smi smil -application/timestamp-query -application/timestamp-reply -application/vemmi -application/whoispp-query -application/whoispp-response -application/wita -application/wordperfect wpd -application/wordperfect5.1 wp5 -application/x400-bp -application/xhtml+xml xhtml xht -application/xml xml xsl xslt jrxml -application/xml-dtd -application/xml-external-parsed-entity -application/zip zip -application/vnd.3M.Post-it-Notes -application/vnd.accpac.simply.aso -application/vnd.accpac.simply.imp -application/vnd.acucobol -application/vnd.aether.imp -application/vnd.anser-web-certificate-issue-initiation -application/vnd.anser-web-funds-transfer-initiation -application/vnd.audiograph -application/vnd.bmi -application/vnd.businessobjects -application/vnd.canon-cpdl -application/vnd.canon-lips -application/vnd.cinderella cdy -application/vnd.claymore -application/vnd.commerce-battelle -application/vnd.commonspace -application/vnd.comsocaller -application/vnd.contact.cmsg -application/vnd.cosmocaller -application/vnd.ctc-posml -application/vnd.cups-postscript -application/vnd.cups-raster -application/vnd.cups-raw -application/vnd.cybank -application/vnd.dna -application/vnd.dpgraph -application/vnd.dxr -application/vnd.ecdis-update -application/vnd.ecowin.chart -application/vnd.ecowin.filerequest -application/vnd.ecowin.fileupdate -application/vnd.ecowin.series -application/vnd.ecowin.seriesrequest -application/vnd.ecowin.seriesupdate -application/vnd.enliven -application/vnd.epson.esf -application/vnd.epson.msf -application/vnd.epson.quickanime -application/vnd.epson.salt -application/vnd.epson.ssf -application/vnd.ericsson.quickcall -application/vnd.eudora.data -application/vnd.fdf -application/vnd.ffsns -application/vnd.flographit -application/vnd.framemaker -application/vnd.fsc.weblaunch -application/vnd.fujitsu.oasys -application/vnd.fujitsu.oasys2 -application/vnd.fujitsu.oasys3 -application/vnd.fujitsu.oasysgp -application/vnd.fujitsu.oasysprs -application/vnd.fujixerox.ddd -application/vnd.fujixerox.docuworks -application/vnd.fujixerox.docuworks.binder -application/vnd.fut-misnet -application/vnd.grafeq -application/vnd.groove-account -application/vnd.groove-identity-message -application/vnd.groove-injector -application/vnd.groove-tool-message -application/vnd.groove-tool-template -application/vnd.groove-vcard -application/vnd.hhe.lesson-player -application/vnd.hp-HPGL -application/vnd.hp-PCL -application/vnd.hp-PCLXL -application/vnd.hp-hpid -application/vnd.hp-hps -application/vnd.httphone -application/vnd.hzn-3d-crossword -application/vnd.ibm.MiniPay -application/vnd.ibm.afplinedata -application/vnd.ibm.modcap -application/vnd.informix-visionary -application/vnd.intercon.formnet -application/vnd.intertrust.digibox -application/vnd.intertrust.nncp -application/vnd.intu.qbo -application/vnd.intu.qfx -application/vnd.irepository.package+xml -application/vnd.is-xpr -application/vnd.japannet-directory-service -application/vnd.japannet-jpnstore-wakeup -application/vnd.japannet-payment-wakeup -application/vnd.japannet-registration -application/vnd.japannet-registration-wakeup -application/vnd.japannet-setstore-wakeup -application/vnd.japannet-verification -application/vnd.japannet-verification-wakeup -application/vnd.koan -application/vnd.lotus-1-2-3 -application/vnd.lotus-approach -application/vnd.lotus-freelance -application/vnd.lotus-notes -application/vnd.lotus-organizer -application/vnd.lotus-screencam -application/vnd.lotus-wordpro -application/vnd.mcd -application/vnd.mediastation.cdkey -application/vnd.meridian-slingshot -application/vnd.mif -application/vnd.minisoft-hp3000-save -application/vnd.mitsubishi.misty-guard.trustweb -application/vnd.mobius.daf -application/vnd.mobius.dis -application/vnd.mobius.msl -application/vnd.mobius.plc -application/vnd.mobius.txf -application/vnd.motorola.flexsuite -application/vnd.motorola.flexsuite.adsi -application/vnd.motorola.flexsuite.fis -application/vnd.motorola.flexsuite.gotap -application/vnd.motorola.flexsuite.kmr -application/vnd.motorola.flexsuite.ttc -application/vnd.motorola.flexsuite.wem -application/vnd.mozilla.xul+xml xul -application/vnd.ms-artgalry -application/vnd.ms-asf -application/vnd.ms-excel xls xlb xlt -application/vnd.ms-lrm -application/vnd.ms-pki.seccat cat -application/vnd.ms-pki.stl stl -application/vnd.ms-powerpoint ppt pps -application/vnd.ms-project -application/vnd.ms-tnef -application/vnd.ms-works -application/vnd.mseq -application/vnd.msign -application/vnd.music-niff -application/vnd.musician -application/vnd.netfpx -application/vnd.noblenet-directory -application/vnd.noblenet-sealer -application/vnd.noblenet-web -application/vnd.novadigm.EDM -application/vnd.novadigm.EDX -application/vnd.novadigm.EXT -application/vnd.oasis.opendocument.chart odc -application/vnd.oasis.opendocument.database odb -application/vnd.oasis.opendocument.formula odf -application/vnd.oasis.opendocument.graphics odg -application/vnd.oasis.opendocument.graphics-template otg -application/vnd.oasis.opendocument.image odi -application/vnd.oasis.opendocument.presentation odp -application/vnd.oasis.opendocument.presentation-template otp -application/vnd.oasis.opendocument.spreadsheet ods -application/vnd.oasis.opendocument.spreadsheet-template ots -application/vnd.oasis.opendocument.text odt -application/vnd.oasis.opendocument.text-master odm -application/vnd.oasis.opendocument.text-template ott -application/vnd.oasis.opendocument.text-web oth -application/vnd.osa.netdeploy -application/vnd.palm -application/vnd.pg.format -application/vnd.pg.osasli -application/vnd.powerbuilder6 -application/vnd.powerbuilder6-s -application/vnd.powerbuilder7 -application/vnd.powerbuilder7-s -application/vnd.powerbuilder75 -application/vnd.powerbuilder75-s -application/vnd.previewsystems.box -application/vnd.publishare-delta-tree -application/vnd.pvi.ptid1 -application/vnd.pwg-xhtml-print+xml -application/vnd.rapid -application/vnd.rim.cod cod -application/vnd.s3sms -application/vnd.seemail -application/vnd.shana.informed.formdata -application/vnd.shana.informed.formtemplate -application/vnd.shana.informed.interchange -application/vnd.shana.informed.package -application/vnd.smaf mmf -application/vnd.sss-cod -application/vnd.sss-dtf -application/vnd.sss-ntf -application/vnd.stardivision.calc sdc -application/vnd.stardivision.draw sda -application/vnd.stardivision.impress sdd sdp -application/vnd.stardivision.math smf -application/vnd.stardivision.writer sdw vor -application/vnd.stardivision.writer-global sgl -application/vnd.street-stream -application/vnd.sun.xml.calc sxc -application/vnd.sun.xml.calc.template stc -application/vnd.sun.xml.draw sxd -application/vnd.sun.xml.draw.template std -application/vnd.sun.xml.impress sxi -application/vnd.sun.xml.impress.template sti -application/vnd.sun.xml.math sxm -application/vnd.sun.xml.writer sxw -application/vnd.sun.xml.writer.global sxg -application/vnd.sun.xml.writer.template stw -application/vnd.svd -application/vnd.swiftview-ics -application/vnd.symbian.install sis -application/vnd.triscape.mxs -application/vnd.trueapp -application/vnd.truedoc -application/vnd.tve-trigger -application/vnd.ufdl -application/vnd.uplanet.alert -application/vnd.uplanet.alert-wbxml -application/vnd.uplanet.bearer-choice -application/vnd.uplanet.bearer-choice-wbxml -application/vnd.uplanet.cacheop -application/vnd.uplanet.cacheop-wbxml -application/vnd.uplanet.channel -application/vnd.uplanet.channel-wbxml -application/vnd.uplanet.list -application/vnd.uplanet.list-wbxml -application/vnd.uplanet.listcmd -application/vnd.uplanet.listcmd-wbxml -application/vnd.uplanet.signal -application/vnd.vcx -application/vnd.vectorworks -application/vnd.vidsoft.vidconference -application/vnd.visio vsd -application/vnd.vividence.scriptfile -application/vnd.wap.sic -application/vnd.wap.slc -application/vnd.wap.wbxml wbxml -application/vnd.wap.wmlc wmlc -application/vnd.wap.wmlscriptc wmlsc -application/vnd.webturbo -application/vnd.wrq-hp3000-labelled -application/vnd.wso2.endpoint -application/vnd.wso2.governance-archive gar -application/vnd.wso2-hyperlink -application/vnd.wt.stf -application/vnd.xara -application/vnd.xfdl -application/vnd.yellowriver-custom-menu -application/x-123 wk -application/x-abiword abw -application/x-apple-diskimage dmg -application/x-bcpio bcpio -application/x-bittorrent torrent -application/x-cdf cdf -application/x-cdlink vcd -application/x-chess-pgn pgn -application/x-core -application/x-cpio cpio -application/x-csh csh -application/x-debian-package deb udeb -application/x-director dcr dir dxr -application/x-dms dms -application/x-doom wad -application/x-dvi dvi -application/x-executable -application/x-flac flac -application/x-font pfa pfb gsf pcf pcf.Z -application/x-freemind mm -application/x-futuresplash spl -application/x-gnumeric gnumeric -application/x-go-sgf sgf -application/x-graphing-calculator gcf -application/x-gtar gtar tgz taz -application/x-hdf hdf -application/x-httpd-php phtml pht php -application/x-httpd-php-source phps -application/x-httpd-php3 php3 -application/x-httpd-php3-preprocessed php3p -application/x-httpd-php4 php4 -application/x-httpd-eruby rhtml -application/x-ica ica -application/x-internet-signup ins isp -application/x-iphone iii -application/x-iso9660-image iso -application/x-java-applet -application/x-java-bean -application/x-java-jnlp-file jnlp -application/x-javascript js -application/x-jmol jmz -application/x-kchart chrt -application/x-kdelnk -application/x-killustrator kil -application/x-koan skp skd skt skm -application/x-kpresenter kpr kpt -application/x-kspread ksp -application/x-kword kwd kwt -application/x-latex latex -application/x-lha lha -application/x-lzh lzh -application/x-lzx lzx -application/x-maker frm maker frame fm fb book fbdoc -application/x-mif mif -application/x-ms-wmd wmd -application/x-ms-wmz wmz -application/x-msdos-program com exe bat dll -application/x-msi msi -application/x-netcdf nc -application/x-ns-proxy-autoconfig pac -application/x-nwc nwc -application/x-object o -application/x-oz-application oza -application/x-pkcs7-certreqresp p7r -application/x-pkcs7-crl crl -application/x-python-code pyc pyo -application/x-quicktimeplayer qtl -application/x-redhat-package-manager rpm -application/x-rx -application/x-sh sh -application/x-shar shar -application/x-shellscript -application/x-shockwave-flash swf swfl -application/x-stuffit sit -application/x-sv4cpio sv4cpio -application/x-sv4crc sv4crc -application/x-tar tar -application/x-tcl tcl -application/x-tex-gf gf -application/x-tex-pk pk -application/x-texinfo texinfo texi -application/x-trash ~ % bak old sik -application/x-troff t tr roff -application/x-troff-man man -application/x-troff-me me -application/x-troff-ms ms -application/x-ustar ustar -application/x-videolan -application/x-wais-source src -application/x-wingz wz -application/x-x509-ca-cert crt -application/x-xcf xcf -application/x-xfig fig -application/x-xpinstall xpi -application/x-xsd+xml xsd - -audio/32kadpcm -audio/basic au snd -audio/g.722.1 -audio/l16 -audio/midi mid midi kar -audio/mp4a-latm -audio/mpa-robust -audio/mpeg mpga mpega mp2 mp3 m4a -audio/mpegurl m3u -audio/parityfec -audio/prs.sid sid -audio/telephone-event -audio/tone -audio/vnd.cisco.nse -audio/vnd.cns.anp1 -audio/vnd.cns.inf1 -audio/vnd.digital-winds -audio/vnd.everad.plj -audio/vnd.lucent.voice -audio/vnd.nortel.vbk -audio/vnd.nuera.ecelp4800 -audio/vnd.nuera.ecelp7470 -audio/vnd.nuera.ecelp9600 -audio/vnd.octel.sbc -audio/vnd.qcelp -audio/vnd.rhetorex.32kadpcm -audio/vnd.vmx.cvsd -audio/x-aiff aif aiff aifc -audio/x-gsm gsm -audio/x-mpegurl m3u -audio/x-ms-wma wma -audio/x-ms-wax wax -audio/x-pn-realaudio-plugin -audio/x-pn-realaudio ra rm ram -audio/x-realaudio ra -audio/x-scpls pls -audio/x-sd2 sd2 -audio/x-wav wav - -chemical/x-alchemy alc -chemical/x-cache cac cache -chemical/x-cache-csf csf -chemical/x-cactvs-binary cbin cascii ctab -chemical/x-cdx cdx -chemical/x-cerius cer -chemical/x-chem3d c3d -chemical/x-chemdraw chm -chemical/x-cif cif -chemical/x-cmdf cmdf -chemical/x-cml cml -chemical/x-compass cpa -chemical/x-crossfire bsd -chemical/x-csml csml csm -chemical/x-ctx ctx -chemical/x-cxf cxf cef -#chemical/x-daylight-smiles smi -chemical/x-embl-dl-nucleotide emb embl -chemical/x-galactic-spc spc -chemical/x-gamess-input inp gam gamin -chemical/x-gaussian-checkpoint fch fchk -chemical/x-gaussian-cube cub -chemical/x-gaussian-input gau gjc gjf -chemical/x-gaussian-log gal -chemical/x-gcg8-sequence gcg -chemical/x-genbank gen -chemical/x-hin hin -chemical/x-isostar istr ist -chemical/x-jcamp-dx jdx dx -chemical/x-kinemage kin -chemical/x-macmolecule mcm -chemical/x-macromodel-input mmd mmod -chemical/x-mdl-molfile mol -chemical/x-mdl-rdfile rd -chemical/x-mdl-rxnfile rxn -chemical/x-mdl-sdfile sd sdf -chemical/x-mdl-tgf tgf -#chemical/x-mif mif -chemical/x-mmcif mcif -chemical/x-mol2 mol2 -chemical/x-molconn-Z b -chemical/x-mopac-graph gpt -chemical/x-mopac-input mop mopcrt mpc dat zmt -chemical/x-mopac-out moo -chemical/x-mopac-vib mvb -chemical/x-ncbi-asn1 asn -chemical/x-ncbi-asn1-ascii prt ent -chemical/x-ncbi-asn1-binary val aso -chemical/x-ncbi-asn1-spec asn -chemical/x-pdb pdb ent -chemical/x-rosdal ros -chemical/x-swissprot sw -chemical/x-vamas-iso14976 vms -chemical/x-vmd vmd -chemical/x-xtel xtel -chemical/x-xyz xyz - -image/cgm -image/g3fax -image/gif gif -image/ief ief -image/jpeg jpeg jpg jpe -image/naplps -image/pcx pcx -image/png png -image/prs.btif -image/prs.pti -image/svg+xml svg svgz -image/tiff tiff tif -image/vnd.cns.inf2 -image/vnd.djvu djvu djv -image/vnd.dwg -image/vnd.dxf -image/vnd.fastbidsheet -image/vnd.fpx -image/vnd.fst -image/vnd.fujixerox.edmics-mmr -image/vnd.fujixerox.edmics-rlc -image/vnd.mix -image/vnd.net-fpx -image/vnd.svf -image/vnd.wap.wbmp wbmp -image/vnd.xiff -image/x-cmu-raster ras -image/x-coreldraw cdr -image/x-coreldrawpattern pat -image/x-coreldrawtemplate cdt -image/x-corelphotopaint cpt -image/x-icon ico -image/x-jg art -image/x-jng jng -image/x-ms-bmp bmp -image/x-photoshop psd -image/x-portable-anymap pnm -image/x-portable-bitmap pbm -image/x-portable-graymap pgm -image/x-portable-pixmap ppm -image/x-rgb rgb -image/x-xbitmap xbm -image/x-xpixmap xpm -image/x-xwindowdump xwd - -inode/chardevice -inode/blockdevice -inode/directory-locked -inode/directory -inode/fifo -inode/socket - -message/delivery-status -message/disposition-notification -message/external-body -message/http -message/s-http -message/news -message/partial -message/rfc822 - -model/iges igs iges -model/mesh msh mesh silo -model/vnd.dwf -model/vnd.flatland.3dml -model/vnd.gdl -model/vnd.gs-gdl -model/vnd.gtw -model/vnd.mts -model/vnd.vtu -model/vrml wrl vrml - -multipart/alternative -multipart/appledouble -multipart/byteranges -multipart/digest -multipart/encrypted -multipart/form-data -multipart/header-set -multipart/mixed -multipart/parallel -multipart/related -multipart/report -multipart/signed -multipart/voice-message - -text/calendar ics icz -text/comma-separated-values csv -text/css css -text/directory -text/english -text/enriched -text/h323 323 -text/html html htm shtml -text/iuls uls -text/mathml mml -text/parityfec -text/plain asc txt text diff pot -text/prs.lines.tag -text/rfc822-headers -text/richtext rtx -text/rtf rtf -text/scriptlet sct wsc -text/t140 -text/texmacs tm ts -text/tab-separated-values tsv -text/uri-list -text/vnd.abc -text/vnd.curl -text/vnd.DMClientScript -text/vnd.flatland.3dml -text/vnd.fly -text/vnd.fmi.flexstor -text/vnd.in3d.3dml -text/vnd.in3d.spot -text/vnd.IPTC.NewsML -text/vnd.IPTC.NITF -text/vnd.latex-z -text/vnd.motorola.reflex -text/vnd.ms-mediapackage -text/vnd.sun.j2me.app-descriptor jad -text/vnd.wap.si -text/vnd.wap.sl -text/vnd.wap.wml wml -text/vnd.wap.wmlscript wmls -text/x-bibtex bib -text/x-boo boo -text/x-c++hdr h++ hpp hxx hh -text/x-c++src c++ cpp cxx cc -text/x-chdr h -text/x-component htc -text/x-crontab -text/x-csh csh -text/x-csrc c -text/x-dsrc d -text/x-haskell hs -text/x-java java -text/x-literate-haskell lhs -text/x-makefile -text/x-moc moc -text/x-pascal p pas -text/x-pcs-gcd gcd -text/x-perl pl pm -text/x-python py -text/x-server-parsed-html -text/x-setext etx -text/x-sh sh -text/x-tcl tcl tk -text/x-tex tex ltx sty cls -text/x-vcalendar vcs -text/x-vcard vcf - -video/dl dl -video/dv dif dv -video/fli fli -video/gl gl -video/mpeg mpeg mpg mpe -video/mp4 mp4 -video/quicktime qt mov -video/mp4v-es -video/parityfec -video/pointer -video/vnd.fvt -video/vnd.motorola.video -video/vnd.motorola.videop -video/vnd.mpegurl mxu -video/vnd.mts -video/vnd.nokia.interleaved-multimedia -video/vnd.vivo -video/x-la-asf lsf lsx -video/x-mng mng -video/x-ms-asf asf asx -video/x-ms-wm wm -video/x-ms-wmv wmv -video/x-ms-wmx wmx -video/x-ms-wvx wvx -video/x-msvideo avi -video/x-sgi-movie movie - -x-conference/x-cooltalk ice - -x-world/x-vrml vrm vrml wrl
http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/node/registry.xml ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/node/registry.xml b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/node/registry.xml deleted file mode 100644 index 5c46f43..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/node/registry.xml +++ /dev/null @@ -1,84 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - ~ 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. - --> -<wso2registry> - - <currentDBConfig>wso2registry</currentDBConfig> - <readOnly>false</readOnly> - <registryRoot>/</registryRoot> - - <dbConfig name="wso2registry"> - <url>jdbc:h2:tcp://localhost/~/test</url> - <userName>sa</userName> - <password></password> - <driverName>org.h2.Driver</driverName> - <maxActive>50</maxActive> - <maxWait>60000</maxWait> - <minIdle>5</minIdle> - </dbConfig> - - <!--<handler class="org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler"> - <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> - <property name="mediaType">application/vnd.apache.synapse</property> - </filter> - </handler> - - <handler class="org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler"> - <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> - <property name="mediaType">application/vnd.apache.esb</property> - </filter> - </handler> - - <handler class="org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler"> - <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> - <property name="mediaType">application/vnd.apache.axis2</property> - </filter> - </handler> - - <handler class="org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler"> - <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> - <property name="mediaType">application/vnd.apache.wsas</property> - </filter> - </handler> - - <handler class="org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler"> - <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> - <property name="mediaType">application/wsdl+xml</property> - </filter> - </handler> - - <handler class="org.wso2.carbon.registry.extensions.handlers.XSDMediaTypeHandler"> - <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> - <property name="mediaType">application/x-xsd+xml</property> - </filter> - </handler> --> - - - <versionResourcesOnChange>true</versionResourcesOnChange> - - <!-- NOTE: You can edit the options under "StaticConfiguration" only before the - startup. --> - <staticConfiguration> - <versioningProperties>true</versioningProperties> - <versioningComments>true</versioningComments> - <versioningTags>true</versioningTags> - <versioningRatings>true</versioningRatings> - </staticConfiguration> -</wso2registry> http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/node/user-mgt.xml ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/node/user-mgt.xml b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/node/user-mgt.xml deleted file mode 100644 index 35dafff..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/node/user-mgt.xml +++ /dev/null @@ -1,106 +0,0 @@ -<!-- - ~ 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. - --> -<UserManager> - <Realm> - <Configuration> - <AdminRole>admin</AdminRole> - <AdminUser> - <UserName>admin</UserName> - <Password>admin</Password> - </AdminUser> - <EveryOneRoleName>everyone</EveryOneRoleName> <!-- By default users in thsi role sees the registry root --> - <ReadOnly>false</ReadOnly> - <MaxUserNameListLength>500</MaxUserNameListLength> - <Property name="url">jdbc:h2:tcp://localhost/~/test</Property> - <Property name="userName">sa</Property> - <Property name="password"></Property> - <Property name="driverName">org.h2.Driver</Property> - <Property name="maxActive">50</Property> - <Property name="maxWait">60000</Property> - <Property name="minIdle">5</Property> - </Configuration> - <UserStoreManager - class="org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager"> - <Property name="SelectUserSQL">SELECT * FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?</Property> - <Property name="GetRoleListSQL">SELECT UM_ROLE_NAME FROM UM_ROLE WHERE UM_TENANT_ID=?</Property> - <Property name="UserFilterSQL">SELECT UM_USER_NAME FROM UM_USER WHERE UM_USER_NAME LIKE ? AND UM_TENANT_ID=? ORDER BY UM_USER_NAME</Property> - <Property name="UserRoleSQL">SELECT UM_ROLE_NAME FROM UM_USER_ROLE, UM_ROLE, UM_USER WHERE UM_USER.UM_USER_NAME=? AND UM_USER.UM_ID=UM_USER_ROLE.UM_USER_ID AND UM_ROLE.UM_ID=UM_USER_ROLE.UM_ROLE_ID AND UM_USER_ROLE.UM_TENANT_ID=? AND UM_ROLE.UM_TENANT_ID=? AND UM_USER.UM_TENANT_ID=?</Property> - <Property name="IsRoleExistingSQL">SELECT UM_ID FROM UM_ROLE WHERE UM_ROLE_NAME=? AND UM_TENANT_ID=?</Property> - <Property name="IsUserExistingSQL">SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?</Property> - <Property name="GetUserListOfRoleSQL">SELECT UM_USER_NAME FROM UM_USER_ROLE, UM_ROLE, UM_USER WHERE UM_ROLE.UM_ROLE_NAME=? AND UM_USER.UM_ID=UM_USER_ROLE.UM_USER_ID AND UM_ROLE.UM_ID=UM_USER_ROLE.UM_ROLE_ID AND UM_USER_ROLE.UM_TENANT_ID=? AND UM_ROLE.UM_TENANT_ID=? AND UM_USER.UM_TENANT_ID=?</Property> - <Property name="GetUserPropertyForProfileSQL">SELECT UM_ATTR_VALUE FROM UM_USER_ATTRIBUTE, UM_USER WHERE UM_USER.UM_ID = UM_USER_ATTRIBUTE.UM_USER_ID AND UM_USER.UM_USER_NAME=? AND UM_ATTR_NAME=? AND UM_PROFILE_ID=? AND UM_USER_ATTRIBUTE.UM_TENANT_ID=? AND UM_USER.UM_TENANT_ID=?</Property> - <Property name="GetUserPropertiesForProfileSQL">SELECT UM_ATTR_NAME, UM_ATTR_VALUE FROM UM_USER_ATTRIBUTE, UM_USER WHERE UM_USER.UM_ID = UM_USER_ATTRIBUTE.UM_USER_ID AND UM_USER.UM_USER_NAME=? AND UM_PROFILE_ID=? AND UM_USER_ATTRIBUTE.UM_TENANT_ID=? AND UM_USER.UM_TENANT_ID=?</Property> - <Property name="GetProfileNamesSQL">SELECT DISTINCT UM_PROFILE_ID FROM UM_USER_ATTRIBUTE WHERE UM_TENANT_ID=?</Property> - <Property name="GetUserProfileNamesSQL">SELECT DISTINCT UM_PROFILE_ID FROM UM_USER_ATTRIBUTE WHERE UM_USER_ID=(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?) AND UM_TENANT_ID=?</Property> - <Property name="GetUsersWithDefaultPasswordsSQL">SELECT UM_USER_NAME FROM UM_USER WHERE WHERE UM_USER_NAME=? AND UM_TENANT_ID=?</Property> - <Property name="UserNameUniqueAcrossTenantsSQL">SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=?</Property> - <Property name="GetUserIDFromUserNameSQL">SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?</Property> - <Property name="GetTenantIDFromUserNameSQL">SELECT UM_TENANT_ID FROM UM_USER WHERE UM_USER_NAME=?</Property> - <Property name="PasswordDigest">SHA-256</Property> - <Property name="StoreSaltedPassword">true</Property> - <Property name="UserNameUniqueAcrossTenants">false</Property> - <!-- writing sqls follow--> - <Property name="AddUserSQL">INSERT INTO UM_USER (UM_USER_NAME, UM_USER_PASSWORD, UM_SALT_VALUE, UM_REQUIRE_CHANGE, UM_CHANGED_TIME, UM_TENANT_ID) VALUES (?, ?, ?, ?, ?, ?)</Property> - <Property name="AddRoleSQL">INSERT INTO UM_ROLE (UM_ROLE_NAME, UM_TENANT_ID) VALUES (?, ?)</Property> - <Property name="AddUserToRoleSQL">INSERT INTO UM_USER_ROLE (UM_USER_ID, UM_ROLE_ID, UM_TENANT_ID) VALUES ((SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?),(SELECT UM_ID FROM UM_ROLE WHERE UM_ROLE_NAME=? AND UM_TENANT_ID=?), ?)</Property> - <Property name="RemoveUserFromRoleSQL">DELETE FROM UM_USER_ROLE WHERE UM_USER_ID=(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?) AND UM_ROLE_ID=(SELECT UM_ID FROM UM_ROLE WHERE UM_ROLE_NAME=? AND UM_TENANT_ID=?) AND UM_TENANT_ID=?</Property> - <Property name="AddRoleToUserSQL">INSERT INTO UM_USER_ROLE (UM_ROLE_ID, UM_USER_ID, UM_TENANT_ID) VALUES ((SELECT UM_ID FROM UM_ROLE WHERE UM_ROLE_NAME=? AND UM_TENANT_ID=?),(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?), ?)</Property> - <Property name="RemoveRoleFromUserSQL">DELETE FROM UM_USER_ROLE WHERE UM_ROLE_ID=(SELECT UM_ID FROM UM_ROLE WHERE UM_ROLE_NAME=? AND UM_TENANT_ID=?) AND UM_USER_ID=(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?) AND UM_TENANT_ID=?</Property> - <Property name="DeleteRoleSQL">DELETE FROM UM_ROLE WHERE UM_ROLE_NAME = ? AND UM_TENANT_ID=?</Property> - <Property name="OnDeleteRoleRemoveUserRoleMappingSQL">DELETE FROM UM_USER_ROLE WHERE UM_ROLE_ID=(SELECT UM_ID FROM UM_ROLE WHERE UM_ROLE_NAME=? AND UM_TENANT_ID=?) AND UM_TENANT_ID=?</Property> - <Property name="OnDeleteUserRemoveUserRoleMappingSQL">DELETE FROM UM_USER_ROLE WHERE UM_USER_ID=(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?) AND UM_TENANT_ID=?</Property> - <Property name="OnDeleteUserRemoveUserAttributeSQL">DELETE FROM UM_USER_ATTRIBUTE WHERE UM_USER_ID=(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?) AND UM_TENANT_ID=?</Property> - <Property name="DeleteUserSQL">DELETE FROM UM_USER WHERE UM_USER_NAME = ? AND UM_TENANT_ID=?</Property> - <Property name="UpdateUserPasswordSQL">UPDATE UM_USER SET UM_USER_PASSWORD= ?, UM_SALT_VALUE=?, UM_REQUIRE_CHANGE=?, UM_CHANGED_TIME=? WHERE UM_USER_NAME= ? AND UM_TENANT_ID=?</Property> - <Property name="AddUserPropertySQL">INSERT INTO UM_USER_ATTRIBUTE (UM_USER_ID, UM_ATTR_NAME, UM_ATTR_VALUE, UM_PROFILE_ID, UM_TENANT_ID) VALUES ((SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?), ?, ?, ?, ?)</Property> - <Property name="UpdateUserPropertySQL">UPDATE UM_USER_ATTRIBUTE SET UM_ATTR_VALUE=? WHERE UM_USER_ID=(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?) AND UM_ATTR_NAME=? AND UM_PROFILE_ID=? AND UM_TENANT_ID=?</Property> - <Property name="DeleteUserPropertySQL">DELETE FROM UM_USER_ATTRIBUTE WHERE UM_USER_ID=(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?) AND UM_ATTR_NAME=? AND UM_PROFILE_ID=? AND UM_TENANT_ID=?</Property> - </UserStoreManager> - <!-- <UserStoreManager - class="org.wso2.carbon.user.core.actdir.ActDirUserStoreManager"> - <Property name="ConnectionURL">ldap://10.100.1.122:389</Property> - <Property name="ConnectionName">cn=Administrator,cn=users,dc=wso2,dc=lk</Property> - <Property name="ConnectionPassword">admin123</Property> - <Property name="UserSearchBase">dc=wso2,dc=lk</Property> - <Property name="FilterTenantsForUsers"></Property> - </UserStoreManager> --> - <!-- UserStoreManager - class="org.wso2.carbon.user.core.ldap.LDAPUserStoreManager"> - <Property name="ConnectionURL">ldap://localhost:10389</Property> - <Property name="ConnectionName">uid=admin,ou=system</Property> - <Property name="ConnectionPassword">admin123</Property> - <Property name="UserSearchBase">ou=system</Property> - <Property name="UserNameSearchFilter">(&(objectClass=person)(mail=?@{domain}))</Property> - <Property name="UserNameAttribute">mail</Property> - </UserStoreManager --> - <AuthorizationManager - class="org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager"></AuthorizationManager> - </Realm> - <SystemPermission> - <Permission>login</Permission> - <Permission>manage-configuration</Permission> - <Permission>manage-security</Permission> - <Permission>upload-services</Permission> - <Permission>manage-services</Permission> - <Permission>manage-lc-configuration</Permission> - <Permission>manage-mediation</Permission> - <Permission>monitor-system</Permission> - <Permission>delegate-identity</Permission> - </SystemPermission> -</UserManager> http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/ports-config.xml ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/ports-config.xml b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/ports-config.xml deleted file mode 100644 index 1f5ea77..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/ports-config.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - ~ 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. - --> -<portsConfig> - <range> - <start>49150</start> - <end>65535</end> - </range> - <Instance1> - <nioports> - <http>5443</http> - <https>5444</https> - </nioports> - <mgtports> - <http>6443</http> - <https>6444</https> - </mgtports> - </Instance1> - <Instance2> - <nioports> - <http>5445</http> - <https>5446</https> - </nioports> - <mgtports> - <http>6445</http> - <https>6446</https> - </mgtports> - </Instance2> - <Instance3> - <nioports> - <http>5447</http> - <https>5448</https> - </nioports> - <mgtports> - <http>6447</http> - <https>6448</https> - </mgtports> - - </Instance3> -</portsConfig> - http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/registry.xml ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/registry.xml b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/registry.xml deleted file mode 100644 index f2ea53e..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/registry.xml +++ /dev/null @@ -1,102 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<!-- - ~ 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. - --> -<wso2registry> - - <currentDBConfig>wso2registry</currentDBConfig> - <readOnly>false</readOnly> - <registryRoot>/</registryRoot> - - <dbConfig name="wso2registry"> - <url>jdbc:h2:repository/database/WSO2CARBON_DB</url> - <userName>wso2carbon</userName> - <password>wso2carbon</password> - <driverName>org.h2.Driver</driverName> - <maxActive>50</maxActive> - <maxWait>60000</maxWait> - <minIdle>5</minIdle> - </dbConfig> - - <!--<handler class="org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler"> - <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> - <property name="mediaType">application/vnd.apache.synapse</property> - </filter> - </handler> - - <handler class="org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler"> - <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> - <property name="mediaType">application/vnd.apache.esb</property> - </filter> - </handler> - - <handler class="org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler"> - <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> - <property name="mediaType">application/vnd.apache.axis2</property> - </filter> - </handler> - - <handler class="org.wso2.carbon.registry.extensions.handlers.Axis2RepositoryHandler"> - <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> - <property name="mediaType">application/vnd.apache.wsas</property> - </filter> - </handler> - - <handler class="org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler"> - <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> - <property name="mediaType">application/wsdl+xml</property> - </filter> - </handler> - - <handler class="org.wso2.carbon.registry.extensions.handlers.XSDMediaTypeHandler"> - <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher"> - <property name="mediaType">application/x-xsd+xml</property> - </filter> - </handler> --> - - <!--remoteInstance url="https://localhost:9443/registry"> - <id>instanceid</id> - <username>username</username> - <password>password</password> - </remoteInstance--> - - <!--remoteInstance url="https://localhost:9443/registry"> - <id>instanceid</id> - <dbConfig>wso2registry</dbConfig> - <readOnly>false</readOnly> - <registryRoot>/</registryRoot> - </remoteInstance--> - - <!--mount path="/_system/config" overwrite="true|false|virtual"> - <instanceId>instanceid</instanceId> - <targetPath>/_system/nodes</targetPath> - </mount--> - - - <versionResourcesOnChange>true</versionResourcesOnChange> - - <!-- NOTE: You can edit the options under "StaticConfiguration" only before the - startup. --> - <staticConfiguration> - <versioningProperties>true</versioningProperties> - <versioningComments>true</versioningComments> - <versioningTags>true</versioningTags> - <versioningRatings>true</versioningRatings> - </staticConfiguration> -</wso2registry> http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/secret-conf.properties ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/secret-conf.properties b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/secret-conf.properties deleted file mode 100644 index 9683307..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/secret-conf.properties +++ /dev/null @@ -1,58 +0,0 @@ -# -# -# 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. -# -# - -############################################################################# -## Security Configuration -############################################################################# -## The following property specifies a global password provider implementation -## which will be used globally if not overriden in specific configurations -##carbon.secretProvider=<any implementation of org.apache.synapse.commons.security.secret.SecretCallbackHandler> -##Examples: -##carbon.secretProvider=org.apache.synapse.commons.security.secret.handler.SecretManagerSecretCallbackHandler -##carbon.secretProvider=org.apache.synapse.commons.security.secret.handler.JMXSecretCallbackHandler -##carbon.secretProvider=org.apache.synapse.commons.security.secret.handler.JlineSecretCallbackHandler -##carbon.secretProvider=org.apache.synapse.commons.security.secret.handler.JBossEncryptionSecretCallbackHandler -# -##Secret Repositories configuration -# -#secretRepositories=file -#secretRepositories.file.provider=org.apache.synapse.commons.security.secret.repository.filebased.FileBaseSecretRepositoryProvider -#secretRepositories.file.location=cipher-text.properties -# -##KeyStores configurations -# -#keystore.identity.location=resources/security/wso2carbon.jks -#keystore.identity.type=JKS -#keystore.identity.alias=wso2carbon -#keystore.identity.store.password=wso2carbon -##keystore.identity.store.secretProvider=<any implementation of org.apache.synapse.commons.security.secret.SecretCallbackHandler> -#keystore.identity.key.password=wso2carbon -##keystore.identity.key.secretProvider=<any implementation of org.apache.synapse.commons.security.secret.SecretCallbackHandler> -##keystore.identity.parameters=enableHostnameVerifier=false;keyStoreCertificateFilePath=/home/esb.cer -# -#keystore.trust.location=resources/security/client-truststore.jks -#keystore.trust.type=JKS -#keystore.trust.alias=wso2carbon -#keystore.trust.store.password=wso2carbon -##keystore.trust.store.secretProvider=<any implementation of org.apache.synapse.commons.security.secret.SecretCallbackHandler> -# -# -# http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/synapse.xml ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/synapse.xml b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/synapse.xml deleted file mode 100644 index aed5054..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/synapse.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!-- - ~ 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. - --> - -<!-- An empty flat synapse configuration shipped with the WSO2 ESB --> -<definitions xmlns="http://ws.apache.org/ns/synapse"> - - <task class="org.wso2.carbon.multiple.instance.endpoint.mgt.autoscale.LocalLoadAnalyzerTask" name="LocalLoadAnalyzer"> - <property name="maxAppInstances" value="10"/> - <property name="minAppInstances" value="1"/> - <trigger interval="5"/> - </task> -</definitions> -<!-- You can add any flat sequences, endpoints, etc.. to this synapse.xml file if you do - *not* want to keep the artifacts in several files --> http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-config1.xml ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-config1.xml b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-config1.xml deleted file mode 100644 index 515eb36..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-config1.xml +++ /dev/null @@ -1,48 +0,0 @@ -<!-- - ~ 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. - --> -<throttlingConfig xmlns="http://wso2.com/carbon/multitenancy/throttling/config"> - <tasks> - <task> - <parameters> - <parameter name="interval">15</parameter> - </parameters> - <dataProviders> - <dataProvider - class="org.wso2.stratos.throttling.manager.dataproviders.BandwidthDataProvider"> - </dataProvider> - <!-- - <dataProvider - class="org.wso2.stratos.throttling.manager.dataproviders.BillingDataProvider"> - </dataProvider> - --> - <dataProvider - class="org.wso2.stratos.throttling.manager.dataproviders.DBContentVolumeDataProvider"> - </dataProvider> - <dataProvider - class="org.wso2.stratos.throttling.test.utils.CustomDataProvider"> - </dataProvider> - <!-- - <dataProvider - class="org.wso2.stratos.throttling.manager.dataproviders.UsersCountDataProvider"> - </dataProvider> - --> - </dataProviders> - </task> - </tasks> -</throttlingConfig> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-config2.xml ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-config2.xml b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-config2.xml deleted file mode 100644 index 515eb36..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-config2.xml +++ /dev/null @@ -1,48 +0,0 @@ -<!-- - ~ 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. - --> -<throttlingConfig xmlns="http://wso2.com/carbon/multitenancy/throttling/config"> - <tasks> - <task> - <parameters> - <parameter name="interval">15</parameter> - </parameters> - <dataProviders> - <dataProvider - class="org.wso2.stratos.throttling.manager.dataproviders.BandwidthDataProvider"> - </dataProvider> - <!-- - <dataProvider - class="org.wso2.stratos.throttling.manager.dataproviders.BillingDataProvider"> - </dataProvider> - --> - <dataProvider - class="org.wso2.stratos.throttling.manager.dataproviders.DBContentVolumeDataProvider"> - </dataProvider> - <dataProvider - class="org.wso2.stratos.throttling.test.utils.CustomDataProvider"> - </dataProvider> - <!-- - <dataProvider - class="org.wso2.stratos.throttling.manager.dataproviders.UsersCountDataProvider"> - </dataProvider> - --> - </dataProviders> - </task> - </tasks> -</throttlingConfig> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-config3.xml ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-config3.xml b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-config3.xml deleted file mode 100644 index 515eb36..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-config3.xml +++ /dev/null @@ -1,48 +0,0 @@ -<!-- - ~ 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. - --> -<throttlingConfig xmlns="http://wso2.com/carbon/multitenancy/throttling/config"> - <tasks> - <task> - <parameters> - <parameter name="interval">15</parameter> - </parameters> - <dataProviders> - <dataProvider - class="org.wso2.stratos.throttling.manager.dataproviders.BandwidthDataProvider"> - </dataProvider> - <!-- - <dataProvider - class="org.wso2.stratos.throttling.manager.dataproviders.BillingDataProvider"> - </dataProvider> - --> - <dataProvider - class="org.wso2.stratos.throttling.manager.dataproviders.DBContentVolumeDataProvider"> - </dataProvider> - <dataProvider - class="org.wso2.stratos.throttling.test.utils.CustomDataProvider"> - </dataProvider> - <!-- - <dataProvider - class="org.wso2.stratos.throttling.manager.dataproviders.UsersCountDataProvider"> - </dataProvider> - --> - </dataProviders> - </task> - </tasks> -</throttlingConfig> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-rules1.drl ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-rules1.drl b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-rules1.drl deleted file mode 100644 index 664c815..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-rules1.drl +++ /dev/null @@ -1,79 +0,0 @@ -/* - * 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. - */ - -import org.wso2.stratos.throttling.manager.dataobjects.*; -import org.wso2.stratos.billing.mgt.dataobjects.*; -import org.wso2.stratos.common.constants.*; - - -rule clearRestrictions -when -$dataContext : ThrottlingDataContext(); -eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) < 8) - -then - -ThrottlingAccessValidation validation = $dataContext.getAccessValidation(); -validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, - false, null); - -end - - -rule restrictFileSize -when -$dataContext : ThrottlingDataContext(); -eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > 8 && - $dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) < 10) - -then - -ThrottlingAccessValidation validation = $dataContext.getAccessValidation(); -validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, - true, "Your data is big. Bigger than 8"); - -end - -rule stranageTest1Rule -when -$package: MultitenancyPackage(name == "test1") -$dataContext : ThrottlingDataContext() -eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > 15 && - $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package) - -then - -ThrottlingAccessValidation validation = $dataContext.getAccessValidation(); -validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, - true, "the strange condition for test1 is met"); - -end - -rule strangeTest2Rule -when -$package: MultitenancyPackage(name == "test2") -$dataContext : ThrottlingDataContext() -eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > 15 && - $dataContext.getDataObject(ThrottlingDataEntryConstants.PACKAGE) == $package) -then -ThrottlingAccessValidation validation = $dataContext.getAccessValidation(); -validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, - true, "the strange condition for test2 is met"); - -end http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-rules2.drl ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-rules2.drl b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-rules2.drl deleted file mode 100644 index 8c5b47f..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-rules2.drl +++ /dev/null @@ -1,37 +0,0 @@ -/* - * 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. - */ - -import org.wso2.stratos.throttling.manager.dataobjects.*; -import org.wso2.stratos.common.constants.*; - -rule restrictBandwidth -when - -$dataContext : ThrottlingDataContext() -eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_INCOMING_BANDWIDTH) > 12) - -then - -ThrottlingAccessValidation validation = $dataContext.getAccessValidation(); -long tenantIncomingBandwidth = $dataContext.getDataLong( - ThrottlingDataEntryConstants.TENANT_INCOMING_BANDWIDTH); -validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, true, - "Your incoming bw is big. Bigger than 12. your value: " + tenantIncomingBandwidth); - -end http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-rules3.drl ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-rules3.drl b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-rules3.drl deleted file mode 100644 index 675232f..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/throttling-rules3.drl +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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. - */ -import org.wso2.stratos.throttling.manager.dataobjects.*; -import org.wso2.stratos.common.constants.*; - -rule restrictCapacity -when - -$dataContext : ThrottlingDataContext() -eval($dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY) > 12) - -then - -ThrottlingAccessValidation validation = $dataContext.getAccessValidation(); -long tenantCapacity = $dataContext.getDataLong(ThrottlingDataEntryConstants.TENANT_CAPACITY); -validation.setTenantBlocked(StratosConstants.THROTTLING_IN_DATA_ACTION, true, - "Your resource volume is big. Bigger than 12. your value: " + tenantCapacity); - -end http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/user-mgt.xml ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/user-mgt.xml b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/user-mgt.xml deleted file mode 100644 index d190d87..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/user-mgt.xml +++ /dev/null @@ -1,117 +0,0 @@ -<!-- - ~ 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. - --> - -<UserManager> - <Realm> - <Configuration> - <AdminRole>admin</AdminRole> - <AdminUser> - <UserName>admin</UserName> - <Password>admin</Password> - </AdminUser> - <EveryOneRoleName>everyone</EveryOneRoleName> <!-- By default users in thsi role sees the registry root --> - <ReadOnly>false</ReadOnly> - <MaxUserNameListLength>500</MaxUserNameListLength> - <Property name="url">jdbc:h2:repository/database/WSO2CARBON_DB</Property> - <Property name="userName">wso2carbon</Property> - <Property name="password">wso2carbon</Property> - <Property name="driverName">org.h2.Driver</Property> - <Property name="maxActive">50</Property> - <Property name="maxWait">60000</Property> - <Property name="minIdle">5</Property> - </Configuration> - <UserStoreManager - class="org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager"> - <!-- Readonly Properties --> - <Property name="IsEmailUserName">false</Property> - <Property name="DomainCalculation">default</Property> - <Property name="SelectUserSQL">SELECT * FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?</Property> - <Property name="GetRoleListSQL">SELECT UM_ROLE_NAME FROM UM_ROLE WHERE UM_TENANT_ID=?</Property> - <Property name="UserFilterSQL">SELECT UM_USER_NAME FROM UM_USER WHERE UM_USER_NAME LIKE ? AND UM_TENANT_ID=? ORDER BY UM_USER_NAME</Property> - <Property name="UserRoleSQL">SELECT UM_ROLE_NAME FROM UM_USER_ROLE, UM_ROLE, UM_USER WHERE UM_USER.UM_USER_NAME=? AND UM_USER.UM_ID=UM_USER_ROLE.UM_USER_ID AND UM_ROLE.UM_ID=UM_USER_ROLE.UM_ROLE_ID AND UM_USER_ROLE.UM_TENANT_ID=? AND UM_ROLE.UM_TENANT_ID=? AND UM_USER.UM_TENANT_ID=?</Property> - <Property name="IsRoleExistingSQL">SELECT UM_ID FROM UM_ROLE WHERE UM_ROLE_NAME=? AND UM_TENANT_ID=?</Property> - <Property name="IsUserExistingSQL">SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?</Property> - <Property name="GetUserListOfRoleSQL">SELECT UM_USER_NAME FROM UM_USER_ROLE, UM_ROLE, UM_USER WHERE UM_ROLE.UM_ROLE_NAME=? AND UM_USER.UM_ID=UM_USER_ROLE.UM_USER_ID AND UM_ROLE.UM_ID=UM_USER_ROLE.UM_ROLE_ID AND UM_USER_ROLE.UM_TENANT_ID=? AND UM_ROLE.UM_TENANT_ID=? AND UM_USER.UM_TENANT_ID=?</Property> - <Property name="GetUserPropertyForProfileSQL">SELECT UM_ATTR_VALUE FROM UM_USER_ATTRIBUTE, UM_USER WHERE UM_USER.UM_ID = UM_USER_ATTRIBUTE.UM_USER_ID AND UM_USER.UM_USER_NAME=? AND UM_ATTR_NAME=? AND UM_PROFILE_ID=? AND UM_USER_ATTRIBUTE.UM_TENANT_ID=? AND UM_USER.UM_TENANT_ID=?</Property> - <Property name="GetUserPropertiesForProfileSQL">SELECT UM_ATTR_NAME, UM_ATTR_VALUE FROM UM_USER_ATTRIBUTE, UM_USER WHERE UM_USER.UM_ID = UM_USER_ATTRIBUTE.UM_USER_ID AND UM_USER.UM_USER_NAME=? AND UM_PROFILE_ID=? AND UM_USER_ATTRIBUTE.UM_TENANT_ID=? AND UM_USER.UM_TENANT_ID=?</Property> - <Property name="GetProfileNamesSQL">SELECT DISTINCT UM_PROFILE_ID FROM UM_USER_ATTRIBUTE WHERE UM_TENANT_ID=?</Property> - <Property name="GetUserProfileNamesSQL">SELECT DISTINCT UM_PROFILE_ID FROM UM_USER_ATTRIBUTE WHERE UM_USER_ID=(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?) AND UM_TENANT_ID=?</Property> - <Property name="GetUsersWithDefaultPasswordsSQL">SELECT UM_USER_NAME FROM UM_USER WHERE WHERE UM_USER_NAME=? AND UM_TENANT_ID=?</Property> - <Property name="UserNameUniqueAcrossTenantsSQL">SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=?</Property> - <Property name="GetUserIDFromUserNameSQL">SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?</Property> - <Property name="GetTenantIDFromUserNameSQL">SELECT UM_TENANT_ID FROM UM_USER WHERE UM_USER_NAME=?</Property> - <!-- writing sqls follow--> - <Property name="PasswordDigest">SHA-256</Property> - <Property name="StoreSaltedPassword">true</Property> - <Property name="UserNameUniqueAcrossTenants">false</Property> - <Property name="PasswordJavaRegEx">[\S]{5,30}$</Property> - <Property name="PasswordJavaScriptRegEx">[\\S]{5,30}</Property> - <Property name="AddUserSQL">INSERT INTO UM_USER (UM_USER_NAME, UM_USER_PASSWORD, UM_SALT_VALUE, UM_REQUIRE_CHANGE, UM_CHANGED_TIME, UM_TENANT_ID) VALUES (?, ?, ?, ?, ?, ?)</Property> - <Property name="AddRoleSQL">INSERT INTO UM_ROLE (UM_ROLE_NAME, UM_TENANT_ID) VALUES (?, ?)</Property> - <Property name="AddUserToRoleSQL">INSERT INTO UM_USER_ROLE (UM_USER_ID, UM_ROLE_ID, UM_TENANT_ID) VALUES ((SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?),(SELECT UM_ID FROM UM_ROLE WHERE UM_ROLE_NAME=? AND UM_TENANT_ID=?), ?)</Property> - <Property name="AddUserToRoleSQL-mssql">INSERT INTO UM_USER_ROLE (UM_USER_ID, UM_ROLE_ID, UM_TENANT_ID) SELECT (SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?),(SELECT UM_ID FROM UM_ROLE WHERE UM_ROLE_NAME=? AND UM_TENANT_ID=?),(?)</Property> - <Property name="RemoveUserFromRoleSQL">DELETE FROM UM_USER_ROLE WHERE UM_USER_ID=(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?) AND UM_ROLE_ID=(SELECT UM_ID FROM UM_ROLE WHERE UM_ROLE_NAME=? AND UM_TENANT_ID=?) AND UM_TENANT_ID=?</Property> - <Property name="AddRoleToUserSQL">INSERT INTO UM_USER_ROLE (UM_ROLE_ID, UM_USER_ID, UM_TENANT_ID) VALUES ((SELECT UM_ID FROM UM_ROLE WHERE UM_ROLE_NAME=? AND UM_TENANT_ID=?),(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?), ?)</Property> - <Property name="AddRoleToUserSQL-mssql">INSERT INTO UM_USER_ROLE (UM_ROLE_ID, UM_USER_ID, UM_TENANT_ID) SELECT (SELECT UM_ID FROM UM_ROLE WHERE UM_ROLE_NAME=? AND UM_TENANT_ID=?),(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?), (?)</Property> - <Property name="RemoveRoleFromUserSQL">DELETE FROM UM_USER_ROLE WHERE UM_ROLE_ID=(SELECT UM_ID FROM UM_ROLE WHERE UM_ROLE_NAME=? AND UM_TENANT_ID=?) AND UM_USER_ID=(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?) AND UM_TENANT_ID=?</Property> - <Property name="DeleteRoleSQL">DELETE FROM UM_ROLE WHERE UM_ROLE_NAME = ? AND UM_TENANT_ID=?</Property> - <Property name="OnDeleteRoleRemoveUserRoleMappingSQL">DELETE FROM UM_USER_ROLE WHERE UM_ROLE_ID=(SELECT UM_ID FROM UM_ROLE WHERE UM_ROLE_NAME=? AND UM_TENANT_ID=?) AND UM_TENANT_ID=?</Property> - <Property name="OnDeleteUserRemoveUserRoleMappingSQL">DELETE FROM UM_USER_ROLE WHERE UM_USER_ID=(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?) AND UM_TENANT_ID=?</Property> - <Property name="OnDeleteUserRemoveUserAttributeSQL">DELETE FROM UM_USER_ATTRIBUTE WHERE UM_USER_ID=(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?) AND UM_TENANT_ID=?</Property> - <Property name="DeleteUserSQL">DELETE FROM UM_USER WHERE UM_USER_NAME = ? AND UM_TENANT_ID=?</Property> - <Property name="UpdateUserPasswordSQL">UPDATE UM_USER SET UM_USER_PASSWORD= ?, UM_SALT_VALUE=?, UM_REQUIRE_CHANGE=?, UM_CHANGED_TIME=? WHERE UM_USER_NAME= ? AND UM_TENANT_ID=?</Property> - <Property name="AddUserPropertySQL">INSERT INTO UM_USER_ATTRIBUTE (UM_USER_ID, UM_ATTR_NAME, UM_ATTR_VALUE, UM_PROFILE_ID, UM_TENANT_ID) VALUES ((SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?), ?, ?, ?, ?)</Property> - <Property name="AddUserPropertySQL-mssql">INSERT INTO UM_USER_ATTRIBUTE (UM_USER_ID, UM_ATTR_NAME, UM_ATTR_VALUE, UM_PROFILE_ID, UM_TENANT_ID) SELECT (SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?), (?), (?), (?), (?)</Property> - <Property name="UpdateUserPropertySQL">UPDATE UM_USER_ATTRIBUTE SET UM_ATTR_VALUE=? WHERE UM_USER_ID=(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?) AND UM_ATTR_NAME=? AND UM_PROFILE_ID=? AND UM_TENANT_ID=?</Property> - <Property name="DeleteUserPropertySQL">DELETE FROM UM_USER_ATTRIBUTE WHERE UM_USER_ID=(SELECT UM_ID FROM UM_USER WHERE UM_USER_NAME=? AND UM_TENANT_ID=?) AND UM_ATTR_NAME=? AND UM_PROFILE_ID=? AND UM_TENANT_ID=?</Property> - </UserStoreManager> - <!-- UserStoreManager - class="org.wso2.carbon.user.core.ldap.LDAPUserStoreManager"> - <Property name="ConnectionURL">ldap://localhost:10389</Property> - <Property name="ConnectionName">uid=admin,ou=system</Property> - <Property name="ConnectionPassword">admin123</Property> - <Property name="UserSearchBase">ou=system</Property> - <Property name="UserNameListFilter">(objectClass=person)</Property> - <Property name="UserNameAttribute">uid</Property> - <Property name="ReadLDAPGroups">false</Property> - <Property name="GroupSearchBase">ou=system</Property> - <Property name="GroupSearchFilter">(objectClass=groupOfNames)</Property> - <Property name="GroupNameAttribute">cn</Property> - <Property name="MembershipAttribute">member</Property> - </UserStoreManager --> - <!-- Active directory configuration follows --> - <!-- UserStoreManager - class="org.wso2.carbon.user.core.ldap.LDAPUserStoreManager"> - <Property name="ConnectionURL">ldap://10.100.1.211:389</Property> - <Property name="ConnectionName">cn=Administrator,cn=users,dc=wso2,dc=lk</Property> - <Property name="ConnectionPassword">admin123</Property> - <Property name="UserSearchBase">cn=users,dc=wso2,dc=lk</Property> - <Property name="UserNameListFilter">(objectClass=person)</Property> - <Property name="UserNameAttribute">sAMAccountName</Property> - <Property name="ReadLDAPGroups">true</Property> - <Property name="GroupSearchBase">cn=users,dc=wso2,dc=lk</Property> - <Property name="GroupSearchFilter">(objectcategory=group)</Property> - <Property name="GroupNameAttribute">cn</Property> - <Property name="MemberOfAttribute">memberOf</Property> - </UserStoreManager --> - <AuthorizationManager - class="org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager"> - </AuthorizationManager> - </Realm> -</UserManager> http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/wrapper.conf ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/wrapper.conf b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/wrapper.conf deleted file mode 100644 index 1cd7f8d..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/conf/wrapper.conf +++ /dev/null @@ -1,146 +0,0 @@ -# -# -# 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. -# - - -#******************************************************************** -# Wrapper Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JAVA_HOME%/bin/java - -# set the working directory to the CARBON_HOME -wrapper.working.dir=../.. - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. See the Integration section -# of the documentation for details. -wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=lib/wrapper-3.2.3.jar -wrapper.java.classpath.2=lib -wrapper.java.classpath.3=lib/*.jar -wrapper.java.classpath.4=lib/patches -wrapper.java.classpath.5=lib/patches/*.jar -wrapper.java.classpath.8=repository/conf -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=bin/native - -# Java Additional Parameters -wrapper.java.additional.1=-Xms256m -wrapper.java.additional.2=-Xmx512m -wrapper.java.additional.3=-XX:MaxPermSize=128m -wrapper.java.additional.4=-Dcarbon.home=. -wrapper.java.additional.5=-Djava.endorsed.dirs=lib/endorsed -wrapper.java.additional.6=-Dcom.sun.management.jmxremote -wrapper.java.additional.7=-Dwso2.server.standalone=true -wrapper.java.additional.8=-Djava.io.tmpdir=tmp -#wrapper.java.additional.9=-Dlog4j.configuration=repository/conf/log4j.properties -wrapper.java.additional.9=-Dwso2.transports.xml=repository/conf/mgt-transports.xml -wrapper.java.additional.10=-Dcarbon.registry.root=/ - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=256 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=512 - -# Application parameters. Add parameters as needed starting from 1 -wrapper.app.parameter.1=org.wso2.carbon.server.Main -wrapper.app.parameter.2=RUN - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Format of output for the console. -# (See http://wrapper.tanukisoftware.org/doc/english/prop-console-format.html for formats) -wrapper.console.format=M - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=INFO - -# Log file to use for wrapper output logging. -wrapper.logfile=./repository/logs/wrapper.log - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel=INFO - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=5m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=0 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=NONE - -#******************************************************************** -# Wrapper Windows Properties -#******************************************************************** -# Title to use when running as a console -wrapper.console.title=WSO2 Carbon - -#******************************************************************** -# Wrapper Windows NT/2000/XP Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.ntservice.name=WSO2Carbon - -# Display name of the service -wrapper.ntservice.displayname=WSO2 Carbon - -# Description of the service -wrapper.ntservice.description=WSO2 Carbon - - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop. -wrapper.ntservice.interactive=true - -#Setting this property will cause the Wrapper to allocate and display a console -# window when running as an NT service. The console will only be visible if -# the wrapper.ntservice.interactive property is also set to true. Defaults to false. -wrapper.ntservice.console=false - -# Specifies the priority at which the Wrapper and its JVM will be run at when -# run as an NT service or as a console application. Possible values are -# LOW, BELOW_NORMAL, NORMAL, ABOVE_NORMAL, HIGH, and REALTIME. -# Defaults to NORMAL. BELOW_NORMAL and ABOVE_NORMAL are not supported on Windows NT, 95 or 98. -wrapper.ntservice.process_priority=HIGH - http://git-wip-us.apache.org/repos/asf/stratos/blob/ee5e9639/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/logs/README ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/logs/README b/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/logs/README deleted file mode 100644 index 8871a93..0000000 --- a/components/org.apache.stratos.throttling.manager/src/test/resources/carbon-home/repository/logs/README +++ /dev/null @@ -1 +0,0 @@ -CARBON_HOME/repository/logs contains all log files created during execution \ No newline at end of file
