Commit Graph
100 Commits
Author SHA1 Message Date
maurizio vitale 9a90e58f0c Run the deploy Pr only for PR 2019-08-21 11:46:58 +01:00
maurizio vitale 8875113a4a Run the clean before building 2019-08-21 10:02:08 +01:00
maurizio vitale de5bf9dc88 Rollback the 3.4 version 2019-08-21 10:00:34 +01:00
maurizio vitale 3b4f3ae7b7 Revert change on update version 2019-08-20 23:22:25 +01:00
maurizio vitale ea2bfa8021 Clean the lib/dist 2019-08-20 23:02:29 +01:00
maurizio vitale 6918944a63 Clean the lib/dit 2019-08-20 22:59:02 +01:00
maurizio vitale 89b832ff18 Rollback mistake on update-version.sh 2019-08-20 22:37:52 +01:00
maurizio vitale 11e1bd7a59 Change cli dist 2019-08-20 22:18:46 +01:00
maurizio vitale 3aa2e56c02 cache the lib/dist 2019-08-20 22:02:47 +01:00
maurizio vitale 453461f8ca Use the local npm publish command 2019-08-20 21:45:04 +01:00
maurizio vitale 1407bff208 Remove the build all in the release job 2019-08-20 21:09:09 +01:00
maurizio vitale 7ab054f7e1 Add the npmrc file in the correct folder and remove after publish 2019-08-20 20:02:27 +01:00
maurizio vitale 9bd08f4968 Change the version before building 2019-08-20 17:47:22 +01:00
maurizio vitale e27e99b551 Rebuild the libs after the next alpha 2019-08-20 17:09:06 +01:00
maurizio vitale 1c37fdab81 Npm publish the dist folder 2019-08-20 16:05:06 +01:00
maurizio vitale 711a461f8b Enable the npm install on push branch 2019-08-20 15:12:32 +01:00
Maurizio Vitale 329f8b21bf Add a travis step to publish on npm (#5004) 2019-08-19 16:25:36 +01:00
Maurizio Vitale 6c969dda56 Add the npm publish as part of adf-cli (#5002) 2019-08-19 15:30:36 +01:00
Maurizio Vitale e65a1db7e9 CI/CD Improvement - Create a release with tag when we merge master (#4991)
* Create a release with tag when we merge master

* Add release name with version
2019-08-15 14:31:11 +02:00
Maurizio Vitale 623b484673 Fix the vulnerabilities (#4975) 2019-08-06 13:03:41 +02:00
Maurizio Vitale cd6eea02d0 Translate the 3.4 keys (#4967) 2019-07-31 15:35:37 +01:00
Maurizio Vitale b09f4b378f Expose a kubectl command to delete pods (#4968) 2019-07-31 15:21:47 +01:00
Maurizio Vitale 624ca9f0ae Improve the regexp to cover corner cases (#4960) 2019-07-26 13:58:37 +02:00
maurizio vitale 525f0a06db Use the adf-extensions as reference for latest alpha 2019-07-23 15:31:20 +01:00
Maurizio Vitale 233d388c07 adf-cli - New command update-commit-sha (#4951)
* Add a new command update-commit-sha that update the package.json with the latest commit. This is useful for the UI apps to track the latest commit sha of the released version

* fix typo
2019-07-23 15:13:08 +01:00
Maurizio Vitale fddd519116 Add the update version command to the adf-cli (#4956) 2019-07-23 11:46:24 +01:00
Maurizio Vitale b82d73602e k8s use a variable as serviceName (#4950) 2019-07-22 12:33:01 +02:00
Maurizio Vitale 7791205077 [ADF-4733] AdfCli - Kubectl-image add option to install the kubectl (#4941)
* add the npm install kubectl option

* fix tslint

* add docs
2019-07-16 12:49:01 +01:00
Maurizio Vitale 34aafa918c AdfCli - Add the kubectl-image to the adf-cli (#4932)
* Add the kubectl-image to the adf-cli

* fix ts lint

* remove the " from the image name
2019-07-15 11:16:35 +01:00
Maurizio Vitale d1a48a015d Fix typo on docker -f command (#4918) 2019-07-10 18:44:23 +01:00
Maurizio Vitale 05baabb8f5 Add basic readme to run the docker publish with or without login (#4917)
add the tag to the docker image
publish the docker image
clean the docker image
2019-07-10 18:07:22 +01:00
Maurizio Vitale a6e18e6c1b [ADF-4733] Create an adf-cli dispatcher to run the docker-publish (#4914)
* Create an adf-cli dispatcher to run the docker-publish

* not needed

* fix typo comma

* Create the adf-cli dist folder that contains
-bin
-script
-package.json

Build the dist folder during the ADF CI/CI pipeline
2019-07-10 15:06:35 +01:00
Maurizio Vitale 3af702f58e Read the versions.json from the relative path (#4909) 2019-07-08 16:27:42 +01:00
Maurizio Vitale f84db2216b Add the default validation array (#4852) 2019-06-14 18:07:21 +01:00
Maurizio Vitale 819ed9ae6a Fix start process form (#4847) 2019-06-13 18:21:33 +01:00
Maurizio Vitale 88c04ad7b8 Fix issue (#4844) 2019-06-13 13:50:27 +01:00
Maurizio Vitale 63f00e21cf [ADF-4468] FormCloud - Be able to display the value of a form variables (#4676)
* Fix the value passed as processDefinition
Be sure we fetch the form variables

* * Rename formId to formKey.

* * Reverted form Changes

* * Fixed failing unit test

* Fix the value passed as processDefinition
Be sure we fetch the form variables

* * Fixed failing unit test

* * Rename formId to formKey.

* * Reverted form Changes

* * Fixed failing unit test

* Fix form representation structure

* Refactor form models

* Change tslint config

* Fix lint

* Refactor form models

* Remove duplicated export

* improve variable names

* Update form mock
2019-06-12 12:50:09 +01:00
Maurizio Vitale 7b191d37eb [ADF-4631] Start Process Cloud - Add the start form as part of a process (#4820)
* Add the start form as part of a process
Ability to pre-fill a form with values
Ability to send variables

* Fix unit test

* remove empty before each
2019-06-11 12:02:26 +01:00
Maurizio Vitale 67485daece [ADF-4550] Form Cloud - Be able to upload a file on the content taken from the process-storage (#4807)
* * Process-storage

* * Used jsapiServcie

* Be able to upload a file on the content with the createNode api

* Fix lint

* Refactor

* * Removed needless method.

* Remove useless method

* Add properties type
2019-06-05 15:46:28 +01:00
Maurizio Vitale f6d8bd4130 CI - Ability to run only e2e cloud in case is the only affected folder (#4783)
* Remove skiplint option in favour of lint
Refactor protractor config

* Move rebase check

* Remove the skiplint and run only e2e cloud

* Remove the skip lint

* Change e2e cloud and check the CI runs only that one

* Enable the smart e2e on content

* Delegate the e2e run on the specific project

* Fix typo on specs option

* Add basic readme and fix process service name problem

* Fix bash else if
2019-05-28 11:04:40 +01:00
Maurizio Vitale abb76d956b e2e cloud (#4767)
* Change strategy with process cloud e2e and fixes

* Change strategy with process cloud e2e and fixes

* Fix path and host

* improve the config and run the replace for cloud

* Use the same name of other scripts

* Fix lint

* Run the replace in case of cloud

* typo

* Export variables if needed
Fix the check env passing the oauth
2019-05-23 10:24:32 +01:00
Maurizio Vitale 1141511a07 Remove the dependency with TestConfig (#4752)
* Remove the dependency with TestConfig

* Change protocol to https

* Trigger the cloud change

* Trigger the cloud change
2019-05-20 18:11:01 +01:00
Maurizio Vitale 32135e3cbc Fix the context name (#4710) 2019-05-08 19:57:20 +01:00
Maurizio Vitale c0e2429de3 Cloud script - Add users to the deploy phase (#4704)
* Add user and admin to the deploy phase

* Add user and admin to the deploy phase
E
2019-05-07 19:11:38 +01:00
Maurizio Vitale 4cfc54ad60 Improve the release note with activiti features (#4692) 2019-05-03 15:24:47 +01:00
Maurizio Vitale e88e0d9b45 [ADF-4409] ADF for Activiti Community - Be able to claim/release/complete task (#4677)
* Be able to claim/release/complete task for community
Be able to start a task/process
Fix unsubscribe on destroy

* Fix the construnctor
2019-05-02 14:30:38 +02:00
Maurizio Vitale be49e72208 [ADF-4340] FormCloud - Be able to upload a file from the local source (#4647)
* Add a shiny upload button

* Fix tslint

* Enable the viewer on the content click

* Call the process storage in case the form has an upload

* Fix the lint

* Fix unit tests

* Fix tslint on unit tests

* Fix the lint

* Fix the lint
2019-04-25 15:23:07 +01:00
Maurizio Vitale 391094e467 [ADF-4295] AuthGuardSsoRoleService - Provide a way to check the resorces_access of the jwt token (#4488)
* Provide a way to check the resorces_access of a jwt token

* Add unit test in case the client role is missing or contains a different one

* Improve the documentation related to the AuthGuardSSO
2019-03-27 09:55:33 +00:00
Maurizio Vitale 3897bafe0c Fix typo on startprocesscloud spec and remove useless method (#4500) 2019-03-26 14:33:16 +00:00
maurizio vitale 0c73851759 Enable travis on branche that contains next-release 2019-03-26 12:40:46 +00:00
Maurizio Vitale 355e97ef39 Cloud people component - Fix the unit test related to the subject initialization (#4456)
* Fix the unit test related to the cloud people component

* Fix init subject and add unit test
2019-03-20 15:32:59 +00:00
maurizio vitale 5d697d69e3 Move the readme of testing 2019-03-03 22:30:50 +00:00
Maurizio Vitale 8ea4e164ff Add basic Readme and exclude bundle checks (#4384) 2019-03-03 21:49:23 +00:00
Maurizio Vitale cd069fbc58 Change name of testing project and bundle size (#4383) 2019-03-03 19:02:56 +00:00
Maurizio Vitale 414e4656cc Add build testing to ng packager (#4382) 2019-03-03 16:48:23 +00:00
Maurizio Vitale ce2ced97e5 Add build testing to ng packager (#4381) 2019-03-03 15:24:16 +00:00
Maurizio Vitale 0afc5e95b4 add adf-testing to the pipeline and publish (#4380) 2019-03-03 12:56:20 +00:00
Maurizio Vitale a7d058fd2e Process Service Cloud - Add the identity user service (#4374)
* Add the identity service to cloud

* Expose the service
2019-03-01 16:19:41 +00:00
Maurizio Vitale 249d688820 adf-testing - Cloud - Move user info e2e to adf-testing (#4369)
* Move user info e2e to adf-testing

* Create testing wrapper for the api sevice
2019-03-01 16:18:53 +00:00
Maurizio Vitale 08231bbf33 adf-testing package (#4152)
* add new lib adf-testing

* fix the prefix

* Improve package

* Add testing project

* remove useless stuff

* Remove useless code
2019-02-19 15:08:41 +00:00
Maurizio Vitale 815f816f8e Align task/process filters docs (#4276) 2019-02-06 15:02:34 +00:00
Maurizio Vitale 2376f79c2b Add owner as property (#4271) 2019-02-05 16:54:31 +00:00
Maurizio Vitale e72f1f7ef3 [ADF-4019] TaskListCloudDemo - Be able to filter by owner and lastModified (#4266)
* Be able to filter by owner and lastModified

* Update tasks-cloud-demo.component.html
2019-02-05 12:50:57 +00:00
Maurizio Vitale febd8b6ab1 Reset the appList before calling the API (#4253) 2019-02-04 14:14:48 +00:00
Maurizio Vitale bf832f0b1c [ADF-4001] StartProcessCloud - Fix payload with name (#4241)
* Fix the startProcess payload

* fix unit test
2019-02-03 21:52:22 +00:00
Maurizio Vitale b3b03be513 Fix the tasklist and processlist demoshell (#4230) 2019-01-30 15:01:53 +00:00
Maurizio Vitale a872c6d8fa [ADF-3946] Add the GroupCloudComponent to the StartTaskCloudComponent (#4202)
* Add GroupComponent to the start task cloud

* [ADF-3946] Exported unexported componentes in group module

* [ADF-3946] Used group module in start task module

* Fix import

* Fix build name

* Fix build name unit tests

* Fix unit test

* Add space to rebuild travis
2019-01-24 14:18:35 +00:00
Maurizio Vitale 87d973d8d2 Fix bug start a task without assignee (#4204) 2019-01-24 09:13:30 +00:00
Maurizio Vitale 274c4d9389 [ADF-3926] Start Task Cloud: Single selection mode: the default assignee is not part of the list o… (#4175)
* Single selection mode: the default assignee is not part of the list once is removed

* Changing providerDropdown locator
2019-01-17 16:51:56 +00:00
Maurizio Vitale 6bf2558877 filter the preselectuser in multiselection mode (#4173) 2019-01-17 10:25:10 +00:00
Maurizio Vitale 28da31c550 [ADF-3910] Expose the identityHost as part of the setting component (#4161) 2019-01-16 13:01:15 +00:00
Marizio Vitale ebde107f41 build the prebuilt-themes 2019-01-10 20:52:36 +00:00
Maurizio Vitale 5c20ee8ab0 Fix publishing to npm and update versions (#4132)
* Fix publishing to npm and update versions

* Remove the upgrade of js api node

* Increase the size
2019-01-10 17:24:07 +00:00
Maurizio Vitale 5690a64842 Remove the reference of the old js-api and use the one under the @alfresco (#4128) 2019-01-10 13:44:34 +00:00
Marizio Vitale a19d2c99be Add the identityHost to the app config 2019-01-09 11:36:54 +00:00
Maurizio Vitale 007d38f32e export app list cloud service (#4108) 2019-01-03 14:19:12 +00:00
Maurizio Vitale bdef2642e7 Fix the Task Cloud Filters ordering (#4078)
Navigate on the task details when a row is selected
2018-12-12 18:27:36 +00:00
Maurizio Vitale e241779f3a Fix process cloud page (#4075)
* Fix process cloud page

* Use FilterParamModel

* Rollback method

* Fix core unit test related to identity service

* Fix process filters cloud
Get user info from different keys

* Select the my-task filter in case the task has been created

* Add family_name and given_name to the jwt token
2018-12-12 15:43:57 +00:00
Maurizio Vitale 276e40e4bb [ADF-3790] Fix core coverage (#4011)
* Fix core coverage

* Fix karma path
2018-12-11 17:17:08 +00:00
Marizio Vitale b99f6d57dc rollback stage conditions 2018-12-05 16:10:44 +00:00
Marizio Vitale f649b231cd Fix travis variable name 2018-12-05 14:59:15 +00:00
Maurizio Vitale f0341201ac Force the execution of unit test and e2e test in case the branch is dev and is not a PR (#4053) 2018-12-05 13:10:23 +00:00
Maurizio Vitale 94905d1065 Run codecoverage on ng test process services cloud (#4021) 2018-11-27 21:18:48 +00:00
Maurizio Vitale 86ae2f5c2b [ADF-3789] Fix the content service coverage path and config (#4010)
* Fix the content service coverage path and config

* Use relative path
2018-11-27 21:11:37 +00:00
Maurizio Vitale 073311185f [ADF-2788] Fix the process service coverage path and config (#4009)
* Fix the process service coverage path and config

* Create a index report page and run the liteserver
2018-11-27 16:53:32 +00:00
Maurizio Vitale c873bf801f Fix the taskFilterCloud unit test and fix the coverage (#4008)
* Fix the taskFilterCloud unit test and fix the coverage

* Fix the tslint

* Fix e2e test

* Fix unit test

* Skip e2e related to taskFiltersCloud

* rollback version

* Rollback the change on cloud angular.json
2018-11-27 11:52:03 +00:00
Maurizio Vitale 91e5251bd0 [ADF-3778] TaskFilterCloud - should render only My Task and Completed task (#4000)
* Change the MyTask with assignee and generate an unique id

* save the taskfilter by user

* Add taskFilters value on the query params

* Fix the unit tests

* use js api beta version

* Rebase against development

* Filter the filters by id name or index

* Add the ability to translate and filter by key

* make properties optionals

* Remove import duplication
2018-11-23 14:06:54 +00:00
Maurizio Vitale 705fb10a65 Travis - Prints the dependencies inside the logs (#3997)
* Remove the tmp folder inside the smart-build script. Print the deps file to see the current dependencies

* Use the alpha of the latest lib published on npm
2018-11-21 14:56:55 +00:00
Maurizio Vitale f528d23aff Exit1 in case the build fails (#3988) 2018-11-19 17:23:23 +00:00
Maurizio Vitale f0dff4d011 Travis cache (#3972)
* Use name instead of env

* Enable cache dist

* enable only master and dev

* rename e2e lib

* add nx and smart build

* disable packaging and create demo shell stages

* use same name

* Enable affected e2e for core and process

* Enable affected libs check on all the e2e

* fix e2e condition

* Enable unit tests

* Manage case deps not present

* add name typo

* add affected folder to check e2e

* change an e2e test

* remove branch typo

* Update .travis.yml
2018-11-19 13:28:02 +00:00
Maurizio Vitale dfe8c84780 Travis pipeline only for specific branches (#3973)
* Enable the travis pipeline only for specific branches

* delete loca files
2018-11-15 14:25:39 +00:00
Maurizio Vitale 0ee592607a Add fullName pipe and change example (#3946) 2018-11-07 19:26:13 +00:00
Maurizio Vitale e7ae685bb2 Provide a way to specify external license file (#3932)
Create another tslint rule adf-enterprise-license
2018-10-31 12:59:23 +00:00
Maurizio Vitale 38f4916e06 [ADF-3538] [ADF-3547] Migration - Task Filters - Task List - New Process cloud page on demoshell (#3914)
* [ADF-3538] start creating new folder for cloud components

* [ADF-3538] added new package to the script and the builds

* [ADF-3538] added some more changes to scripts

* [ADF-3538] - starting the new package

* change index

* fix package

* Fix module structure with Cli

* add basic structure

* Create a library with angular cli

* Add a cloud component as example

* Skip the scss style

* add the import scss

* remove useless codes

* Add i18n example

* remove useless code

* Simplify the hello component
Fix the wrong path

* add the app-list-cloud-component
add the app-details-cloud-component

* Expose and use the new component

* Consume the new package and component from the demoshell

* Fix process service cloud path

* [ADF-3538] Alfresco Process Service Cloud - new package with CLI (#3872)

* [ADF-3538] start creating new folder for cloud components

* [ADF-3538] added new package to the script and the builds

* [ADF-3538] added some more changes to scripts

* [ADF-3538] - starting the new package

* change index

* fix package

* Fix module structure with Cli

* add basic structure

* Create a library with angular cli

* Add a cloud component as example

* Skip the scss style

* add the import scss

* remove useless codes

* Add i18n example

* remove useless code

* Simplify the hello component
Fix the wrong path

* Fix process service cloud path

* Download process-service-cloud from the CS

* [ADF-3538] generated task-list cloud by cli

* [ADF-3550] Added Task Filter Cloud component

* [ADF-3550] Task Filter Cloud component relocated

* [ADF-3538] rebased task list cloud 2.0

* [ADF-3538] fixed ng-package.json

* [ADF-3538] reverted worng changes

* [ADF-3538] removed wrong rebased files

* [ADF-3538] forcing update of app-list file

* [ADF-3538] wrong file after rebase removed

* [ADF-3538] wrong file after rebase fixe

* Merge the applist component with task list

* [ADF-3550] Added Task Filter Cloud component

* emit the event

* Add the route process cloud and fix the page issues

* fixed wrong pagination initialisation

* improved initialisation of page size

* removed unused import

* fixed tsconfig with double definition

* Use standard name for scss

* fix sorting issue and remove useless models

* Fix tslint

* Use 1 single testing module file

* [ADF-3538] [ADF-3547] Fix selected task filter and unit tests

* Fix unit tests and remove useless imports

* Uncomment unit tests

* Remove useless component

* Use main module instead of submodules

* Remove useless jsdoc and improve doc

* Remove useless jsdoc

* Remove useless interface

* remove AfterViewInit import

* remove js doc params
2018-10-26 14:39:06 +01:00
Maurizio Vitale 4c9629c2d6 [ADF-3550] Migration - Application List Component (#3902)
* [ADF-3538] start creating new folder for cloud components

* [ADF-3538] added new package to the script and the builds

* [ADF-3538] added some more changes to scripts

* [ADF-3538] - starting the new package

* fix package

* Add a cloud component as example

* Skip the scss style

* remove useless codes

* Add i18n example

* remove useless code

* Simplify the hello component
Fix the wrong path

* add the app-list-cloud-component
add the app-details-cloud-component

* Expose and use the new component

* Consume the new package and component from the demoshell

* Fix unit test app list cloud

* Fix process service cloud path

* Remove useless file

* * Added documentation to the appListcloud component

* Fix failing unit tests
2018-10-18 17:11:32 +01:00
Maurizio Vitale 4e769fe73c Add process-cloud dependency (#3901) 2018-10-17 16:25:41 +01:00
Maurizio Vitale 0ecb6c13ec [ADF-3538] Alfresco Process Service Cloud - new package with CLI (#3872)
* [ADF-3538] start creating new folder for cloud components

* [ADF-3538] added new package to the script and the builds

* [ADF-3538] added some more changes to scripts

* [ADF-3538] - starting the new package

* change index

* fix package

* Fix module structure with Cli

* add basic structure

* Create a library with angular cli

* Add a cloud component as example

* Skip the scss style

* add the import scss

* remove useless codes

* Add i18n example

* remove useless code

* Simplify the hello component
Fix the wrong path

* Fix process service cloud path

* Download process-service-cloud from the CS
2018-10-16 18:15:11 +01:00
Maurizio Vitale 29f28c7c82 [ADF-3670] Checklist - fix failing unit test (#3873)
* fix unit test on checklist

* Fix relative path import
2018-10-09 12:26:04 +01:00
Maurizio Vitale 94df1f6fdd [ADF-3627] Be able to run the Angular cli commands (#3842)
* Change the lib dependencies
change the project folder name to lib

* Rollback the latest adf dependencies

* Push the lock with latest libraries versions
2018-10-08 11:57:43 +01:00
Maurizio Vitale cfbe3cfd86 [ADF-3570] ADF Migration - Add the interceptor layer (#3813)
* Enable impliciFlow and add new interceptor

* Fix errors

* add excluded path rules

* Add the needed methods to the AuthenticationService core

* Remove unused library and service
2018-09-20 22:17:05 +01:00