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

[OBSOLETE] Added API handler functions (scan and get) for LRO #15408

Closed
wants to merge 32 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
fca532a
Added API handler functions (scan and get) for LRO
adrikagupta Nov 7, 2023
57e789e
[CDAP-20879] Use default k8s namespace in hybrid mode for workload id…
dli357 Nov 8, 2023
58e0ad8
Resolved comments in PR
adrikagupta Nov 8, 2023
594fdfd
Resolved comments in PR
adrikagupta Nov 8, 2023
27bcbdd
Operation runner implementation
samdgupi Nov 7, 2023
cc632b7
Merge pull request #15409 from cdapio/bugfix/CDAP-20879
dli357 Nov 8, 2023
0f44398
do not set WI env vars when NSA is enabled
itsankit-google Nov 8, 2023
3a7019f
Merge pull request #15413 from cdapio/CDAP-20785
itsankit-google Nov 8, 2023
21bfc91
Add multi push operation
GnsP Oct 27, 2023
a606282
Merge pull request #15319 from cdapio/operation-api
samdgupi Nov 9, 2023
26c1e1f
Add operation status notification publisher
samdgupi Nov 8, 2023
4b8c345
Merge pull request #15385 from cdapio/multi-push-operation
samdgupi Nov 9, 2023
a497e79
use gcp remote authenticator to fetch token
itsankit-google Nov 8, 2023
c7e5433
Merge pull request #15415 from cdapio/use-gcp-remote-authenticator
itsankit-google Nov 9, 2023
30e14e2
Fix the null pointer exception caused by unsafe unboxing of Boolean t…
GnsP Nov 8, 2023
43fcc4c
Merge pull request #15411 from cdapio/operation-state-publisher
samdgupi Nov 9, 2023
7544c7a
Merge pull request #15410 from GnsP/fix-cdap-20877
GnsP Nov 9, 2023
4579b5a
Fix the operation runner test
samdgupi Nov 9, 2023
6863ef4
Merge pull request #15420 from cdapio/fix-build-error-op-runner
samdgupi Nov 10, 2023
07cdd7b
Removed .vscode folder
adrikagupta Nov 10, 2023
8ee994c
resolved comments - modified validateNamespace and getFilter
adrikagupta Nov 10, 2023
87d79a6
Add scan operation runs by status method
samdgupi Nov 10, 2023
d068939
Merge pull request #15424 from cdapio/get-pending-runs
samdgupi Nov 14, 2023
db43294
made minor changes, modified key-value pattern, modified validateName…
adrikagupta Nov 15, 2023
b8e73be
Added API handler functions (scan and get) for LRO
adrikagupta Nov 7, 2023
e8cd6ca
Resolved comments in PR
adrikagupta Nov 8, 2023
0c5311a
esolved comments in PR
adrikagupta Nov 8, 2023
a45a982
Removed .vscode folder
adrikagupta Nov 10, 2023
7eb7600
resolved comments - modified validateNamespace and getFilter
adrikagupta Nov 10, 2023
8d50918
made minor changes, modified key-value pattern, modified validateName…
adrikagupta Nov 15, 2023
bef692f
resolved an issue that occurred while merging
adrikagupta Nov 15, 2023
e53fcaf
resolved merge conflicts
adrikagupta Nov 15, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
364 changes: 364 additions & 0 deletions .vscode/launch.json
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add .vscode to local gitignore so that this files are not committed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure. Done

Original file line number Diff line number Diff line change
@@ -0,0 +1,364 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove the .vscode folder from the PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes done

// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Current File",
"request": "launch",
"mainClass": "${file}"
},
{
"type": "java",
"name": "WordCount",
"request": "launch",
"mainClass": "io.cdap.cdap.internal.app.runtime.batch.WordCount",
"projectName": "cdap-app-fabric"
},
{
"type": "java",
"name": "RemoteExecutionJobMain",
"request": "launch",
"mainClass": "io.cdap.cdap.internal.app.runtime.distributed.remote.RemoteExecutionJobMain",
"projectName": "cdap-app-fabric"
},
{
"type": "java",
"name": "RemoteLauncher",
"request": "launch",
"mainClass": "io.cdap.cdap.internal.app.runtime.distributed.remote.RemoteLauncher",
"projectName": "cdap-app-fabric"
},
{
"type": "java",
"name": "MasterEnvironmentMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.environment.k8s.MasterEnvironmentMain",
"projectName": "cdap-app-fabric"
},
{
"type": "java",
"name": "CLIMain",
"request": "launch",
"mainClass": "io.cdap.cdap.cli.CLIMain",
"projectName": "cdap-cli"
},
{
"type": "java",
"name": "Configuration",
"request": "launch",
"mainClass": "io.cdap.cdap.common.conf.Configuration",
"projectName": "cdap-common"
},
{
"type": "java",
"name": "TransactionManagerDebuggerMain",
"request": "launch",
"mainClass": "io.cdap.cdap.data2.transaction.TransactionManagerDebuggerMain",
"projectName": "cdap-data-fabric"
},
{
"type": "java",
"name": "WordCount(1)",
"request": "launch",
"mainClass": "io.cdap.cdap.datapipeline.spark.WordCount",
"projectName": "cdap-data-pipeline3_2.12"
},
{
"type": "java",
"name": "GenerateCLIDocsTable",
"request": "launch",
"mainClass": "io.cdap.cdap.docgen.cli.GenerateCLIDocsTable",
"projectName": "cdap-docs-gen"
},
{
"type": "java",
"name": "UpgradeTool",
"request": "launch",
"mainClass": "io.cdap.cdap.etl.tool.UpgradeTool",
"projectName": "cdap-etl-tools"
},
{
"type": "java",
"name": "RouterMain",
"request": "launch",
"mainClass": "io.cdap.cdap.gateway.router.RouterMain",
"projectName": "cdap-gateway"
},
{
"type": "java",
"name": "HBaseVersion",
"request": "launch",
"mainClass": "io.cdap.cdap.data2.util.hbase.HBaseVersion",
"projectName": "cdap-hbase-compat-base"
},
{
"type": "java",
"name": "KafkaServerMain",
"request": "launch",
"mainClass": "io.cdap.cdap.kafka.run.KafkaServerMain",
"projectName": "cdap-kafka"
},
{
"type": "java",
"name": "ClientVersions",
"request": "launch",
"mainClass": "io.cdap.cdap.data.runtime.main.ClientVersions",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "MasterServiceMain",
"request": "launch",
"mainClass": "io.cdap.cdap.data.runtime.main.MasterServiceMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "CoprocessorBuildTool",
"request": "launch",
"mainClass": "io.cdap.cdap.data.tools.CoprocessorBuildTool",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "HBaseTableExporter",
"request": "launch",
"mainClass": "io.cdap.cdap.data.tools.HBaseTableExporter",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "JobQueueDebugger",
"request": "launch",
"mainClass": "io.cdap.cdap.data.tools.JobQueueDebugger",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "ReplicationStatusTool",
"request": "launch",
"mainClass": "io.cdap.cdap.data.tools.ReplicationStatusTool",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "UpgradeTool(1)",
"request": "launch",
"mainClass": "io.cdap.cdap.data.tools.UpgradeTool",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "AppFabricServiceMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.environment.k8s.AppFabricServiceMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "ArtifactCacheServiceMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.environment.k8s.ArtifactCacheServiceMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "AuthenticationServiceMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.environment.k8s.AuthenticationServiceMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "LogsServiceMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.environment.k8s.LogsServiceMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "MessagingServiceMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.environment.k8s.MessagingServiceMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "MetadataServiceMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.environment.k8s.MetadataServiceMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "MetricsServiceMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.environment.k8s.MetricsServiceMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "PreviewServiceMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.environment.k8s.PreviewServiceMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "RouterServiceMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.environment.k8s.RouterServiceMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "RuntimeServiceMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.environment.k8s.RuntimeServiceMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "StorageMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.environment.k8s.StorageMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "SupportBundleServiceMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.environment.k8s.SupportBundleServiceMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "SystemMetricsExporterServiceMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.environment.k8s.SystemMetricsExporterServiceMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "TetheringAgentServiceMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.environment.k8s.TetheringAgentServiceMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "MasterStartupTool",
"request": "launch",
"mainClass": "io.cdap.cdap.master.startup.MasterStartupTool",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "PostUpgradeJobMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.upgrade.PostUpgradeJobMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "UpgradeJobMain",
"request": "launch",
"mainClass": "io.cdap.cdap.master.upgrade.UpgradeJobMain",
"projectName": "cdap-master"
},
{
"type": "java",
"name": "DataprocTool",
"request": "launch",
"mainClass": "io.cdap.cdap.runtime.spi.provisioner.dataproc.DataprocTool",
"projectName": "cdap-runtime-ext-dataproc"
},
{
"type": "java",
"name": "DataprocJobMain",
"request": "launch",
"mainClass": "io.cdap.cdap.runtime.spi.runtimejob.DataprocJobMain",
"projectName": "cdap-runtime-ext-dataproc"
},
{
"type": "java",
"name": "AuthenticationServerMain",
"request": "launch",
"mainClass": "io.cdap.cdap.security.runtime.AuthenticationServerMain",
"projectName": "cdap-security"
},
{
"type": "java",
"name": "AccessTokenGeneratorService",
"request": "launch",
"mainClass": "io.cdap.cdap.security.tools.AccessTokenGeneratorService",
"projectName": "cdap-security"
},
{
"type": "java",
"name": "AuthenticationTool",
"request": "launch",
"mainClass": "io.cdap.cdap.security.tools.AuthenticationTool",
"projectName": "cdap-security"
},
{
"type": "java",
"name": "SparkContainerLauncher",
"request": "launch",
"mainClass": "io.cdap.cdap.app.runtime.spark.distributed.SparkContainerLauncher",
"projectName": "cdap-spark-core3_2.12"
},
{
"type": "java",
"name": "SparkContainerDriverLauncher",
"request": "launch",
"mainClass": "io.cdap.cdap.app.runtime.spark.distributed.k8s.SparkContainerDriverLauncher",
"projectName": "cdap-spark-core3_2.12"
},
{
"type": "java",
"name": "SparkContainerExecutorLauncher",
"request": "launch",
"mainClass": "io.cdap.cdap.app.runtime.spark.distributed.k8s.SparkContainerExecutorLauncher",
"projectName": "cdap-spark-core3_2.12"
},
{
"type": "java",
"name": "StandaloneMain",
"request": "launch",
"mainClass": "io.cdap.cdap.StandaloneMain",
"projectName": "cdap-standalone"
},
{
"type": "java",
"name": "StartStandaloneAndDeployApplicationHelper",
"request": "launch",
"mainClass": "io.cdap.cdap.StartStandaloneAndDeployApplicationHelper",
"projectName": "cdap-standalone"
},
{
"type": "java",
"name": "WordCount(2)",
"request": "launch",
"mainClass": "io.cdap.cdap.WordCount",
"projectName": "cdap-support-bundle"
},
{
"type": "java",
"name": "ConfigurationJsonTool",
"request": "launch",
"mainClass": "io.cdap.cdap.ui.ConfigurationJsonTool",
"projectName": "cdap-ui"
},
{
"type": "java",
"name": "ClassicSparkProgram",
"request": "launch",
"mainClass": "io.cdap.cdap.spark.app.ClassicSparkProgram",
"projectName": "cdap-unit-test"
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.debug.settings.onBuildFailureProceed": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
import io.cdap.cdap.gateway.handlers.InstanceOperationHttpHandler;
import io.cdap.cdap.gateway.handlers.NamespaceHttpHandler;
import io.cdap.cdap.gateway.handlers.OperationalStatsHttpHandler;
import io.cdap.cdap.gateway.handlers.OperationHttpHandler;
import io.cdap.cdap.gateway.handlers.OperationsDashboardHttpHandler;
import io.cdap.cdap.gateway.handlers.PreferencesHttpHandler;
import io.cdap.cdap.gateway.handlers.PreferencesHttpHandlerInternal;
Expand Down Expand Up @@ -453,6 +454,7 @@ protected void configure() {
handlerBinder.addBinding().to(SecureStoreHandler.class);
handlerBinder.addBinding().to(RemotePrivilegesHandler.class);
handlerBinder.addBinding().to(OperationalStatsHttpHandler.class);
handlerBinder.addBinding().to(OperationHttpHandler.class);
handlerBinder.addBinding().to(ProfileHttpHandler.class);
handlerBinder.addBinding().to(ProvisionerHttpHandler.class);
handlerBinder.addBinding().to(BootstrapHttpHandler.class);
Expand Down
Loading
Loading