occiware / OCCI-Studio

OCCI Studio
Eclipse Public License 1.0
11 stars 2 forks source link

Update the namespace2extension map after registering an OCCI extension #6

Closed fzalila closed 7 years ago

fzalila commented 7 years ago

When we create an extension configuration, the resolveKind() method is invoked.

If the concerned extension is not registered, the resolveKind() add in the namespace2extension map the metamodelURI associated to the Core OCCI extension. It is wrong (an error: term is not found into extension) but necessary to load the resource.

Once the OCCI extension is registered, the error always appears.

A possible solution consists to update the namespace2extension map when a new extension is registered.