Commit d9a9f145 authored by Carlos Eduardo Lara Augusto's avatar Carlos Eduardo Lara Augusto
Browse files

[OPENBUS-2770] Documentação do core do OpenBus 2.1

- Adição da sintaxe dos arquivos de descrições ao manual do busadmin. O arquivo com a versão em português (doc/busservices/src/openbus.adm) será removido do svn mas as revisões anteriores poderão ser consultadas no futuro se necessário.

git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/core/trunk@164722 ae0415b3-e90b-0410-900d-d0be9363c56b
parent 7794f0d3
......@@ -819,6 +819,71 @@ return {
title = "Creates a Governance Descriptor",
description = [[
creates a new governance descriptor object that can be used to store governance definitions of a bus, like entity authentication certificates and service interface offer authorizations.
The governance descriptions are LUA files. Normally they're generated by the governance descriptor object but in previous versions they were written manually. The syntax is as follows:
-- Category definition
-- * command: Category
-- * parameters:
-- * id = category identifier
-- * name = category description
Category {
id = "TEST_Category",
name = "Category description",
}
-- Entity definition
-- * command: Entity
-- * parameters:
-- * id = entity identifier
-- * category = Entity's category identifier
-- * name = entity description
Entity {
id = "TEST_Entity",
category = "TEST_Category",
name = "Entity description",
}
-- Certificate definition
-- * command: Certificate
-- * parameters:
-- * id = entity identifier
-- * certificate = path to the entity's certificate file
Certificate {
id = "TEST_Entity",
certificate = "test.crt",
}
-- Interface definition
-- * command: Interface
-- * parameters:
-- * id = interface's repID
Interface {
id = "IDL:script/Test:1.0"
}
-- Grant authorization
-- * command: Grant
-- * parameters:
-- * id = identifier of the entity to be authorized
-- * interfaces = list of interfaces to be authorized
Grant {
id = "TEST_Entity",
interfaces = {
"IDL:script/Test:1.0",
}
}
-- Revoke authorization
-- * command: Revoke
-- * parameters:
-- * id = entity identifier
-- * interfaces = list of interfaces to be de-authorized
Revoke {
id = "TEST_Entity",
interfaces = {
"IDL:script/Test:1.0",
}
}
]],
results = {
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment