Management → Managing Components → Importing/Exporting Components → Importing Components
When you import a component, you can create a new component or upgrade an existing one. Additionally, if the imported component was created from a template, you can use it or create a new one.
To import a component
If the component's name in the JSON file (not the name of the file itself) matches an existing component, the component's properties are updated with the new values, and new items, such as processes, are added. If the name of the component is not found, the command has no effect.
"name": "helloWorld",
To use the imported component's template, select Use Existing Template. The new component will be an exact copy of the imported one and contain a pointer to the imported component's template. This option is especially useful if you are importing a lot of components based on the same template.
If you are upgrading, the component will also point to the imported template.
To create a new template, select Create Template. The new component will be an exact copy of the imported one and contain a pointer to the newly created template (which is based on the imported component's template).
If you are upgrading a component, a new template is also created used.
When you want to create a fresh installation and ensure a template is not on the importing server, select Fail if Template Exists. If you are creating a component, it will create both a new component and template unless the template already exists, in which case the component is not imported.
If you are upgrading a component, the upgrade will fail if the imported component's template already exists.
To ensure the template is on the importing server, select Fail if Template Does Not Exist. If you are creating a component, it will create both a new component and template unless the template does not exist, in which case the component is not imported.
If you are upgrading a component, the upgrade will fail if the imported component's template does not exist on the importing server.
To upgrade the template, select Upgrade if Exists. This option creates a new component and upgrades the template on the importing server. If the template does not exist, a new one is created.
Copyright © 2011–2019 Micro Focus or one of its affiliates. All rights reserved.