GRA-UML / tool

Modeling tool
Eclipse Public License 1.0
1 stars 0 forks source link

IJIS/OMG File locations #10

Open CoryCasanave opened 10 years ago

CoryCasanave commented 10 years ago

Various schema and artifacts are referenced, this needs to be to a well defined and accessible internet location. Please advise if IJIS will provide such a location or we should use modeldriven.org. We are also exploring OMG options. There has been a lot of discussion on OMG about similar problems.

We are currently using: schemaLocation="http://ijis.org/GRA/Annotations

CoryCasanave commented 10 years ago

Still open

CoryCasanave commented 10 years ago

Location for GRA artifacts is now defined as: http://repository.ijis.org/GRAUML Under this we will have: http://repository.ijis.org/GRAUML/template http://repository.ijis.org/GRAUML/schema I have removed the superfluous "data.grauml" from the schema names.

While this has been setup I am still having trouble with access - but we should be able to use these names for the spec files.

Action required from Tom & Todd.

st3v3c00k commented 10 years ago

Incidentally I notice that graWsdlXMI.xsd has the following: targetNamespace="http:/ijis.org/GRA/WSDLAnnotations"

Which is missing a ‘/’ after the http:

digre commented 10 years ago

The targetNamespace is driven by the URI of the corresponding package. Thus the URI of GRAUML::GRA_WSDL Package must be set to whatever the desired target Namespace should be.

CoryCasanave commented 10 years ago

Ok, namespaces changed in the models to: http://repository.ijis.org/GRAUML/schema/graAnnotationModelXMI.xsd http://repository.ijis.org/GRAUML/schema/graWsdlXMI.xsd

From: Tom Digre [mailto:notifications@github.com] Sent: Tuesday, November 04, 2014 12:16 PM To: GRA-UML/tool Cc: Cory Casanave Subject: Re: [tool] IJIS/OMG File locations (#10)

The targetNamespace is driven by the URI of the corresponding package. Thus the URI of GRAUML::GRA_WSDL Package must be set to whatever the desired target Namespace should be.

— Reply to this email directly or view it on GitHubhttps://github.com/GRA-UML/tool/issues/10#issuecomment-61677674.

CoryCasanave commented 10 years ago

Steve, Did you change the namespaces in the derivative models?

From: Cory Casanave Sent: Tuesday, November 04, 2014 12:29 PM To: 'GRA-UML/tool'; GRA-UML/tool Cc: 'Tom Digre'; 'Steve Cook' Subject: RE: [tool] IJIS/OMG File locations (#10)

Ok, namespaces changed in the models to: http://repository.ijis.org/GRAUML/schema/graAnnotationModelXMI.xsd http://repository.ijis.org/GRAUML/schema/graWsdlXMI.xsd

From: Tom Digre [mailto:notifications@github.com] Sent: Tuesday, November 04, 2014 12:16 PM To: GRA-UML/tool Cc: Cory Casanave Subject: Re: [tool] IJIS/OMG File locations (#10)

The targetNamespace is driven by the URI of the corresponding package. Thus the URI of GRAUML::GRA_WSDL Package must be set to whatever the desired target Namespace should be.

— Reply to this email directly or view it on GitHubhttps://github.com/GRA-UML/tool/issues/10#issuecomment-61677674.

st3v3c00k commented 10 years ago

No. According to SVN, you did.

From: Cory Casanave [mailto:notifications@github.com] Sent: 04 November 2014 18:25 To: GRA-UML/tool Cc: Steve Cook Subject: Re: [tool] IJIS/OMG File locations (#10)

Steve, Did you change the namespaces in the derivative models?

From: Cory Casanave Sent: Tuesday, November 04, 2014 12:29 PM To: 'GRA-UML/tool'; GRA-UML/tool Cc: 'Tom Digre'; 'Steve Cook' Subject: RE: [tool] IJIS/OMG File locations (#10)

Ok, namespaces changed in the models to: http://repository.ijis.org/GRAUML/schema/graAnnotationModelXMI.xsd http://repository.ijis.org/GRAUML/schema/graWsdlXMI.xsd

From: Tom Digre [mailto:notifications@github.com] Sent: Tuesday, November 04, 2014 12:16 PM To: GRA-UML/tool Cc: Cory Casanave Subject: Re: [tool] IJIS/OMG File locations (#10)

The targetNamespace is driven by the URI of the corresponding package. Thus the URI of GRAUML::GRA_WSDL Package must be set to whatever the desired target Namespace should be.

— Reply to this email directly or view it on GitHubhttps://github.com/GRA-UML/tool/issues/10#issuecomment-61677674.

— Reply to this email directly or view it on GitHub https://github.com/GRA-UML/tool/issues/10#issuecomment-61688825 . https://github.com/notifications/beacon/AD3CZl6Pk3AQ17IFJiNfOXYgULlwleH_ks5nKRF9gaJpZM4CpG80.gif

st3v3c00k commented 10 years ago

I don't see any reason why the namespaces should be different in the annotations and intermediate models. But I think it is very confusing to have filenames as namespaces. There seems to be a muddling in this discussion between namespace and schemalocation.

If we change the namespaces then all the XSLTs need to be changed, which seems unnecessary work for Todd at this late stage. I have changed the namespaces in the models back to be http://ijis.org/GRA/Annotations (as it was) and http://ijis.org/GRA/WSDLAnnotations (corrected).

Note: Currently none of the XSLTs appear to refer to http://ijis.org/GRA/WSDLAnnotations, which surprised me, but perhaps those references are unnecessary because of the way the XSLTs work.

Anyway, what remains to be done is to actually get the files to be accessible at http://repository.ijis.org/GRAUML/schema/graAnnotationModelXMI.xsd http://repository.ijis.org/GRAUML/schema/graWsdlXMI.xsd (Cory)

and then change the schemaLocations to find them there (Tom) (and regenerate the xsds from the latest models).

Back to Cory.

CoryCasanave commented 10 years ago

After resolving routing issues with Verizon I can now update the site – the files are in their final location. Please let me know if the files need to be updated.

A am passing this issue to Tom to make sure phase-1 uses these file locations, the issue can then be closed.

I think it very confusing to have namespaces in a different structure than the locations and not having them in a place where they can be dereferencable (in any way) due to not having control over the locations. But, I don’t want to introduce issues so we can leave the namespaces as they were.

digre commented 10 years ago

can no longer access the ijis site, neither retrieval or update

digre commented 10 years ago

Changes to location references have been implemented to align with known changes in artifact location strategy. Re-assigning to Cory for verification.

CoryCasanave commented 10 years ago

The baseURL in the ant file still refers to the modeldriven site, should use http://repository.ijis.org/GRAUML/template/SSP/graPhase2.ant.xml