GithubHelp home page GithubHelp logo

Comments (3)

vinzscam avatar vinzscam commented on June 12, 2024

Thank you for reporting this. We are working on a fix in #24700

In the meantime I can give you a workaround to apply in your packages/backend/src/index.ts

+ import {
+   coreServices,
+   createBackendModule,
+ } from '@backstage/backend-plugin-api';
+ import { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';
+ import { GithubOrgEntityProvider } from '@backstage/plugin-catalog-backend-module-github';

...

- backend.add(import('@backstage/plugin-catalog-backend-module-github-org'));
+ backend.add(
+   createBackendModule({
+     pluginId: 'catalog',
+     moduleId: 'example-custom-processor',
+     register(env) {
+       env.registerInit({
+         deps: {
+           catalog: catalogProcessingExtensionPoint,
+           config: coreServices.rootConfig,
+           logger: coreServices.logger,
+         },
+         async init({ catalog, config, logger }) {
+           catalog.addEntityProvider(
+             GithubOrgEntityProvider.fromConfig(config, {
+               // same options as before
+             }),
+           );
+         },
+       });
+     },
+   }),
+ );

Let me know if this works!

from backstage.

prasoon-pxc avatar prasoon-pxc commented on June 12, 2024

@vinzscam --> Thanks for your reply, I have upgraded my backstage version to 1.27.0 and right now groups are ingesting under default namespace.
and sorry I have not got the time to test your above code on old version.
Again Thanks

from backstage.

vinzscam avatar vinzscam commented on June 12, 2024

@vinzscam --> Thanks for your reply, I have upgraded my backstage version to 1.27.0 and right now groups are ingesting under default namespace. and sorry I have not got the time to test your above code on old version. Again Thanks

ah no problem, glad everything is working as expected 🙏

from backstage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.