aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-requests-db
AgeCommit message (Collapse)AuthorFilesLines
2018-08-02update infra apihandler to utilize restBenjamin, Max (mb388a)2-0/+65
rather than direct access Change-Id: I0cd3d3902e32249263298f91263401ce05c34be3 Issue-ID: SO-790 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-07-31Containerization feature of SOBenjamin, Max (mb388a)82-5738/+3750
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-04-19getOperationStatusByServiceId db result is listYulian Han2-4/+9
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064302 Issue-ID: SO-578 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-04-06Restore SERVICE_NAME to OPERATION_STATUS tableRob Daugherty1-0/+1
This column was inadvertantly renoved during a recent merge. Change-Id: Iae31822b412ebb04f4a5b26c639c606fc4467675 Issue-ID: SO-560 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-03-28removed unused api-handler codeBenjamin, Max (mb388a)1-26/+0
Change-Id: I4fc23794cc96092ca4144bd847de91cff4bdb02b Issue-ID: SO-548 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-03-28improved request-db test coverageBenjamin, Max (mb388a)14-717/+892
Change-Id: I790517aaa524189c09fcc59d23dd301758f0145c Issue-ID: SO-544 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-03-28Junit for mso.requestsdbSP005016389-259/+614
Adding Junit for: 1.InfraRequests.java 2.OperationalEnvDistributionStatus.java 3.OperationalEnvServiceModelStatus.java 4.OperationStatus.java 5.ResourceOperationStatus.java 6.SiteStatus.java 7.WatchdogComponentDistributionStatus.java 8.WatchdogDistributionStatus.java 9.WatchdogServiceModVerIdLookup.java Sonar link: https://sonar.onap.org/code?id=org.onap.so%3Aso&selected=org.onap.so%3Amso-requests-db%3Asrc%2Fmain%2Fjava%2Forg%2Fopenecomp%2Fmso%2Frequestsdb Change-Id: I5059fd48b3f33b00a256eeadf00d6d181b78cb1f Issue-ID: SO-540 Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
2018-03-20Increase column size for AIC_CLOUD_REGIONMunir Ahmad1-1/+1
Change-Id: If332d9cf44a3feac6f99039dd64d9eb8d8dc2b19 Issue-ID: SO-499 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-14AT&T 1712 and 1802 release codeRob Daugherty35-48/+3241
This is code from AT&T's 1712 and 1802 releases. Change-Id: Ie1e85851e94bc66c4d9514a0226c221939531a04 Issue-ID: SO-425 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-03-09Revert Reduce log noise/warningsRob Daugherty1-94/+47
This reverts commit 327b17ab250b4c17cf3f91f5e4cd9bffd89f3d1e. It is seriously impeding our ability complete the promised merge of AT&T 1802 code. While I'm all for coding standards, if we are serious about using spaces instead of tabs, then I think we need to (1) agree with the community when this will happen, (2) do consistently in all files, and (3) enforce it. Change-Id: Ib9b996f6b6c7d81ac9ac95d58b0c7d8cc39675ff Issue-ID: SO-368 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-03-08Reduce log noise/warnings format to conventionsMarcus G K Williams1-47/+94
Reduce build log warnings by formatting tests to ONAP code conventions (removing tabs etc.) Issue-ID: SO-368 Change-Id: I48c6d359b83617aebeb79db4e30c1d72d31f7eec Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-03-06Fix javadocMunir Ahmad1-1/+1
Change-Id: Iddc39df32089e1a37c04d089522ead295a037118 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-06Replace explicit type with dimond typeMunir Ahmad2-2/+2
Change-Id: I1dedb9ef1ca7b734e3cfc0a3a594d733dbd298d4 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-24Swap for loop in favor of foreachMunir Ahmad1-3/+4
Change-Id: I04b3691abd958a1455f55b8b295a7f08998b8692 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-22Port SO artifacts to ONAP folder structureArthur Martella1-2/+2
Change-Id: Ib7aea4df7e6a31cf5e1e6513b89bed6f878537af Issue-ID: SO-372 Signed-off-by: Arthur Martella <amartell@research.att.com>
2018-02-09Imporve test coverage for RequestDatabasesubhash kumar singh2-0/+295
Import test coverate for requestDatabase. Change-Id: Idc25f9758ca4c4e03460642e9e2460f0b126726e Issue-ID: SO-360 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2017-12-01Bump minor versionJessica Wagantall1-1/+1
Bump minor version in preparation for Amsterdam branching. Change-Id: Ib72ca9cab2782a4fee15fff8f0653f0c53ad9f71 Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-16changed artifact versionseshukm1-1/+1
IssueId: SO-346 Change-Id: I4bd910032baa26c2aa154d3860bf4d34ecf7d9dd Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-11-10Changed hibernate config fileseshukm1-19/+19
IssueId : SO-331 Change-Id: If4ce90732d60a2bdea8afd723eb49db0e72d2043 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-11-02Add test cases for GET E2E svcseshukm1-0/+64
IssueId: SO-260 Change-Id: Ie57b57b98472f6d8b012137562713de02d6a516c Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-26Fix voLTE Create workflow issuec001491072-0/+21
Fix voLTE Create workflow issue Change-Id: I3b615ee87e6cf5779376ee6bf7a3b5fa2be3e62c Issue-ID:SO-269 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-10-19Deal With Error Response from Vfcc001491076-10/+125
Deal With Error Response from Vfc Change-Id: Id5ce999d561099581b49524969c901ac6dac3f90 Issue-ID:SO-233 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-10-12Update hibernate files to initialize timestampJim Hahn3-3/+7
Updated the hibernate hbm.xml files to correct the following issues: 1) Timestamps had generated="insert" but hibernate was not auto-populating the timestamp value thus the DB was generating an exception. Modified the definition of this field to cause hibernate to provide the default value of CURRENT_TIMESTAMP. This impacted most of the hbm.xml files. 2) While running junit tests, the following message appeared in the log underneath most of the hbm.xml files: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide! Updated most of the hbm.xml files, changing the namespace per the guide. Note: a couple of the files were already correctly configured. Change-Id: Id96775b7bd7a42da0c00e208e33aed6fa96ab996 Issue-Id: SO-215 Signed-off-by: Jim Hahn <jrh3@att.com>
2017-09-27Fixed string literal comparision issueshashikanth1-3/+3
Fix major sonar issues in so module https://sonar.onap.org/component_issues?id=org.openecomp.so%3Aso#resolved=false|severities=BLOCKER%2CMAJOR|rules=squid%3AS1132%2Csquid%3AS1143 Move the "GetLayer3ServiceDetailsRequest" string literal on the left side of this string comparison. Issue-Id: APPC-186 Change-Id: I927555425a3a6294eee56f9c7377abc9f4a9ad05 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-25Modified string literal comparision.shashikanth1-27/+27
Move the "vnf" string literal on the left side of this string comparison. Issue-Id:SO-118 Change-Id: Ia964db05bfffc2c519065afc0016253f9c665d55 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-18Fixed issues in api-handlerseshukm1-1/+1
Issue-Id: SO-141 Change-Id: Ib08122f5e811ee7638edb59220b34d09fec36329 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-09-11Fix for SONAR critical issuesseshukm1-12/+5
Issue Id : SO-117 Change-Id: I7774a2d35f46398c3c3d6a9b4da97a0a52ef941e Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-09-11Change the header to SOSeshu-Kumar-M8-8/+8
IssueId: SO-120 Change-Id: Ic7be2d1eba06cb1b3bb15b7ccec5856d1528e23b Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-09-081710 Rebase - Second AttemptArthur Martella12-2793/+126
This commit rebases changes from openecomp-mso/internal-staging-1710 up to and including this codecloud commit: 54483fc6606ddb1591a2e9da61bff8712325f924 Wed Sep 6 18:12:56 2017 -0400 Rebasing was done on a branch on top of this commit in so/master in ONAP: 93fbdfbe46104f8859d4754040f979cb7997c157 Thu Sep 7 16:42:59 2017 +0000 Change-Id: I4ad9abf40da32bf5bdca43e868b8fa2dbcd9dc59 Issue-id: SO-107 Signed-off-by: Arthur Martella <amartell@research.att.com>
2017-08-30Add Operation Status DB infoc001491076-1/+671
Add Operation Status DB And Interfaces for create/delete progress rest Change-Id: I1b93f219470b79b0b7e0bdcbb27a0a31408bbf5f Issue-ID:SO-41 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-08-04Failed to deploy so artifacts in nexus (again)Rob Daugherty1-2/+2
There are Linux Foundation rules (enforced by nexus) that I still don't really understand. I'm convinced this is absolutely true: The groupId of every artifact in a project MUST begin with: org.openecomp.<project> --or-- org.onap.<project> The top-level artifact is no exception. So for example, this is NOT allowed: <groupId>org.openecomp</groupId> <artifactId>so</groupId> Here's what I'm trying now. The top level pom will contain: <groupId>org.openecomp.so</groupId> <artifactId>so-parent</artifactId> Child modules will contain: <parent> <groupId>org.openecomp.so</groupId> <artifactId>so-parent</artifactId> <version>1.1.0-SNAPSHOT</version> </parent> <groupId>org.openecomp.so</groupId> <artifactId>some-child-artifact</artifactId> Note that the groupId for the direct child module will be the same as the groupId for its parent. Issue: SO-21 Change-Id: I0d3cd2eb7a1883e23e3c0878ee7fa3dd4a7d55b2 Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-08-01Failed to deploy so artifacts in nexusRob Daugherty1-2/+2
More problems encountered since mso repos were renamed. We now have found that this declaration in the top-level so pom causes the deploy to fail with a 403 Forbidden error: <groupId>org.openecomp</groupId> <artifactId>so</artifactId> We are changing this to: <groupId>org.openecomp.so</groupId> <artifactId>framework</artifactId> Issue: SO-21 Change-Id: I4e21d689c73c5071bde725127bb81482ce3d91f9 Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-07-19Fix artifact group IDs (org.openecomp.so)Rob Daugherty1-2/+2
Since the repositories were renamed from "mso" to "so" the artifact group IDs in the poms must be updated to match. Issue: SO-39 Change-Id: I617fe738a77d0f6c1d1cc0ac9474fb753f4e234c Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-05-15Refactor RequestsDatabase methodGary Wu1-42/+35
Refactor RequestsDatabase.checkInstanceNameDuplicate(). Change-Id: I274f72c874f435acbc734523f06968368e35f283 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-11[MSO-8] Update the maven dependencyxg353y9-229/+90
Update the maven depenency for sdc-distribution-client to cooperate with the sdc changes. Change-Id: I2da936e5c40cb68c7181bb78307192dd5655b5dc Signed-off-by: xg353y <xg353y@intl.att.com>
2017-04-10Remove unnecessary use of Calendar.getInstance()Gary Wu1-7/+3
Calendar.getInstance() is expensive and unnecessary when we only need the system time. This change replaces the uses of Calendar.getInstance() with System.currentTimeMillis(). Change-Id: I476f8850f5eb88d20cf7249cca5bb2e9b671b45a Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-03-13Update to version 1.1.0ChrisC1-7/+7
Change-Id: Id054e7a04ce88450c3cfe108c8259c4d287681c8 Signed-off-by: ChrisC <cc697w@intl.att.com>
2017-02-17Rework Database access classesDeterme, Sebastien (sd378r)2-84/+25
The Catalog Db and Requests DB have been reworked to be extendable by project using MSO opensource. Useless hibernate cfg.xml file have been removed too. Change-Id: I15579bde3913c9faf8eded6f92d6b5239cca512c Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-01-31Initial OpenECOMP MSO commitChrisC29-0/+4583
Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d Signed-off-by: ChrisC <cc697w@intl.att.com>