Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tdf3 + Nano = ❤️ #47

Merged
merged 12 commits into from
May 5, 2022
Merged

Conversation

ivanovSPvirtru
Copy link
Contributor

No description provided.

@ivanovSPvirtru ivanovSPvirtru requested a review from a team as a code owner April 28, 2022 14:03
# Conflicts:
#	cli/package-lock.json
#	sample-web-app/package-lock.json
@ivanovSPvirtru ivanovSPvirtru changed the title Basic merge, its working Tdf3 + Nano = ❤️ Apr 28, 2022
@dmihalcik-virtru
Copy link
Member

Is this ready to review? It doesn't look like it builds yet, and it isn't clear how to initialize/use/test it. Maybe add a test scenario to the CLI tool?

Copy link
Member

@dmihalcik-virtru dmihalcik-virtru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good, but you'll probably want a clean run of cd lib && npm test in the GitHub actions. I'm guessing there is still some cleanup there.

I'm guessing we'll need some more extreme refactoring to get the AuthProvider class working with the old code, so I'm fine with committing it without that now.

Probably we should commit this as soon as we can get it building and unit tests passing, then we can shard out the various refactoring tasks easier, such as any node->web conversions, addition of types, or changes to auth.

@@ -0,0 +1,133 @@
// Karma configuration
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file still used?

@@ -0,0 +1,344 @@
[![CI Status](https://github.com/opentdf/tdf3-js/actions/workflows/build.yaml/badge.svg)](https://github.com/opentdf/tdf3-js/actions/workflows/build.yaml)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file used by typedoc or something? You can probably just delete it otherwise

@@ -0,0 +1,67 @@
import { Client as ClientTdf3 } from '../tdf3/src/client';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is spelled facade. But this is great! 👍

# Conflicts:
#	cli/package-lock.json
#	lib/package-lock.json
#	lib/package.json
#	sample-web-app/package-lock.json
@sonarqubecloud
Copy link

sonarqubecloud bot commented May 5, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot E 2 Security Hotspots
Code Smell A 72 Code Smells

No Coverage information No Coverage information
0.6% 0.6% Duplication

@dmihalcik-virtru dmihalcik-virtru self-requested a review May 5, 2022 14:55
@ivanovSPvirtru ivanovSPvirtru merged commit cce314c into main May 5, 2022
@ivanovSPvirtru ivanovSPvirtru deleted the feature/PLAT-1638-tdf3jsMigrate branch May 5, 2022 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants