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

Functional analysis #2

Open
dearzhaorui opened this issue Aug 24, 2018 · 1 comment
Open

Functional analysis #2

dearzhaorui opened this issue Aug 24, 2018 · 1 comment

Comments

@dearzhaorui
Copy link

Dear sir,

When I analysed the Aiolos project, I was confused about few points:

  1. I can deploy, active a bundle and use its functionality wroten with ipojo annaotation in maven project, but i can just deploy and active a bundle, but after checking by 'inspect capability' command, the services provided by the bundle is EMPTY which is wrote with ipojo annotation in eclipse with BndTool plugin, so i can not use its functionality.
    Moreover, after I created a bundle with osgi.service annotation in eclipse with BndTool plugin, I can not install this bundle on Aiolos framework.
    So, is there any limitation on the way to create an avaliable bundle on Aiolos framework?

  2. The question is about the repository configuration file 'resources/be.iminds.aiolos.repository.Repository.cfg' in the webconsole Configuration session.
    When I add multiple repository URLs following the first url, all bundles in previous repository will appear one more time in the component tab. I can not understand that. The picture is as the following:
    comp-mult

    But when I start a component in nodes tab, only the same components will only appear for one time as the following figure.

    win

With kind regards,
Rui.

@tverbele
Copy link
Member

  1. AIOLOS proxies services as they are registered to the OSGi service registry. I am not familiar how ipojo works and it might be the cause of your issue. I recommend using the standardized Declarative Services to write your components which also provides annotations to declare and write your services.
  2. When deploying the system will treat a bundle with identical symbolic name and same version as the same, so it will only show up once in the start drop-down list. Probably the repository view just aggregates all bundles from the different repositories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants