summaryrefslogtreecommitdiffstats
path: root/pom.xml
AgeCommit message (Expand)AuthorFilesLines
2018-09-11NexusIQ issue: jackson-databindRob Daugherty1-3/+3
2018-09-08Adding rest service for so monitoringwaqas.ikram1-0/+1
2018-09-05Client LoggingSmokowski, Steve (ss835w)1-2/+3
2018-08-29Remove staging repo from pomRob Daugherty1-15/+0
2018-08-28Use managed guava versionGary Wu1-7/+7
2018-08-28Converted ServiceInstances to catalog db clientBenjamin, Max (mb388a)1-0/+3
2018-08-11made required pom changes for cxfBenjamin, Max (mb388a)1-2/+3
2018-08-10Downgrade CXFSmokowski, Steve (ss835w)1-1/+1
2018-08-07Merge "Upgrade CXF"Seshu Kumar M1-2/+2
2018-08-07Upgrade CXFSmokowski, Steve (ss835w)1-2/+2
2018-08-07remove the arquilian from parent pom.xmlseshukm1-1/+1
2018-07-31Containerization feature of SOBenjamin, Max (mb388a)1-600/+798
2018-07-16ARIA being removed from the SO reposeshukm1-1/+1
2018-05-04Add enforcer.skip to pom.xmlArthur Martella1-0/+1
2018-04-26Fix library CVEs in SOchenying831-0/+18
2018-04-06Update docker tag conventionJessica Wagantall1-1/+1
2018-03-27Fix Jar vulnerability and licensingByung-Woo Jun1-1/+1
2018-03-27Dependency version updates for BeijingRob Daugherty1-3/+1
2018-03-23Add mokito-core dependencyManamohan Satapathy1-6/+6
2018-03-21added custom validators for use with openpojoBenjamin, Max (mb388a)1-14/+11
2018-03-20NexusIQ security violation - httpclientRob Daugherty1-1/+1
2018-03-19Use updated ONAP SO/libs artifactsArthur Martella1-1/+1
2018-03-19Merge "Fix the Jar vulnerability and licensing"Seshu Kumar M1-1/+1
2018-03-19Fix the Jar vulnerability and licensingByung-Woo Jun1-1/+1
2018-03-16Upgrade to latest oparentGildas Lanilis1-1/+1
2018-03-14AT&T 1712 and 1802 release codeRob Daugherty1-1/+174
2018-03-09Pom parents fixed in aria build.dfilppi1-1/+1
2018-03-07Fix Aria compilation issuesubhash kumar singh1-1/+1
2018-03-02Revert previous Test commitRob Daugherty1-1/+0
2018-03-02Merge "Test commit in Test branch"Rob Daugherty1-1/+1
2018-03-02Test commit in Test branchArthur Martella1-1/+1
2018-02-23Add ARIA subtree to builddfilppi1-1/+1
2018-02-22Port SO artifacts to ONAP folder structureArthur Martella1-1/+1
2018-01-03Fix the compilation issue.seshukm1-1/+1
2017-12-27Added back commented modulesdfilppi1-2/+2
2017-12-26Added module to build for aria-rest-serverdfilppi1-2/+3
2017-12-01Bump minor versionJessica Wagantall1-4/+4
2017-11-16changed artifact versionseshukm1-1/+2
2017-10-31Initial commit for the docker build issueseshukm1-1/+2
2017-10-08Fixes for sonar coverage in bpmnRob Daugherty1-3/+7
2017-09-29Fix the SO build issuesDeterme, Sebastien (sd378r)1-403/+405
2017-09-27Update POM to inherit from oparentRob Daugherty1-0/+8
2017-09-13Remove maven-license-plugin from pom.xmlRob Daugherty1-39/+0
2017-09-11Merge "Cleanup project's name in Sonar"Seshu Kumar M1-1/+1
2017-09-08Cleanup project's name in SonarJessica Wagantall1-1/+1
2017-09-081710 Rebase - Second AttemptArthur Martella1-27/+5
2017-08-04Another attempt to fix deploy problemRob Daugherty1-1/+1
2017-08-04Failed to deploy so artifacts in nexus (again)Rob Daugherty1-1/+1
2017-08-01Failed to deploy so artifacts in nexusRob Daugherty1-2/+2
2017-07-20More pom changes needed since repos were renamedRob Daugherty1-1/+1
assertValidate(argsOnlyKeyNoValue, ERR_MSG_POLICY_CONFIG_FILE); assertFalse(testCmd.checkSetConfigurationFilePath()); } @Test public void testValidate_ShouldThrowExceptionWhenFileNameDoesNotExist() { String[] fileNameNotExistentArgs = {"-c", "someFileName.json"}; assertValidate(fileNameNotExistentArgs, "fake policy cpm configuration file \"someFileName.json\" does not exist"); } @Test public void testValidate_ShouldThrowExceptionWhenFileNameIsNotFile() { String[] folderAsFileNameArgs = {"-c", "src/test/resources"}; assertValidate(folderAsFileNameArgs, "fake policy cpm configuration file \"src/test/resources\" is not a normal file"); } @Test public void testAddExtraOptions() throws CommandLineException { Option extra = Option.builder("p").longOpt("property-file") .desc("the full path to the topic property file to use, the property file contains the " + FAKE_COMPONENT + " properties") .hasArg().argName("PROP_FILE").required(false).type(String.class).build(); CommandLineArgumentsHandler testCmdExtraOpt = new CommandLineArgumentsHandler(FAKE_HELP_CLASS, FAKE_COMPONENT, extra); String[] args = {"-p", TEST_PROPERTY_FILE}; testCmdExtraOpt.parse(args); assertTrue(testCmdExtraOpt.checkSetPropertyFilePath()); assertThat(testCmdExtraOpt.getFullPropertyFilePath()).contains(TEST_PROPERTY_FILE); String[] argsNoProperty = {"-p", ""}; testCmdExtraOpt.parse(argsNoProperty); assertFalse(testCmdExtraOpt.checkSetPropertyFilePath()); } @Test public void testNewOptions() throws CommandLineException { Options newOptions = new Options(); newOptions.addOption( Option.builder("a").longOpt("fake-option").desc("the fake property to check command line parse") .hasArg().argName("FAKE_OPT").required(false).type(String.class).build()); CommandLineArgumentsHandler testCmdExtraOpt = new CommandLineArgumentsHandler(FAKE_HELP_CLASS, FAKE_COMPONENT, newOptions); String[] args = {"-a", "aaaa"}; testCmdExtraOpt.parse(args); assertTrue(testCmdExtraOpt.getCommandLine().hasOption("a")); // should raise exception as -c is not present on options; // default options should've been replaced by constructor parameter. String[] argsError = {"-c", "aaaa.json"}; assertThatThrownBy(() -> testCmdExtraOpt.parse(argsError)).hasMessage(ERR_MSG_INVALID_ARGS) .hasRootCauseMessage("Unrecognized option: -c"); } private void assertValidate(String[] testArgs, String expectedErrorMsg) { try { testCmd.parse(testArgs); } catch (CommandLineException e) { fail(e.getMessage()); } assertThatThrownBy(() -> testCmd.validate()).hasMessage(expectedErrorMsg); } }