Age | Commit message (Collapse) | Author | Files | Lines |
|
added test case to test and cover the new methods 'setTemplateDataForStore' and
'getTemplateDataFromStore' in mapping-editor.service
Issue-ID: APPC-1064
Change-Id: I473672f9976fa29d7412608c88bda6566b525f36
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
added test cases to test an cover new metho 'setTraceVl()' function in
utility.service
Issue-ID: APPC-1064
Change-Id: Ifd9c87e48b36e8d11614de68a0f022b01b4d3537
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
added test case to test and cover the new method 'validateVnfName()'
in myvnfs.component.
Issue-ID: APPC-1064
Change-Id: I5e45480efd7c18ced7d56b01e3dbb7aff4f3d9e8
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Fixed ng test errors that were caused due to code changes in
reference-dataform component
Issue-ID: APPC-1064
Change-Id: Idd2a4ded0efa6d5955911cdab3e85cd819de481b
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
APPC CDT Should Support Multiple Templates For Configure and
ConfigModify for VNFs with VNFC level templates.
CDT would be used to create a single reference artifact for a VNF.
For the Configure related actions (Configure and ConfigModify)
vnfc-type to be shown at the top. The user would have a new link
below it, to be able to add each vnfc-type. For each vnfc-type,
the user would create the associated template and PD file as usual.
The fix required to modify several visual elements and variables
related to VNFC Types on MyVNFS page, ReferenceData page, Template
page and Parameters page. Also a number of supporting services were
modified. New Modal window type is now used for VNFC-related dialogs.
Change-Id: Ibbbb50e2ff6f96783c0aea89a6870d7c28021ba0
Issue-ID: APPC-1010
Signed-off-by: od7427 <od7427@att.com>
|
|
The HttpUtilService was injected into parameter-definition service, but
was never used. Hence removing it.
Issue-ID: APPC-1149
Change-Id: Iec30f6ab4a36920b46f9458b01be8cc58f964cc0
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Test case in aboutus.component spec file failed iwth below error. Fixed
this.
"Failed: Expected Response with status: null null for url:null to be
'some data'"
Issue-ID: APPC-1064
Change-Id: If1b0dbbc68c69cbb62799b31ccb93b7ab06ee9ac
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
The NgbModal from ng-bootstrap library was injected in aboutus
component, but never used. Hence removing he code that injects the
NgbModal into component.
The getDismissReason() function in aboutus component is also not used.
hence removing that method.
Issue-ID: APPC-1149
Change-Id: I41f20cc1d55acac61dd1e8865f4c2d8cb5f0bee9
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
The mapping-editor service is injected into login-guard-service, but is
never used. Hence removed it.
Issue-ID: APPC-1149
Change-Id: Ic11bcb8246199cc308fca0914e7e4e0d690716fb
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
The NotificationService was injected into test component , but was never
used. Hence removing it.
Issue-ID: APPC-1149
Change-Id: I602eacec516877663e6c22881460573bc4259107
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
In navigation.component.html file, modal-pop-up was implemented which is
never used anywhere in the component. Hence removing it.
Issue-ID: APPC-1054
Change-Id: Ib9087f7c07a4dd494a350f3a24390150512afbdc
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
wrote test cases to cover modal component.
Issue-ID: APPC-1064
Change-Id: I0ad365ef28e4ae411cdf5d02588767cf79bdc4c5
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Moved the hardcoded values from parameter-definition service to
app-contants as variables.
Issue-ID: APPC-1054
Change-Id: Ib61aea5eec6d9c87405179711a347a18e58b2c4a
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
The NgbActiveModal of ng-bootstarp is injected into auth-guard-modal,
but is never used. hence removing it.
Issue-ID: APPC-1149
Change-Id: Ie1ba8b11ffb334105bbc6a5a2575fe1507d276e5
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
5 of the test cases in template-configuration spec file failed as these
tets cases were trying to access the component instance which was only declared but not defined. Fixed this issue.
Issue-ID: APPC-1064
Change-Id: Iadbc3b7b66ed30089400e35cf5632a72f5a34991
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Wrote test case to cover handleKetCompletion function in mapping-editor
service.
Issue-ID: APPC-1064
Change-Id: Iefb8e1d5dca1fedbcb6e50d9733ead46d6b5ee0e
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
wrote test case to test getKeysForValues() function
Issue-ID: APPC-1064
Change-Id: I7055986e9722a9b3889601ce94c3da7dcc16b96e
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
wrote test case to cover processResponseKeys function
Issue-ID: APPC-1064
Change-Id: Id8ba082a07ef046485aafae6b9be1f6f80db4ef9
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
wrote test case to test checkRefDataReqFields() funtion when action,
device-protocol and scope values are set to blank.
Issue-ID: APPC-1064
Change-Id: I405aca5092e631183e690bcd60b10439f1396568
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Unsubscribed from subscription in template-configuration component. This
will release any resources that the subscription holds when the
component is destroyed.
Issue-ID: APPC-1049
Change-Id: Icbf3575e034a693f7357782826690d079945faa7
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
wrote test case to test order-by-pipe to return proper value when
orderby parameter is not set.
Issue-ID: APPC-1064
Change-Id: I4496e9a3371b540ce0da63ef254a4d9bc4214710
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
wrote test case to test table-filter pipe to return proper value when no
query parameter is passed
Issue-ID: APPC-1064
Change-Id: I29826f3413fd8dfe7b86c6461f0d7a7a237520b4
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Wrote test cases to cover checkNotNull function in utility service.
Issue-ID: APPC-1064
Change-Id: Icb9dc8872634e8772349e1bbbb7f15f39d292aec
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
wrote test case to test checkRefDataReqFields() function to notify error
message when no valid template identifier is selected.
Issue-ID: APPC-1064
Change-Id: I083abfd29aac325938116c5acc604e737a0d09ae
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
wrote test case to test canActivate function to navigate user to login
page if the user is not logged in.
Issue-ID: APPC-1064
Change-Id: Icc5a137474f69b8f9a8c2bc386ecc2b784f64ebb
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
wrote unit test case to test openModel function of referenceDataForm
component.
Issue-ID: APPC-1064
Change-Id: I4dcd719876df1bd1ce4a30baa7131f081b9923b2
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
wrote test case to cover contains function of the directive
Issue-ID: APPC-1064
Change-Id: I510d121be6dff5c286a89db13bde5c9c46216e85
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
wrote test case to cover toggle function.
Issue-ID: APPC-1064
Change-Id: Ia10c602e385bb087114b16e58fed03ddc51b8d31
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
wrote test case to cover processApiSubscribe function on artifact upload
Issue-ID: APPC-1064
Change-Id: I9e01f6c9e9a099a5fff44924ed4158efeb56d467
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Moved few of the hardcoded values from reference-dataform component to
app-constants file as variables
Issue-ID: APPC-1054
Change-Id: Ib8afe569b7c669f50bf3eeec88deec27711c49a4
Signed-off-by: Arundathi patil <arundpil@in.ibm.com>
|
|
Added test case to cover canActivate method when referenceObject is not
defined.
Issue-ID: APPC-1064
Change-Id: I19d08cf1e0b6426e52d1db48be89ed8e76864560
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
added test case to cover fileChange() method in reference-data-form spec
file.
Issue-ID: APPC-1064
Change-Id: Id27e82a648e9bb578035bc90505e15b12a0c8654
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
removed fdescribe from auth-gurad-modal spec file which was accidentally checkedin in the previos checkin
Issue-ID: APPC-1064
Change-Id: I15856005e9ef7df13ec58e46287b6437d610917d
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Removed fdescribe from gcauth-guard spec file which was accidentally
checkdin in the previous change.
Issue-ID: APPC-1064
Change-Id: Iaefd0d3ed9d7909b0fb55b16a19070227ae6b86b
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
fixed test case 'should retrive PD from cache' that was failing with the
below error as it was expecting wrong value.
Error: Expected [ ] to be 'TEST PD INFORMATION'
In this test case, ngAfterViewInit() method is called which returns the
PD data. This PD data is stored into variable called
'displayParamObjects' and then this variable is returned to the calling
function.
The value for 'displayParamObjects' is set in getPDFromSession() method
which makes a async http call to get the PD data, so even before the
results of the async call are returned, ngAfterViewInit() method
returns the empty 'displayParamObject' variable.
Hence changed the expected value to the actual value returned by
ngAfterViewInit() method.
We can write a seperate test case to test the async call made by
getPDFromSession() method.
Issue-ID: APPC-1064
Change-Id: I0b8f38b6e52dc7478a4ab510ca3ff10ff81ae0ca
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Test case in param-name-value was failing as it was expecting wrong
value. Fixed this issue.
Issue-ID: APPC-1064
Change-Id: Iaee9cb29b40ee2e2e39632cd91ef81c91d9e8c1c
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Change-Id: Iff159e8cc2c9e9a181b7ad1db20183560e23b2df
Issue-ID: APPC-1126
Signed-off-by: Taka Cho <tc012c@att.com>
|
|
Test cases in param-name-value.component.spec file failed with below
error,
Error: No Provider for Utility service
Fixed this error
Issue-ID: APPC-1064
Change-Id: Ie0e63be45b1cdde0bd2169168c562452babd6aa5
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Wrote test cases to cover gcauth guard service
Issue-ID: APPC-1064
Change-Id: Iaa01bc22b1fdb52f0cecb7b6c20502c8f6f05a14
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Wrote test case to cover auth-guard component
Issue-ID: APPC-1064
Change-Id: Id9da15a608fd7954c380cffac4d94044ae4fe1f5
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Test cases in test component spec file failed with below error,
Eroor: No provider for NgxSpinnerModule.
Fixed this error
Issue-ID: APPC-1064
Change-Id: I89db4044b3fbc62cae4656e93a6b4519fb5cd0aa
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Wrote test case to cover upload function in refernce-dataform.component
Issue-ID: APPC-1064
Change-Id: I44c62b944c14b9f66fc2117ad7d578b2388e973b
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Wrote test cases in uitilityService to cover processApiSubscribe
function
Issue-ID: APPC-1064
Change-Id: Id6852114581a761550f49fa59e749140d377f0fc
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Wrote test case to cover setValues method pf parameter-definitions
service
Issue-ID: APPC-1064
Change-Id: I5e43aba3c6af733cf20922036ef7ad09b86a7cdd
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Wrote test cases to cover updateAccessUpdatePages method in
build-artifacts component.
Issue-ID: APPC-1064
Change-Id: If654c89d1daf1d9639aa172c08f3270b6337ba0e
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Test case in aboutus component spec file failed with below error,
Error: this.http.get is not a function
Fixed this error
Issue-ID: APPC-1064
Change-Id: I59426d9a96ab67a7fbef6c540be26b7204a7ee7f
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Wrote test case to cover navigateToreference method of myVnfs component
Issue-ID: APPC-1064
Change-Id: Ie6417fb2e975164c9d5226d7e270ec4f7dbbdb1a
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Test case in userlogin form was expecting wrong values because of which
the test case failed. Changed the test case expecting values to proper
values.
Issue-ID: APPC-1064
Change-Id: I9b1aedc70a806b235c0b56d936370e8a1a62d2dd
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Test cases in userLogin-form spec file failed with below error,
Error: Cannot read property 'root' of undefined.
This error was because, activated route was not injected into the
testingbed. Fixed this error.
Issue-ID: APPC-1064
Change-Id: Ib9978b73be744204e8dd64b97abbc0959a4e5839
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Test cases in aboutus component spec file failed due to the changes made in ts
file. Fixed these issues
Issue-ID: APPC-1064
Change-Id: Ief9c517de5ecb57bac8787e064b2bec3f7c50f2c
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|