Commit 266004e7 authored by Renato Figueiro Maia's avatar Renato Figueiro Maia
Browse files

[OPENBUS-2483] Nova propriedade de oferta automática com o valor do campo...

[OPENBUS-2483] Nova propriedade de oferta automática com o valor do campo 'platform_spec' do 'scs::core::ComponentId' do serviço ofertado


git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/core/branches/02_00_00@150741 ae0415b3-e90b-0410-900d-d0be9363c56b
parent 63c37f49
......@@ -110,6 +110,7 @@ local ReservedProperties = {
["openbus.component.version.major"] = true,
["openbus.component.version.minor"] = true,
["openbus.component.version.patch"] = true,
["openbus.component.platform"] = true,
["openbus.component.interface"] = true,
["openbus.component.facet"] = true,
}
......@@ -130,6 +131,7 @@ local function makePropertyList(entry, service_props)
{ name = "openbus.component.version.major", value = tostring(entry.component.major_version) },
{ name = "openbus.component.version.minor", value = tostring(entry.component.minor_version) },
{ name = "openbus.component.version.patch", value = tostring(entry.component.patch_version) },
{ name = "openbus.component.platform", value = entry.component.platform_spec },
}
local interfaces = {}
for _, facet in ipairs(entry.facets) do
......
......@@ -68,6 +68,7 @@ local ReservedProperties = {
{ name = "openbus.component.version.major", value = tostring(SomeComponentId.major_version) },
{ name = "openbus.component.version.minor", value = tostring(SomeComponentId.minor_version) },
{ name = "openbus.component.version.patch", value = tostring(SomeComponentId.patch_version) },
{ name = "openbus.component.platform", value = tostring(SomeComponentId.platform_spec) },
{ name = "openbus.component.facet", value = SomeFacetName },
{ name = "openbus.component.interface", value = SomeInterface },
}
......@@ -127,6 +128,7 @@ local function isPropsList(comp, login, props)
["openbus.component.version.major"] = checks.equal(tostring(SomeComponentId.major_version)),
["openbus.component.version.minor"] = checks.equal(tostring(SomeComponentId.minor_version)),
["openbus.component.version.patch"] = checks.equal(tostring(SomeComponentId.patch_version)),
["openbus.component.platform"] = checks.equal(tostring(SomeComponentId.platform_spec)),
["openbus.component.facet"] = {
["IComponent"] = true,
["IMetaInterface"] = true,
......
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