1.0.0-beta.29
Pre-release
Pre-release
- The CKL parsers in the UI and API have been modified to set Asset metadata when encountering values for certain elements.The following metadata properties are set when the value of
<ASSET><WEB_OR_DATABASE>istrue:
<ASSET> Child Element |
Asset metadata |
|---|---|
<HOST_NAME> |
cklHostName |
<WEB_OR_DATABASE> |
cklWebOrDatabase |
<WEB_DB_SITE> |
cklWebDbSite |
<WEB_DB_INSTANCE> |
cklWebDbInstance |
-
The CKL importer in the UI will try to map an incoming CKL with values in these elements to an Asset by searching the response from
GET /collection/{collectionId}/assetsfor the first exact match against metadata propertiescklHostName,cklWebDbInstanceandcklWebDbSite. If the importer needs to create an Asset, it will set this metadata and set the initial Asset name to<HOST_NAME>-[<WEB_DB_SITE> | "NA"]-[<WEB_DB_INSTANCE> | "NA"]. The Asset name is not meaningful and it can be changed later. -
The Asset metadata properties are referenced when the API creates a CKL for an Asset. The corresponding
<HOST_NAME>,<WEB_DB_SITE>, and<WEB_DB_INSTANCE>values will appear in the CKL regardless of the Asset's name.