aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src
AgeCommit message (Collapse)AuthorFilesLines
2017-11-21Make auth login command parameters as part of cmdKanagaraj Manickam k003651069-32/+164
Now auth commands parameters are added into the command parameters list Issue-Id: CLI-66 Change-Id: If6d7629b9efeb773f90ba53fb2ed8d6e464f3a73 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-21Move install.sh into zip root folderKanagaraj Manickam k003651063-12/+17
Issue-Id: CLI-66 Change-Id: I316788d3f9fc036da71479be7106150b82e25330 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-21Remove aspect based loggingKanagaraj Manickam k003651062-187/+0
Issue-Id: CLI-66 Change-Id: Ib0d9365af04710aac812e1413972354c132ebb47 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-21Make schema-validate independent of schema profileKanagaraj Manickam k0036510640-200/+335
Now schema-validate is able to validate schema of any given type supported. Issue-Id: CLI-66 Change-Id: I47ac5e81e9b12dd575e0a4cdc7e8e8bad0f87474 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-20Utils are splitted into multiple classesKanagaraj Manickam k0036510615-1237/+1377
Issue-Id: CLI-66 Change-Id: I334d9121fe19c25af00bd83a53260c43b7f5446e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-20Removed the dead codesKanagaraj Manickam k0036510619-1498/+731
Swagger client sdk support is removed. Issue-Id: CLI-66 Change-Id: Ic7b23cfd72f2ae29de7ab44d2cffb35af2db701b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-20Add schema type for plugins like httpKanagaraj Manickam k0036510613-134/+81
Issue-Id: CLI-66 Change-Id: I3756ccce8682644822850fd2621d9356bad74dc8 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-20Optimize version option outputKanagaraj Manickam k003651063-13/+25
Issue-Id: CLI-66 Change-Id: Ia64adb3e32de0dafc124ce1dbaf0204b43e9ffaf Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-20Add build time to jarKanagaraj Manickam k003651062-1/+36
Issue-Id: CLI-66 Change-Id: I45f524e3e4f0f111fd411f3d9577edb5e3c0d0ed Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-20Add type to schema-refresh commandKanagaraj Manickam k003651064-34/+16
Issue-Id: CLI-66 Change-Id: I2f6ff7b2eb0584aedb796dc814f6294e26f1f407 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-20Ignore invalid schema while discovering schemaKanagaraj Manickam k003651063-52/+17
Issue-Id: CLI-66 Change-Id: I17a367c9277a264b2d3828007af9b42592484ff1 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-20Onap to Oclip text migrationKanagaraj Manickam k0036510646-299/+288
Issue-Id: CLI-66 Change-Id: I58e98952c61902e34585e9defabc36d1233a99a4 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-20Normalize all env with OPEN_CLIKanagaraj Manickam k003651064-7/+7
Issue-Id: CLI-66 Change-Id: Iac377cf4cbd3e4d7419fcd41417e4c8bc127a03e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-20Normalize OnapCommandSchemaKanagaraj Manickam k0036510622-397/+424
discovery is optimized to register the plugins and http commands from one function Issue-Id: CLI-66 Change-Id: I3b813862ffd5640c5218c4cced7d10f914dce4ad Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-20Migrate OPEN_CLI_PRODUCT_VERSION to IN_USEKanagaraj Manickam k003651063-3/+3
Issue-Id: CLI-66 Change-Id: I13f8786b8084b83d04f14dd791862e84bed0101b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-20Add overriding concept to ParametersKanagaraj Manickam k003651069-346/+59
Issue-Id: CLI-66 Change-Id: I90b69da1b4235bfa12d4eaffd3f73538fd12a443 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-20Remove default_parameter section and use is_includKanagaraj Manickam k0036510653-586/+457
Issue-Id: CLI-66 Change-Id: I24a3bc4d133d4d69fd6522091f20f88edd6c2f19 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-20Modify validate to include sample pluginKanagaraj Manickam k0036510610-253/+0
Issue-Id: CLI-66 Change-Id: I3397cd29835c5ac3a95a7f0f80fcee5d1e49de99 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-14Add is_include to parameterKanagaraj Manickam k003651064-0/+34
Issue-Id: CLI-66 Change-Id: I91c513709c40808f720ace049b28e8e1ba798e33 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-14Add Info sectionKanagaraj Manickam k003651068-31/+214
Issue-Id: CLI-66 Change-Id: I864c4af234e7f27d75eaad7318e0d919c1d82305 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-14Migrate auth logic into http commandKanagaraj Manickam k003651068-114/+107
Login/Logout logic is moved into http command as this framework would be enhanced to support other command types like ssh Issue-Id: CLI-66 Change-Id: I33936f8871dfa4c000f8fcabb9cf17e96fc71e0b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-14Fix auth plugin issuesKanagaraj Manickam k0036510610-16/+229
Now OCLIP is enabled to be very generic platform. Issue-Id: CLI-66 Change-Id: Id431f2eca5e516ad3b070c2c80e4fcd2ba0b54b2 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-14Migrate onap-cli-schema into open-cli-schemaKanagaraj Manickam k0036510617-64/+31
Issue-Id: CLI-66 Change-Id: I719719194bc5f21f4316380e606ce1a58f0f046c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-14Basic auth login and logout commandKanagaraj Manickam k0036510619-142/+356
Issue-Id: CLI-66 Change-Id: Ief44cd0d12d7814c029129ff4d8a384dc36c369f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-14Migrate onap-username and onap-passwordKanagaraj Manickam k0036510612-43/+43
onap-username and onap-password are migrated into host-username and host-password respectively Issue-Id: CLI-66 Change-Id: I4d658283523e75a2223dac9d0b839fdbc6ae2da3 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-14Make input parameter available in output valueKanagaraj Manickam k003651062-0/+38
Issue-Id: CLI-66 Change-Id: Ib7dc22352932294b485b1239dbb56e4092ef6644 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-14Add default_value for output attributesKanagaraj Manickam k0036510612-80/+209
Special enteries are $s{uuit} and $s{env:EVN-VAR} Issue-Id: CLI-66 Change-Id: I6c16d8815f4934b7759adee3a41372303cef9a65 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-14Add command type to support auth and catalogKanagaraj Manickam k0036510610-3/+146
By default all commands are cmd type Issue-Id: CLI-66 Change-Id: I90567ecba00def1a1e904d2959a53c1a2cfc098b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-14Migrate ONAP_HOST_URL to HOST_URLKanagaraj Manickam k003651061-4/+4
Issue-Id: CLI-66 Change-Id: Id2b232651fc1b998faa4134c768f2b77cac89158 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-07Add cli samples into documentKanagaraj Manickam k003651061-1/+1
Issue-Id: CLI-57 Change-Id: Id3153b70ae8a8bb815f9d2efb9cfe1878a78ec78 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-11-07Add sample for schema-refresh and validatesubhash kumar singh2-0/+254
Add samples for schema refresh and validate. Change-Id: Iec99db3d0fe0e358cff9ac366e69742c5f4f39b3 Issue-ID: CLI-55 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-10-31Fix onap doc generation to logs serial noKanagaraj Manickam k003651061-5/+0
CLI-57 Change-Id: Ie56edf2c52778341a680e499587898a35623ac6f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-10-26Fix the sample file name align with schemaKanagaraj Manickam k003651061-4/+4
CLI-55 Change-Id: I84533921d6a2bbfd818e0c68b723d6f131a21b2c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-10-26Code refactoring to remove test code generationsubhash kumar singh9-317/+35
Refactor code to remove test code generation code from framework codebase. Issue-ID: CLI-55 Change-Id: I4b45ef50143317586c39cf118a1717be150707da Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-10-17Implement autogeneation of moco jsonsubhash kumar singh11-11/+375
Autogenerate mocked json files for moco-master from http request respose. Change-Id: I731682c41b623713a6b4de7ea74b14ab83f5d17e Issue-ID: CLI-55 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-10-12Fix exception logs from log4j at buildtimesubhash kumar singh1-1/+1
Fix exception logs from log4j at buildtime. Fix logger filename. Issue-ID: CLI-51 Change-Id: Ia284bf2566792e1a381936382cab940c6d0182ac Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-10-11Verfiy Invalid samplesKanagaraj Manickam k003651062-4/+11
CLI-2 Change-Id: I7388da38841d07bacf64d10a2c11620dfb781c12 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-10-11Enhance validation with moco serverKanagaraj Manickam k003651062-0/+44
CLI-2 Change-Id: Ie8a98a2a20137610634b3450d1076bec1790e9b1 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-10-11Fix registrar test command registration UTKanagaraj Manickam k003651061-5/+4
CLI-2 Change-Id: Idf2aa6f8cc4f8c0110cc4293e3dde584edc4eca8 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-10-05Set default log level to ERRORKanagaraj Manickam k003651061-1/+1
CLI-34 Change-Id: I40804541122978a75e6326e824aae88c0c791c8d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-10-05Improve profile verificationKanagaraj Manickam k003651061-22/+24
CLI-34 Change-Id: I7c0443c80506dcc12151c448de4b8ebda42dadea Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-10-03Set log file under ONAP_CLI_HOME/logsKanagaraj Manickam k003651061-2/+9
CLI-2 Change-Id: I65585cb69fe7ba71b57bf338cdc87b926a9bac51 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-30Normalize the error code in exceptionsKanagaraj Manickam k0036510646-95/+108
CLI-2 Change-Id: I9d205993c9ca8fbf58459352fa023a2bf80ca376 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-29remove onap.properties from test resourcesKanagaraj Manickam k003651061-56/+0
CLI-2 Change-Id: Ib0100610d8a77cb504250cf0173b236adfdd076b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-29Enable exception to get tracedKanagaraj Manickam k0036510623-59/+125
CLI-2 Change-Id: Ib16490d6800a07d69c995f2301d34bebf3f78c28 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-29Remove CLI_DEV and replace by discover_always confKanagaraj Manickam k003651066-16/+16
CLI-2 Change-Id: Ic67ac30c6f6c9a0a8928b1fac6d5adc85ca53a5b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-26Add commands help generation codeKanagaraj Manickam k003651061-10/+13
CLI-34 Change-Id: Ic71c0a0d79ad4e1e1be74d5f98c3e1c40f300e2a Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-23Fix Version directive to print current p versionKanagaraj Manickam k003651061-1/+1
CLI-2 Change-Id: I85eac5af5637e4123241d4695edf9332b5b503d8 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-18Fix sonar coverage issuesKanagaraj Manickam k003651062-2/+10
CLI-43 Change-Id: I7dc674db9ffc0bd2281003b3a680e52a0af9baab Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2017-09-18Improve the UT of profileKanagaraj Manickam k003651064-7/+17
CLI-43 Change-Id: If2f1040a93d18d8f4375c459db3e7250f4dba99f Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>