-
Notifications
You must be signed in to change notification settings - Fork 402
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
Feat/migration scaffoler backend module http request #1349
Feat/migration scaffoler backend module http request #1349
Conversation
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.
Let's name this file something else. It's a bit disingenuous to call this alpha if the plan is to deprecate every other option soon enough.
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.
@Xantier - I went ahead and renamed it "new-backend".
.changeset/chatty-crabs-remain.md
Outdated
@@ -0,0 +1,5 @@ | |||
--- | |||
'@roadiehq/scaffolder-backend-module-http-request': patch |
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 should be a minor change here
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.
FYI: I just tried to use it with the new (default) backend system and this does not work as the module is not exported.
I have added suggestions and comments for changes that I believe are necessary to fix it.
I might create a PR for it.
cd packages/backend | ||
yarn add @roadiehq/scaffolder-backend-module-http-request/alpha |
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.
cd packages/backend | |
yarn add @roadiehq/scaffolder-backend-module-http-request/alpha | |
yarn --cwd packages/backend add @roadiehq/scaffolder-backend-module-http-request |
const backend = createBackend(); | ||
backend.add(import('@backstage/plugin-proxy-backend/alpha')); | ||
backend.add(import('@backstage/plugin-scaffolder-backend/alpha')); | ||
backend.add(import('@roadiehq/scaffolder-backend-module-http-request/alpha')); |
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.
backend.add(import('@roadiehq/scaffolder-backend-module-http-request/alpha')); | |
backend.add(import('@roadiehq/scaffolder-backend-module-http-request')); |
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
export { scaffolderBackendModuleHttpRequest as default } from './module'; |
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 should be moved to the index.ts
. Currently, it is not exported for users of the package.
✔️ Checklist
yarn changeset
in the root)