Age | Commit message (Collapse) | Author | Files | Lines |
|
getInstanceName throws exception if requestScope doesn't match modelType
Updated to combine separate return statements
Replaced if statements for modelType and added tests
Replace if statements for modelType in ResumeOrchestrationRequest and
added tests
Added coverage for setId in ModelType
Updated to use ModelType setters/getters
model type can now get and set generically
Added modelInfo to RequestBody for resume request
Added getModelType call and unit tests
Moved getModelType from ServiceInstances
Moved getModelType and added unit tests
Added tests for getIsBaseVfModule
Added more tests for isBaseVfModule
Began adding tests for getIsBaseVfModule
Updated currentActiveRequest creation and isBaseVfModule
Updated recipe lookup and setting of aLaCarte to be more general
Updated concurrency control to include other resources
Change-Id: I12ad011d0a021c3ee066e16b4c8a4526d040cbe3
Issue-ID: SO-1963
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
|
|
|
|
enums are now single item per line
Change-Id: I6330ea4a9093071457dd47b95b6ed3bb7f8312e7
Issue-ID: SO-1970
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
|
|
Updated schema.sql to fix failing tests
Added constants for request parameters
Added originalRequestId to be saved on resume request
Added originalRequestId to orchestrationRequests response
Change-Id: If2b86d233ee3db9bbe0e1185d92874bca2b3a07a
Issue-ID: SO-1960
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
|
|
|
|
Improvements in AAIClientHelper according to the Sonar analysis.
Removed unnecessary exception throwing.
Fixed imports.
Updated java docs.
Issue-ID: SO-1958
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
Change-Id: I60835304466bb656f09ba16b487907fa529e5eab
|
|
|
|
Improvements in RequestClientFactory according to the Sonar analysis.
Fixed imports.
Removed unnecessary exceptions handling.
Replaced depreciated DefaultHttpClient with a new one.
Issue-ID: SO-1947
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
Change-Id: Id497bfb620775aac67ad4c5f6d57e0fccce4fd34
|
|
Improvements in RequestClient according to the Sonar analysis.
Removed unnecessary exceptions handling.
Added junit tests.
Fixed imports.
Issue-ID: SO-1945
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
Change-Id: Iee22e7dbeb39ca28c437f9a8a804b81945cb9bc5
|
|
Removed code duplicates.
Fixed declarations of thrown exceptions.
Fixed imports.
Issue-ID: SO-1936
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
Change-Id: Ic178341b0049307da033408719ff263a00059ba7
|
|
fix toString method and add unit tests for new code
Fix Null pointer issue in UT, extra chars
Initial checkin of updates for vf module replace
Change-Id: I2d62f5c2077cd022ccf796d126494e526ad48c54
Issue-ID: SO-1893
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
|
|
Openstack request status now stored in request db
Change-Id: Ida8f4f613d406c2b834ab190e01d5aaf2f16dd3d
Issue-ID: SO-1867
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
|
|
Added logic to check if the requestId sent in GET orchestrationRequest
query is a valid UUID. Updated existing unit tests and added a new test
for invalid UUID scenario.
Change-Id: I424bef8aa75dd7e47de8145603899820dfb99725
Issue-ID: SO-1865
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
|
|
Fix resourceIndex to model in json mapping.
Change-Id: Ia609d3eb381b14fc5654774e83f8417a4d876e91
Issue-ID: SO-1393
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
|
|
Updated license for 2019 and added null check test
Moved record creation to RequestHandlerUtils
Updated uri retrieval to obtain full uri
Updated verify based on actual objects
Renamed tests for better description
Removed use of Spring in unit tests
Moved constant to other logger files
Added new class to JerseyConfiguration
Separated resume request work to separate file
Updated value that progress is saved as in db
Added new original_partner_name key for partnername retrieval
Added column for progress to be saved to db
Added additional columns to be saved to requestDb
Added inProgress request check to resume
Change-Id: I9ef1e61829be49da348b29bc255beb073b48639d
Issue-ID: SO-1831
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
|
|
Fix the sql migration version numbering to be proper
Fix marking test as private, mark public
Clean up public declarations to private
Fix schema.sql to have new column for unit test
Revert POM Change, add License, clean up comments
Fix bad spelling of method name issue
Update catalog db to support new rest endpoint
Update local query service and mappers
Localstaging of potential catalog db changes
Update logic to write overall distro status
Change-Id: I84d53b972ede3176c5af32d13444583a36606efa
Issue-ID: SO-1820
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
|
|
|
|
Store Cloud Request in Database, add to request service
Add query Param to Plural to include cloud data
Change-Id: If906d28d0dc9c0c804e550e2074af3d75ba46d32
Issue-ID: SO-1807
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
|
|
Removed commented lines/ Change static string litrals name according to the guidelines.
Issue-ID: SO-1490
Change-Id: I77a0b2a5067d71ede2de8e090ed4d0b1fb61e219
Signed-off-by: Subhosree Pan <subhosree.pan1@huawei.com>
|
|
Removed commented lines/ Change static string litrals name according to the guidelines.
Issue-ID: SO-1490
Change-Id: I4ffee97269f0f0bdcb23f5b297df8fddb0c133f1
Signed-off-by: Subhosree Pan <subhosree.pan1@huawei.com>
|
|
String constant added as per the guidance, commented out codes has been removed
Issue-ID: SO-1490
Change-Id: Ia7a531580eaafd80900200b1cf5122c1a8b9f511
Signed-off-by: Subhosree Pan <subhosree.pan1@huawei.com>
|
|
Increased junit tests coverage according to Sonar analyses.
Change-Id: I66a513d664122c1a37e64dc6eca533590b16d48c
Issue-ID: SO-1692
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
|
|
Enhancemenv for query to include group and vnfccustomization.
{
"serviceResources": {
"modelInfo": {
"modelName": "NSService",
"modelUuid": "0bad8c92-7d22-49f0-b092-b64e6ca564a7",
"modelInvariantUuid": "69161960-515b-4bf3-91f1-313b813f5e1d",
"modelVersion": "1.0"
},
"serviceType": "",
"serviceRole": "",
"environmentContext": "General_Revenue-Bearing",
"resourceOrder": "NF",
"workloadContext": "Production",
"serviceVnfs": [
{
"modelInfo": {
"modelName": "",
"modelUuid": "123",
"modelInvariantUuid": "",
"modelVersion": "",
"modelCustomizationUuid": "1234",
"modelInstanceName": "test"
},
"toscaNodeType": "",
"nfFunction": "",
"nfType": "",
"nfRole": "",
"nfNamingCode": "",
"multiStageDesign": "",
"resourceInput": "",
"vfModules": [],
"groups": [
{
"modelInfo": {
"modelName": "test",
"modelUuid": "11",
"modelInvariantUuid": "11",
"modelVersion": "2"
},
"vnfcs": [
{
"modelInfo": {
"modelName": "xfs",
"modelUuid": "22",
"modelInvariantUuid": "2222",
"modelVersion": "22222",
"modelCustomizationUuid": "2222"
}
}
]
}
]
}
],
"serviceNetworks": [],
"serviceAllottedResources": []
}
}
Issue-ID: SO-1393
Change-Id: Iee7f79337f73276f857d6d42b5b2416e4e8f4536
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
|
|
|
|
Removed useless assignment to local variables and reordered the modifiers
as per java language specification.
Issue-ID: SO-1490
Change-Id: I43f25854d60cd25fb472618e21f2c1c91bc1c457
Signed-off-by: NITIN KAWA <nitin.kawa@huawei.com>
|
|
Issue-ID: SO-1490"
|
|
Removal of unused local guidelines as per guidelines.
Issue-ID: SO-1490
Change-Id: I54df34d24a88b5cf7a4e3f0a222ff334b85ebe83
Signed-off-by: NITIN KAWA <nitin.kawa@huawei.com>
|
|
removal of unused file imports.
Issue-ID: SO-1490
Change-Id: I35c09f25f363c7da276beece4fff854f8f42a2f8
Signed-off-by: Subhosree Pan <subhosree.pan1@huawei.com>
|
|
Issue-ID: SO-1393
Change-Id: I643f49df545bef92f0f0e931f7b7ce1a5dbc21c0
Signed-off-by: zm330 <zhangminyj@chinamobile.com>
|
|
Issue-ID: SO-1393
Change-Id: Ife3b71dcfa543a693564779da44800f1dd8486e9
Signed-off-by: zm330 <zhangminyj@chinamobile.com>
|
|
|
|
|
|
|
|
Define String Literal,use in place constant InfraActiveRequestsRepositoryImpl
Issue-ID: SO-1490
Change-Id: I5310726dee33fda3e79ddcfdc8c077c0ef648e4b
Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
|
|
Reallocate Constructor call api handler common Constants class
Issue-ID: SO-1490
Change-Id: I07ec6ca98019860105361f622a792abdf726f30b
Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
|
|
Move Constructor call CamundaResponse class
Issue-ID: SO-1490
Change-Id: I60d31c31dff8a27319a0e85624c4d7b1eeeca032
Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
|
|
Shift Constructor call CamundaResponse class
Issue-ID: SO-1490
Change-Id: Ie4105120b0ddc50281149c65b0186b89d4570359
Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
|
|
|
|
remove unused code and added logging
Issue-ID: SO-1490
Change-Id: Ie9b0fd66d83e355617bf07c1c544daa1843a534e
Signed-off-by: Isaac Manuel Raj <isaac.manuelraj@huawei.com>
|
|
Remove unused code and members.
Issue-ID: SO-1490
Change-Id: I5e2518401c51ac646f0b78b7236b9c88387f20ff
Signed-off-by: Isaac Manuel Raj <isaac.manuelraj@huawei.com>
|
|
|
|
Updated flyway migration script to rename object as per review
comments. Used Tosca node type for determining VRF and VNF nodes
updated code based on review comments for schema.sql
Altered ConfigurationCustomizationResource for VRF-VNF to have
bidirectional relationship
ToscaResourceInstaller ConfigurationResourceCustomization was made
bidrectional
Change-Id: Ib45151ff7a40edca38d512ae76f8889b1cc4d0c4
Issue-ID: SO-1777
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
|
|
- Updated ServicesInstancesTest with mocks for
RequestDb.InfraActiveRequests query. Tests in ServicesInstancesTest
were not failing, but seeing 'HTTP method does not match' messages on
the console for most of the tests.
Change-Id: Ic029cc50da1f414d3228f80b02721e132a15c264
Issue-ID: SO-1783
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
|
|
all pom.xml files now have two spaces
validation is on for pom.xml files
Change-Id: I424ea2e4d6a549f468792e5f90a43f3a97e6c954
Issue-ID: SO-1781
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
|
|
Query CatalogDB for WorkflowSpecifications fron APIH
Change-Id: I5eef5ba9b49c0a7420ef93a5425121bfe7225b1b
Issue-ID: SO-1727
Signed-off-by: Kuleshov, Elena <evn@att.com>
|
|
Added in maven plugins to enforce coding style rules
Added in eclipse java formatting xml
Change-Id: I3727bbf4ce8dc66abfd8ad21b6cfd0890c5d3ff0
Issue-ID: SO-1765
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
|
|
|
|
Added filter to reject requests that reuse request ids
for requests db
Change-Id: Iced020a9e1bc98c93911966f62ac0049e43e314b
Issue-ID: SO-1762
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
|
|
Workflow Recipe Lookup and related Catalog Beans
Change-Id: Ib1c3493106658d139861d2620dfb9cb382115744
Issue-ID: SO-1728
Signed-off-by: Kuleshov, Elena <evn@att.com>
|
|
|