80 Commits

Author SHA1 Message Date
Seyi Adebajo
0eb87ec99b v2: add intergration tests for container components. temporarily skips acceptance tests for datasets. further i implementation for v2 api integration and urn handling 2018-02-21 09:46:04 -08:00
Seyi Adebajo
1dbcaf1476 adds validators for new urn format. requests v2 dataset if urn in li format. 2018-02-14 20:47:26 -08:00
Seyi Adebajo
1456cbe7a8 sanitize platform string in rail and generated query params 2018-02-14 18:16:52 -08:00
Seyi Adebajo
37c2f05b0e updates route paths to include prefix segment 2018-02-14 17:08:20 -08:00
Seyi Adebajo
b3a7c42acb transition to v2 list and dataset list apis. adds types and transitions multiple sources to ts. temporarily decouples redux from browse feature 2018-02-14 16:00:32 -08:00
Lee
f0e970b465 Request merge ACL page to master (#930)
* finish the alc access page layout, logics and sass files

* Fix css issue and request permission response error message

* finish the testing part

* simplify code finished

* finish spinner

* Finished ACL access page, testing cases, clean code format

* Clean format, address comments, refactor JS code of ACL page to TS

* address comments, replace type any and fix merge issue
2018-02-07 12:32:03 -08:00
Seyi Adebajo
cfbe8c3390 fixes issue with treating undefined value as string in properties api module 2018-01-31 15:44:19 -08:00
Seyi Adebajo
43f40cd4f1 updates api readers for platforms and compliance Data types. adds link for purge policies 2018-01-25 12:09:07 -08:00
Seyi Adebajo
432de27d9b move to v2 for complianceDataTypes and platforms api. refactor api root string literal to function that takes a version argument 2018-01-24 15:41:46 -08:00
Seyi Adebajo
a3be2ee30b refactors dataset-author function definitions by moving non api-related functions from api module to constants 2018-01-23 13:32:55 -08:00
Seyi Adebajo
1b98b0f6a9 adds support for identifying inactive owners that are included in list of confirmed owners 2018-01-23 11:10:19 -08:00
Seyi Adebajo
6c403f2b82 upgrades dependencies including typescript, ember-cli, ember. and a host of other dependencies. adds $ for legacy sources. adds eslint plugin ember recommended. fixes reported issues in legacy sources. refactors module imports to rfc-176. updates typings. fixes implicit any typings. removes strict function types: ts2.6 adds support for bivariant checking. fixes broken tests. runs updated ember blueprint. 2018-01-20 00:46:47 -08:00
Seyi Adebajo
5322cd9184 fix fetch options bag interface 2018-01-18 18:52:42 -08:00
Seyi Adebajo
5c5d197e85 refactors internal fetcher api. updates modifiedTime type assertion in api response handler. updates type assertion in metadata-acquisition 2018-01-18 15:21:34 -08:00
Seyi Adebajo
7dd558f558 rewrites dataset-compliance component in typescript. 2018-01-07 22:32:32 -08:00
Seyi Adebajo
f100e66235 adds support for the nonOwner attribute to compliance policy change set. updates type definitions related to compliance policy. fixes issue with saving a compliance policy after edit. 2017-12-14 12:57:17 -08:00
Seyi Adebajo
af453e1dca transitions to complianceDataTypes mid tier api for default security classification for fields. removes obsolete tests. updates compliance table to render all user updatable compliance info in single column 2017-12-12 22:19:01 -08:00
Seyi Adebajo
c6ecc1a170 adds a reader for compliance data types. moves the list compliance datatypes type definitions to the list directory. 2017-12-11 22:13:34 -08:00
Seyi Adebajo
ee3781e319 defines interfaces for the dataset compliance endpoint. refactots the dataset compliance fetch api functions with types and switches to api/fetcher functions. fixes ISuggestedDatasetClassification type alias. adds additional dataset platforms to enum 2017-12-11 21:44:46 -08:00
Seyi Adebajo
7a143cd78e adds api fetcher and init types for platform list endpoint 2017-12-11 15:35:51 -08:00
Seyi Adebajo
29b27e55b2 moves compliance row to ts source and fix bugs discovered by typing component interface and methods 2017-12-11 13:13:34 -08:00
Seyi Adebajo
4414e03012 implements schemaless dataset tagging feature. adds component tests. fixes issue with edit button unresponsive on first click in compliance tab 2017-12-06 10:23:33 -08:00
Seyi Adebajo
0439ff49db adds sinon lib for testing. updates fetcher module implementation and adds tests 2017-11-30 10:33:07 -08:00
Seyi Adebajo
05022f5f2c adds code coverage support to ci: uses code-cov for static analysis, adds forked version for e-c-code-coverage with support for transpiled sources. updates gradle build to run ember test with coverage. removes custom yarn version. removes broken fancy tree dep. minor refactor to WIP fetch wrapper: adds doc and exports 2017-11-27 10:44:00 -08:00
Seyi Adebajo
e4c6849326 updates propeties api getter to treat error as empty result. updates loading animation on save 2017-11-16 15:10:26 -08:00
Seyi Adebajo
7f5688d6d0 adds local type defs for ember concurrency. contraints the return type for confirmOwner to the interface property. updates the remaining owners required count on datasetauthors component. adds fixed height for required count component 2017-11-13 17:54:43 -08:00
Seyi Adebajo
d08b24d4bf updates the ux for user-lookup: adds user-lookup component. updates dataset-authors component: correctly implements addOwner action. updates types, adds requirement for minimum confirmed owners, adds notifications for state changes. adds integration tests for user-lookup-component. adds ember-math-helpers 2017-11-13 11:11:45 -08:00
Seyi Adebajo
288411e2f0 refactors interface name format. remove unused computed property 2017-11-10 10:28:50 -08:00
Seyi Adebajo
1893668806 corrects the typings for ownertype vs owneridtype.changes updateownertype action name to changeownertype on dataset-author component. adds fixtures for owner and user types. uses correct handler selectiondidchange for ember selector component 2017-11-10 00:08:50 -08:00
Seyi Adebajo
75a5d3145f defers to more robust isequal function on lodash 2017-11-09 13:09:20 -08:00
Seyi Adebajo
953c340781 implements ownership distinction for suggested owners and confirmed owners. updates type defintions for owners 2017-11-09 09:49:04 -08:00
Seyi Adebajo
24f7b36a69 update tracking header expression: adds case insensitive header, mobileheader, and requestheader. updates related test cases 2017-11-08 10:05:18 -08:00
Seyi Adebajo
53527a2990 consumes error message in api response if available, falls back to generic client message 2017-11-06 09:48:37 -08:00
Seyi Adebajo
b844d58b9c fixes issue with the owner modified time rendered as an Invalid Date. fixes issues with the purge policy having all options selected for new compliance policies. renders the platform in lowercase. uses the platform value provided by the dataset view since the urn is not present on new compliance policies. fixes issue with user avatar username property being overridden by class property on es6 class 2017-10-25 03:04:36 -07:00
Seyi Adebajo
a22434069b updates properties implementation. fixes issue with isTable flag on schema component. updates deprecation implementation. adds type defintions for properties 2017-10-25 02:11:28 -07:00
Seyi Adebajo
59c9b00c8e fixes issue with new compliance policy: updates msg string to newly updated value 2017-10-25 01:40:04 -07:00
Seyi Adebajo
2467691c94 updates tracking header regular expression and tests to not filter out strings like header_* | header 2017-10-24 10:57:23 -07:00
Seyi Adebajo
b992c26803 refactors dataset-schema component: typescript, es6 classes, cleaner implementation with less coupling 2017-10-24 00:11:23 -07:00
Seyi Adebajo
f7257f2cfe upgrades ember to ~2.16.0. removes dep on bower for ember.upgrades application dependencies. begins transition to es classes. upadtes type definitions to \^2.8.0.adds local module declarations for ember-simple-auth and ember-concurrency. 2017-10-23 16:50:48 -07:00
Seyi Adebajo
eec260d879 wip: dataset-schema comments rewrite 2017-10-20 22:01:55 -07:00
Seyi Adebajo
5e11990f0e updates the compliance suggestion implementation to support the new compliance suggestion endpoint response. adds enums for NonIdLogicalType, FieldIdValues, CustomIdLogicalType, IdLogicalType, and index signatures for consumer 2017-10-20 22:01:54 -07:00
Seyi Adebajo
d6088fb9d3 creates string enums for IdLogicalType, CustomIdLogicalType, NonIdLogicalType. adds index signature for NonIdLogicalTypes. changes implementation of logicalTypeValueLabel to use string enums. caveat: this will only work with ts >2.6 2017-10-20 22:00:24 -07:00
Seyi Adebajo
b31d05ff43 updates initial compliance info function and updates tests 2017-10-20 21:57:40 -07:00
Seyi Adebajo
64c442b938 implements purge policy feature. constants for platforms and purge types. adds styles for feature. implements ui logic for selecting purge based on platform availability. 2017-10-19 18:17:16 -07:00
Seyi Adebajo
c8b192011e removes hasRecentSuggestions computed property in favour of diffing suggestion and policy timestamp prior to augmenting compliancepolicy changeSet with suggestion. updates logic to get field value: identifierType/logicalType prior to suggested value. issues: needs to update the previous field value with user friendly label/displayAs value 2017-10-07 18:46:22 -07:00
Seyi Adebajo
b617fcca01 extracts high quality suggestions. refactors implementation for getFieldSuggestions: abstractions individual steps. creates a composable arrayReduce abstraction 2017-10-03 18:07:38 -07:00
Seyi Adebajo
65011a370e slightly refactors impementation for fieldChangeSetRequiresReview helper function. adds unit tests for utility functions on dataset-compliance 2017-10-02 18:50:08 -07:00
Seyi Adebajo
f0ab6942c2 creates empty state component: styles/template. adds support for column endpoint exception message. adds integration tests for empty-state component. 2017-09-28 18:37:38 -07:00
Seyi Adebajo
7485409146 adds reviewable filter option. updates filter logic to create diff between fields on policy and column field values. refactors implementation for client working copy / change-set: reduces number of steps. modifies compliance entity table styles 2017-09-27 09:54:37 -07:00
Seyi Adebajo
09031814d5 renames array-map util module and adds functions for filter and uniqueness. adds mergeMappedColumnFieldsWithSuggestions and fieldChangeSetRequiresReview to compliance shared functions 2017-09-27 09:54:36 -07:00