Commit Graph
100 Commits
Author SHA1 Message Date
Saad Jutt 495e4b9069 test: updated RequestClient specs 2022-03-02 20:42:14 +05:00
Saad Jutt 2e843e3f36 fix: raising error with details we get from server 2022-03-02 20:25:56 +05:00
Saad Jutt 2e14d4f28c test(viya): updated specs for getAccessTokenForViya 2022-03-01 17:53:04 +05:00
Saad Jutt 96cb77da45 fix(viya): updated getAccessTokenForViya with headers based on latest docs 2022-03-01 17:42:28 +05:00
Saad Jutt efcf3b273c fix: WebJobExecutor also returns log along result 2022-02-24 22:02:17 +05:00
Saad Jutt 5ccfc18a35 fix: changed return code in case of job execution error 2022-02-24 04:06:18 +05:00
Muhammad SaadandGitHub 92434e48ad Merge pull request #655 from sasjs/node-form-data-fix
fix: not to use NodeFormData function on web
2022-02-22 17:20:00 +05:00
Saad Jutt d3c91e143a fix: parse empty string in res to empty {} 2022-02-22 17:09:47 +05:00
Saad Jutt 872e73b5f0 fix: not to use NodeFormData function on web 2022-02-22 17:06:27 +05:00
Saad Jutt 1ff67ed93c fix: added additional params to axios POST while deploy to SASJS server 2022-02-22 16:09:15 +05:00
Saad Jutt d9cb2db61f fix: reverted sasjsJobExecutor no need for that 2022-02-22 06:53:29 +05:00
Muhammad SaadandGitHub 35f37ac796 Merge pull request #650 from sasjs/sasjs-server-webout
fix: no need to parse if webout is an object
2022-02-21 15:54:12 +04:00
Saad Jutt d7ad0288b9 fix: no need to parse if webout is an object 2022-02-21 16:45:41 +05:00
Saad Jutt a6f6897543 fix: adopted new log structure of SASJS server 2022-02-20 20:50:38 +05:00
Saad Jutt c8d71b0267 fix: reverted axios-cookiejar-support package 2022-02-17 07:20:48 +05:00
Saad Jutt bfc534da15 feat: execute job on SASJS server 2022-02-17 02:01:19 +05:00
Saad Jutt ebd55c5b02 chore: provided JSDoc for deployToSASjs 2022-02-11 21:18:18 +05:00
Saad Jutt f48089cb8c fix(SASJS): sasjs server deployment with auth + refresh token bug 2022-02-11 21:04:51 +05:00
Saad Jutt 437bbe114b fix(sasjs): restrict usage of localstorage for node env 2022-01-05 16:39:59 +05:00
Saad Jutt 1ba9291746 fix: response from SASJS Server with/without debug on 2021-12-15 21:32:02 +05:00
Saad Jutt 2c10b9c65c chore: typedoc updated 2021-12-13 17:01:59 +05:00
Saad Jutt c56874fe00 feat: login for web with server type SASJS 2021-12-09 17:13:47 +05:00
Saad Jutt ebe9c2ffeb feat: get access token & refresh tokens for server type SASJS 2021-12-09 11:43:50 +05:00
Saad Jutt 182de51f9b chore: added comments 2021-12-05 19:27:07 +05:00
Saad Jutt 712d1549c7 feat(server): added sasjs server support 2021-12-05 18:31:36 +05:00
Saad Jutt 865bf71f7d fix: updated package-lock + updated node version for workflow 2021-10-29 13:32:59 +05:00
Saad Jutt bc82cb5f5e chore: TSDoc comment updated 2021-10-29 00:29:14 +05:00
Saad Jutt ff4915f7f3 chore: comment file removed 2021-10-07 13:47:28 +05:00
Saad Jutt 6ff8eece7b chore: removed httpsAgent type + clean up 2021-10-07 13:45:50 +05:00
Saad Jutt 2849e6ed07 test(RequestClient): updated 2021-10-06 14:06:00 +05:00
Saad Jutt 7f590c35da test(RequestClient): fixed to use actual axios 2021-10-01 15:42:04 +05:00
Saad Jutt e975e7de97 test(RequestClient): specs for communicating with self-signed server 2021-10-01 12:03:44 +05:00
Saad Jutt f0ecfa57e5 BREAKING CHANGE: boolean allowInsecure is replaced configuration of Https Agent 2021-09-28 16:02:12 +05:00
Saad Jutt 369a035e8a fix(webJobExecutor): append resend request for viya's getJobUri authentication 2021-09-20 13:28:41 +05:00
Saad Jutt e5655033c1 fix(jobExecutor): appending resend requests before login call 2021-09-20 12:52:49 +05:00
Saad Jutt 15ff90025a fix(fileUploader): added loginCallback 2021-09-14 05:58:40 +05:00
Saad Jutt 10cf4998f5 fix(loginPrompt): z-index added 2021-09-13 18:02:26 +05:00
Saad Jutt f714f20f29 chore(fileUploader): support loginCallback and re-submit request 2021-09-13 17:45:35 +05:00
Saad Jutt 19adcc3115 chore: FileUploader extends BaseJobExecutor 2021-09-13 17:42:41 +05:00
Saad Jutt ec9dbd7ad6 chore(imprvements): code changes for fileUploader 2021-09-13 07:30:26 +05:00
Saad Jutt 539405e249 chore: fixed sasjs-tests build 2021-09-09 15:30:12 +05:00
Saad Jutt 4623b9665b chore: login prompt dialog bug fixed 2021-09-09 11:29:12 +05:00
Saad Jutt 3ae0809ee5 test(AuthManager): improved coverage 2021-09-09 04:37:30 +05:00
Saad Jutt 0ea6e839ac test: added for verifySasLogin 2021-09-08 15:08:55 +05:00
Saad Jutt a00bf5ba67 test(AuthManager): specs added for redirected login 2021-09-08 13:04:03 +05:00
Saad Jutt e0b09adbba chore: code refactor renamed variables/functions 2021-09-08 06:30:53 +05:00
Saad Jutt 19a57dbf6e chore: code refactor renamed variables/functions 2021-09-08 05:49:24 +05:00
Saad Jutt cd2b32f2f4 test(checkSession): extract username from server response 2021-09-07 06:08:17 +05:00
Saad Jutt a1f5355d6a chore: fetch username for Redirected-Login and return 2021-09-07 05:26:42 +05:00
Saad Jutt 0972c0deaa chore(merge): Merge branch 'master' into redirected-login 2021-09-07 05:05:51 +05:00
Saad Jutt 351a22cb3c fix: deriving username with full name 2021-09-06 12:52:40 +05:00
Saad Jutt 3ccd35a4e2 fix: if username is not present in SAS9, derive it with full name 2021-09-06 12:42:26 +05:00
Saad Jutt e4956cc1d4 chore: test corrected for AuthManager 2021-09-05 12:06:27 +05:00
Saad Jutt 291ba51b07 fix(request): handled error case for sas9 server 2021-09-05 11:55:17 +05:00
Saad Jutt f40a86f0f6 chore(redirectLogin): onLoggedOut callback should be an async 2021-09-02 13:43:07 +05:00
Saad Jutt 867422f4cc fix: extraResponseAttributes for WebJobExecutor + sasjs-tests 2021-09-01 03:50:55 +05:00
Saad Jutt 2a6e29b5b8 fix: username returns from checkSession 2021-09-01 03:49:44 +05:00
Saad Jutt e4d669f9b6 chore: typo fixed userName 2021-08-31 12:58:47 +05:00
Saad Jutt 5edf09e0a7 fix: usernames to lower case 2021-08-31 12:50:04 +05:00
Saad Jutt 5a695f495c chore: login returns username 2021-08-31 12:39:04 +05:00
Saad Jutt f231edb4a6 chore: redirect login with onLoggedOut callback 2021-08-31 12:36:20 +05:00
Saad Jutt 389ef94cd5 feat(login): redirect mechanism - in page link to open popup 2021-08-28 10:01:20 +05:00
Saad Jutt 4c90f66dbc chore(merge): Merge branch 'master' into redirected-login 2021-08-27 23:34:52 +05:00
Saad Jutt 83353326fb test(AuthManager): fixed 2021-08-26 10:44:06 +05:00
Saad Jutt db7a5d601e fix(login): code refactor + sasjs-tests updated 2021-08-26 10:33:00 +05:00
Saad Jutt ee977f4fab chore(merge): Merge branch 'master' into extract-username-while-check-session 2021-08-26 09:02:40 +05:00
Saad Jutt 1a59f95be7 fix: split code to files + corrected usage of loginCallback 2021-08-25 07:55:04 +05:00
Saad Jutt 97918f301b chore(redirectLogin): centered popup + verifying sas9 login + sasviya login fixes 2021-08-22 03:57:23 +05:00
Saad Jutt f2da84829e fix(fileUploader): parsing debug response for SASVIYA 2021-08-09 17:28:55 +05:00
Saad Jutt fc1c93957c fix: while checking session extract username also 2021-08-07 07:32:48 +05:00
Saad Jutt 1bb7807c25 chore(merge): Merge branch 'master' into removed-url-package 2021-07-16 04:12:20 +05:00
Saad Jutt db578564ba fix: removed url package 2021-07-13 17:11:49 +05:00
Saad Jutt 2d0515e25b chore(merge): Merged master branch 2021-07-05 13:17:08 +05:00
Saad Jutt b132b99586 fix: globstars support on mac with copyfiles 2021-07-05 13:11:40 +05:00
Saad Jutt 6cac008b61 fix: updated 'prepare' + using copyfiles instead of cp 2021-07-05 04:06:04 +05:00
Saad Jutt 00b19de497 chore: sasjs-tests package-lock.json updated 2021-06-17 19:35:24 +05:00
Saad Jutt f4cdd2d607 fix: CAS Authentication upon SAS9 login 2021-06-17 19:33:58 +05:00
Saad Jutt bc6f109c48 fix: make duplicate request only if payload is present 2021-06-17 14:37:46 +05:00
Saad Jutt cfab64cfa0 fix: first request after login redirects from server 2021-06-17 08:31:40 +05:00
Saad Jutt 541c19c1a4 chore(merge): Merge branch 'service-pack-with-file-resource' of github.com:sasjs/adapter into service-pack-with-file-resource 2021-06-13 16:26:27 +05:00
Saad Jutt c5e995f8d6 chore: TSDoc comments updated 2021-06-13 16:25:04 +05:00
Saad Jutt b61cf34723 chore(merge): Merge branch 'master' into service-pack-with-file-resource 2021-06-10 16:55:35 +05:00
Saad Jutt 22445d1268 fix: uploading file Buffer with FormData 2021-06-10 16:49:20 +05:00
Saad Jutt c5824a8a8d fix: using mime package to determine content-type 2021-05-30 23:47:31 +05:00
Saad Jutt 56a1960fff feat: create file resource while deploying service pack for viya 2021-05-30 05:58:17 +05:00
Saad Jutt 88f08e8864 fix: removed extra slash + added tests 2021-05-07 05:26:08 +05:00
Saad Jutt 80e5de5d65 fix: master tests fixed 2021-05-06 22:28:06 +05:00
Saad Jutt 6f2f11d112 fix: fetch session log for session failed/stopped state 2021-05-03 18:26:22 +05:00
Muhammad SaadandGitHub 4826388cdd Merge pull request #310 from sasjs/issue-309
Issue 309
2021-03-29 18:07:51 +05:00
Muhammad SaadandGitHub a023ffe850 Merge pull request #300 from sasjs/fix-log-by-chunks
fix: after job executing get complete log
2021-03-23 14:33:57 +05:00
Muhammad SaadandGitHub a4e77ecf6e Merge branch 'master' into fix-log-by-chunks 2021-03-23 13:04:39 +05:00
Saad Jutt dde1228b1d fix: function renamed fetchLogByChunks 2021-03-23 00:50:33 +05:00
Saad Jutt b3474b6dfb fix: after job executing get complete log 2021-03-22 19:21:01 +05:00
Muhammad SaadandGitHub 6f60ac5cc7 Merge branch 'master' into allanbowe-patch-1 2021-03-09 15:33:41 +05:00
Muhammad SaadandGitHub e7ba09793c Merge pull request #272 from sasjs/dependabot/npm_and_yarn/semantic-release-17.4.1
chore(deps-dev): bump semantic-release from 17.3.9 to 17.4.1
2021-03-09 15:32:57 +05:00
Muhammad SaadandGitHub c0c0800e61 Merge branch 'master' into dependabot/npm_and_yarn/semantic-release-17.4.1 2021-03-09 15:31:46 +05:00
Muhammad SaadandGitHub 0bd9d8f93f Merge pull request #278 from sasjs/dependabot/npm_and_yarn/webpack-5.24.4
chore(deps-dev): bump webpack from 5.21.2 to 5.24.4
2021-03-09 15:31:37 +05:00
Muhammad SaadandGitHub 55b0e2f934 Merge branch 'master' into dependabot/npm_and_yarn/webpack-5.24.4 2021-03-09 15:30:18 +05:00
Muhammad SaadandGitHub 609cd4ed6d Merge pull request #280 from sasjs/dependabot/npm_and_yarn/typedoc-0.20.30
chore(deps-dev): bump typedoc from 0.19.2 to 0.20.30
2021-03-09 15:29:36 +05:00
Muhammad SaadandGitHub 7ec1c152e3 Merge pull request #279 from sasjs/dependabot/npm_and_yarn/sasjs/utils-2.6.3
chore(deps): bump @sasjs/utils from 2.5.0 to 2.6.3
2021-03-09 15:26:27 +05:00