summaryrefslogtreecommitdiffstats
path: root/src/app/shared/services/utilityService/utility.service.ts
diff options
context:
space:
mode:
authorasgar <ma926a@us.att.com>2019-03-08 19:52:33 +0530
committerAsgar Samiulla <ma926a@us.att.com>2019-03-15 10:53:58 +0000
commitaf56b68e030085aa523152e83811705636ead79c (patch)
tree088c8faafb77a79a5fcc4001877dc13af4ffe936 /src/app/shared/services/utilityService/utility.service.ts
parenteedac3e312c66499ca5ff9d72388c31b25813225 (diff)
added ansible server functionality
multiple ansible server for CDT Issue-ID: APPC-1510 Change-Id: I383bc63705418654efb596c617309821ebbeb9b4 Signed-off-by: Mohamed Asgar Samiulla <ma926a@us.att.com>
Diffstat (limited to 'src/app/shared/services/utilityService/utility.service.ts')
-rw-r--r--src/app/shared/services/utilityService/utility.service.ts10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/app/shared/services/utilityService/utility.service.ts b/src/app/shared/services/utilityService/utility.service.ts
index 8a9f945..6b29a2e 100644
--- a/src/app/shared/services/utilityService/utility.service.ts
+++ b/src/app/shared/services/utilityService/utility.service.ts
@@ -18,7 +18,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-ECOMP is a trademark and service mark of AT&T Intellectual Property.
============LICENSE_END============================================
*/
@@ -73,6 +72,15 @@ export class UtilityService {
return artifactData.replace(/"/g, '\\"');
}
+ // get current date in "mm/dd/yyyy"
+ getDate() {
+ let toDay = new Date();
+ return (toDay.getMonth()+1) +"/"+ toDay.getDate() +"/"+ toDay.getFullYear();
+ }
+
+
+
+
public checkResult(result: any) {
if (result.output.status.code == appConstants.errorCode["401"]) {