-
Notifications
You must be signed in to change notification settings - Fork 5
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
Mdpx Conduit Application Changes #878
base: mdpx
Are you sure you want to change the base?
Conversation
cmd/meroxa/root/apps/apps.go
Outdated
deploymentCollection = "conduitdeployments" | ||
applicationCollection = "conduitapps" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can wait til having the full deployment functionality in the repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good!
cmd/meroxa/root/apps/describe.go
Outdated
@@ -103,7 +79,7 @@ func (d *Describe) Execute(ctx context.Context) error { | |||
for _, app := range apps.Items { | |||
d.logger.Info(ctx, display.PrintTable(app, displayDetails)) | |||
d.logger.JSON(ctx, app) | |||
dashboardURL := fmt.Sprintf("%s/apps/%s/detail", global.GetMeroxaAPIURL(), app.ID) | |||
dashboardURL := fmt.Sprintf("%s/conduitapps/%s/detail", global.GetMeroxaAPIURL(), app.ID) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cmd/meroxa/root/apps/list.go
Outdated
@@ -71,7 +71,7 @@ func (l *List) Execute(ctx context.Context) error { | |||
l.logger.Info(ctx, display.PrintList(apps.Items, displayDetails)) | |||
l.logger.JSON(ctx, apps) | |||
|
|||
output := fmt.Sprintf("\n ✨ To view your applications, visit %s/apps", global.GetMeroxaAPIURL()) | |||
output := fmt.Sprintf("\n ✨ To view your applications, visit %s/conduitapps", global.GetMeroxaAPIURL()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,214 @@ | |||
package apps |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no:
app.json
(one day, we will probably haveapp.yaml
)- the need for using git.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm removing this for now until we will add app.yaml support!
69e783f
to
66a03fb
Compare
cmd/meroxa/root/apps/apps.go
Outdated
DeploymentID []string `json:"deployment_id"` | ||
Name string `json:"name"` | ||
State string `json:"state"` | ||
ApplicationSpec string `json:"stream_tech"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was renamed to stream_provider
not sure where stream_tech
is coming from?
@anna-cross can you make another PR which removes all the turbine stuff, then rebase this PR from the other pr, so we can easily review the new code. |
7b73939
to
6e93a2d
Compare
"items": [ | ||
{ | ||
"collectionId": "77byam8idl1rv8b", | ||
"collectionName": "conduitapps", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
conduit_apps
Description of change
Changes for conduit application, removing turbine references and usage. Includes new user login as well, we don't need to set env variables, the cli will just prompt the user for inputs.
How to test / use:
meroxa app deploy . --timeout 90s
to deploy the appmeroxa app ls
meroxa app remove test-pipeline-2 --force
with test-pipeline-2 coming from conduit app nameFixes https://github.com/meroxa/mdpx/issues/1674
Type of change
How was this tested?
Demo
Additional references
Documentation updated