In a non-encoded Factory URL, we create temporary workspaces with a limited set of parameters. You can pass information about the type of project, the location of the source code for the project, and some meta-information about the Factory URL. Codenvy will use some coding in the URL to automate how the workspace is loaded after the repository is cloned. Additionally, Codenvy issues Affiliate and Organization codes to partners and customers that can be inserted into their Factory for reporting and tracking purposes. Since these URL parameters are public, they can be visible to outsiders who have access to the URL itself.
Non-encoded Factory URLs are those that use public URL parameters to instruct Codenvy on how to configure the temporary workspace when the Factory is clicked. These URLs can be constructed externally and Codenvy accounts are not required to create the Factories. Non-encoded Factory URLs can be bound to any public git repository with a simple set of policies.
Factory URL Format
There are two types of Factory URLs: non-encoded and encoded. A non-encoded URL is one that has all of its parameters passed as query strings in the URL format itself. This makes the URL format very long and all of the parameters are visible to the Factory consumer where the Factory is published online. An encoded Factory URL is one where the URL itself is shortened and provided with a unique ID that is understood by Codenvy. When an encoded Factory URL is executed by Codenvy, we perform a look up in our systems to determine which parameters apply to that Factory instance. An encoded Factory URL must be created and registered with Codenvy before it can be executed. A non-encoded Factory URL does not have to be registered with Codenvy before being executed successfully by our systems.
Factory URL example using a remote git URL as a source repository:
https://codenvy.com/factory?v=1.0&pname=HelloSpringMVC &wname=ivantsoft&vcs=git &vcsurl=https://github.com/karlsson82/vaadin.git &idcommit=58c6ba3fdc0c89371aafc14b4a89745f19620f3e &action=openproject&ptype=War