Skip to content

Commit

Permalink
Remove Extractor (digital-asset#12188)
Browse files Browse the repository at this point in the history
* Remove Extractor

Extractor is being removed after a long time being in Labs status.

This should improve the flakiness on CI.

:fire:

changelog_begin
Extractor has been removed from the SDK
changelog_end

* Remove Extractor documentation

* Remove Extractor from CODEOWNERS

* Remove Extractor references in Daml-LF build files

* Remove Extractor references in the Daml SDK assistant

* Remove Extractor from the SDK

* Remove Extractor reference from CONTRIBUTING.md
  • Loading branch information
stefanobaghino-da authored Dec 17, 2021
1 parent c4b5de6 commit 52110e3
Show file tree
Hide file tree
Showing 83 changed files with 2 additions and 5,923 deletions.
1 change: 0 additions & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ NOTICES @garyverhaegen-da @cocreature @dasormeter
/language-support/ts/ @robin-da @garyverhaegen-da @stefanobaghino-da

# Application Runtime
/extractor/ @S11001001 @stefanobaghino-da
/navigator/ @stefanobaghino-da
/runtime-components/ @stefanobaghino-da
/navigator/backend/src/main/scala/com/digitalasset/navigator/json/ @S11001001
Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ This list should cover the vast majority of needs. If unsure, ask on the relevan
* Daml on SQL
* Daml Studio
* Distribution/Releases
* Extractor
* Java Bindings
* Java Codegen
* JavaScript Client Libraries
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import com.daml.lf.engine.script.{RunnerMain => Script, TestMain => TestScript}
import com.daml.lf.engine.trigger.{RunnerMain => Trigger}
import com.daml.lf.engine.trigger.{ServiceMain => TriggerService}
import com.daml.auth.middleware.oauth2.{Main => Oauth2Middleware}
import com.daml.extractor.{Main => Extractor}
import com.daml.http.{Main => JsonApi}
import com.daml.navigator.{NavigatorBackend => Navigator}
import com.daml.platform.sandbox.{SandboxMain => SandboxClassic}
Expand All @@ -25,7 +24,6 @@ object SdkMain {
case "test-script" => TestScript.main(rest)
case "export" => Export.main(rest)
case "codegen" => Codegen.main(rest)
case "extractor" => Extractor.main(rest)
case "json-api" => JsonApi.main(rest)
case "trigger-service" => TriggerService.main(rest)
case "oauth2-middleware" => Oauth2Middleware.main(rest)
Expand Down
1 change: 0 additions & 1 deletion daml-assistant/daml-sdk/util.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ def deps(edition):
return [
"//daml-script/runner:script-runner-lib",
"//daml-script/runner:script-test-lib-{}".format(edition),
"//extractor",
"//language-support/codegen-main:codegen-main-lib",
"//ledger-service/http-json:http-json-{}".format(edition),
"//ledger/sandbox:sandbox-{}".format(edition),
Expand Down
1 change: 0 additions & 1 deletion daml-assistant/exe/DA/Daml/Assistant.hs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,6 @@ argWhitelist = S.fromList
, "damlc", "ide", "license", "package", "docs", "visual", "visual-web", "inspect-dar", "validate-dar", "doctest", "lint"
, "sandbox", "INFO", "TRACE", "DEBUG", "WARN", "ERROR"
, "navigator", "server", "console", "dump-graphql-schema", "create-config", "static", "simulated", "wallclock"
, "extractor", "prettyprint", "postgresql"
, "ledger", "list-parties", "allocate-parties", "upload-dar", "fetch-dar"
, "codegen", "java", "js"
, "deploy"
Expand Down
1 change: 0 additions & 1 deletion daml-lf/interface/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ da_scala_library(
"//daml-assistant/daml-sdk:__subpackages__",
"//daml-lf:__subpackages__",
"//daml-script:__subpackages__",
"//extractor:__subpackages__",
"//language-support:__subpackages__",
"//ledger-service:__subpackages__",
"//navigator:__subpackages__",
Expand Down
1 change: 0 additions & 1 deletion daml-lf/interpreter/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ da_scala_library(
"//compiler/scenario-service:__subpackages__",
"//daml-lf:__subpackages__",
"//daml-script:__subpackages__",
"//extractor:__subpackages__",
"//ledger:__subpackages__",
"//triggers:__subpackages__",
],
Expand Down
1 change: 0 additions & 1 deletion docs/configs/pdf/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ Early Access Features
:titlesonly:
:maxdepth: 2

tools/extractor
tools/export/index
tools/visual
concepts/interoperability
Expand Down
1 change: 0 additions & 1 deletion docs/redirects.map
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
app-arch/index.html -> /app-dev/app-arch.html
tools/extractor.html
integration.html -> /app-dev/app-arch.html
index.html
daml.html -> /daml/reference/index.html
Expand Down
7 changes: 0 additions & 7 deletions docs/source/concepts/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,6 @@ This is the version of Navigator that runs as a web app.

See :doc:`/tools/navigator/index`.

Extractor
=========

**Extractor** is a tool for extracting contract data for a single party into a PostgreSQL database.

See :doc:`/tools/extractor`.

Building applications
*********************

Expand Down
1 change: 0 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ Daml Documentation
:hidden:
:caption: Early Access Features

tools/extractor
tools/export/index
tools/visual
concepts/interoperability
Expand Down
9 changes: 2 additions & 7 deletions docs/source/support/component-statuses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,7 @@ Runtime components
* - :doc:`/tools/trigger-service/index` (``daml trigger-service``)
- Stable (Since SDK 1.10.0)
-
* - **Extractor**
-
-
* - :doc:`/tools/extractor` (``daml extractor``)
- Labs
-


.. _libraries:

Expand Down Expand Up @@ -175,7 +170,7 @@ Developer Tools
* - ``daml deploy`` :doc:`helper command and associated CLI </deploy/generic_ledger>` (``daml deploy --help``)
- Stable
-
* - Assistant commands to start Runtime Components: ``daml json-api``, ``daml trigger``, ``daml trigger-service``, and ``daml extractor``.
* - Assistant commands to start Runtime Components: ``daml json-api``, ``daml trigger``, and ``daml trigger-service``.
- See :ref:`runtime-components`.
-
* - **Daml Projects**
Expand Down
1 change: 0 additions & 1 deletion docs/source/tools/assistant.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Daml Assistant (``daml``)
``--sandbox-option=opt``, ``--navigator-option=opt`` and ``--json-api-option=opt``.
- Launch Sandbox: ``daml sandbox``
- Launch Navigator: ``daml navigator``
- Launch :doc:`Extractor </tools/extractor>`: ``daml extractor``
- Launch the :doc:`/json-api/index`: ``daml json-api``
- Run :doc:`Daml codegen </tools/codegen>`: ``daml codegen``

Expand Down
Loading

0 comments on commit 52110e3

Please sign in to comment.