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

Principle #17a - Use IANA well-known identifiers #27

Closed
joanma747 opened this issue Aug 3, 2018 · 7 comments
Closed

Principle #17a - Use IANA well-known identifiers #27

joanma747 opened this issue Aug 3, 2018 · 7 comments

Comments

@joanma747
Copy link
Collaborator

I need more details to understand the intention of this principle. Could you provide more details. In particular I do not understand the reference to IANA. Lets continue discussing.

@joanma747 joanma747 changed the title Use Well-Known URIs Principle #17 - Use Well-Known URIs Aug 3, 2018
@securedimensions
Copy link
Collaborator

When designing Web-APIs, it is important to max reuse of pre-defined "well-known" identifiers (URIs).
IANA maintains a registration system for various topics including HTTP related identifiers: https://www.iana.org/protocols

So for example, if you design an API and you want to apply authentication to the site, you may wonder if there are pre-defined authentication schemes that you could re-use. Yes, there are here (HTTP Authentication Schemes): https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml#authschemes

Or you wonder what is the mime-type for a GeoXACML policy? Answer: https://www.iana.org/assignments/media-types/media-types.xhtml =>

geoxacml+xml | application/geoxacml+xml | [OGC][Scott_Simmons]

Does this clear things?

So the principle targets to make sure that designers first look at the IANA registration system.

@joanma747
Copy link
Collaborator Author

joanma747 commented Sep 9, 2018 via email

@securedimensions
Copy link
Collaborator

I think the confusion can be solved with changing the Principle to "Use IANA well-known identifiers" from https://www.iana.org/protocols
?

@joanma747 joanma747 changed the title Principle #17 - Use Well-Known URIs Principle #17a - Use Well-Known URIs Sep 9, 2018
@joanma747 joanma747 changed the title Principle #17a - Use Well-Known URIs Principle #17a - Use IANA well-known identifiers Sep 9, 2018
@joanma747
Copy link
Collaborator Author

That clarifies the issue. I have includes some clarifications in the document and I have divided principle 17 in 17a for this and 17b for the URI that OGC can reserve for all services to deal with the in a common way

@joanma747
Copy link
Collaborator Author

joanma747 commented Sep 9, 2018 via email

@cportele
Copy link
Member

@securedimensions
Copy link
Collaborator

now addressed in master

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

No branches or pull requests

3 participants