Import a WebLogic Server Domain Configuration

post

/paas/api/v1.1/instancemgmt/{identityDomainId}/services/jaas/instances/{serviceId}/import

Imports an on-premises WebLogic Server domain configuration and its deployed applications into an existing Oracle Java Cloud Service instance.

The service instance must already have been provisioned with the appropriate AppToCloud artifacts that were uploaded to cloud object storage.

By default, the import operation uses the same AppToCloud payload that was defined when the service instance was created with AppToCloud artifacts. Note the following:

  • On Oracle Cloud Infrastructure Classic and Oracle Cloud Infrastructure, the payload is an object. See Create a Service Instance.
  • On Oracle Cloud at Customer, if the service instance was created before the December 2017 release of Oracle Java Cloud Service (17.4.1) on Oracle Cloud at Customer, the payload is an array. See the array customPayload example below.

More than eight clusters in a single domain are not supported by the AppToCloud import operation.

Note: Back up your service instance prior to performing an import. If the import fails, you will be able to restore the service instance to a known working state.

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
The request body defines the location of your AppToCloud artifacts in an object storage container. It also defines the data sources, foreign JNDI providers, and other resources as configured in the source domain. Look in your exported JSON file for the data source bindings, service bindings, and other resource bindings.
Root Schema : import-postrequest
Type: object
Show Source
  • customPayload
    Contains payload details about the data sources, foreign JNDI providers, and other resources as configured in an on-premises WebLogic Server source domain.

    On Oracle Cloud at Customer, if the service instance was created before the December 2017 release of Oracle Java Cloud Service (17.4.1) on Oracle Cloud at Customer, the payload is an array, not an object. See the array customPayload example below.

Nested Schema : customPayload
Type: object
Contains payload details about the data sources, foreign JNDI providers, and other resources as configured in an on-premises WebLogic Server source domain.

On Oracle Cloud at Customer, if the service instance was created before the December 2017 release of Oracle Java Cloud Service (17.4.1) on Oracle Cloud at Customer, the payload is an array, not an object. See the array customPayload example below.

Show Source
  • payload
    Groups information about the data sources, foreign JNDI providers, and other resources as configured in an on-premises WebLogic Server source domain. Each data source in the original domain must be associated with an existing database deployment in Oracle Cloud.
  • The value must be app2cloud.
Nested Schema : payload
Type: object
Groups information about the data sources, foreign JNDI providers, and other resources as configured in an on-premises WebLogic Server source domain. Each data source in the original domain must be associated with an existing database deployment in Oracle Cloud.
Show Source
  • ds
    Groups information about one or more data sources as configured in the source domain.

    Each data source must be mapped to an database deployment in Oracle Cloud.

  • jmsMessageBridgeDestination
    Groups information about one or more message bridge destinations as configured in the source domain.

    Each JMS message bridge destination must have a connection URL or destination information for an existing Oracle Java Cloud Service instance.

  • jmsMessagingBridge
    Groups information about one or more messaging bridges as configured in the source domain.

    Each JMS messaging bridge can have a source JMS bridge destination and a target JMS bridge destination.

  • jmsModule
    Groups information about one or more JMS modules as configured in the source domain.

    Each JMS module can have zero or more foreign JMS servers, and zero or more remote Store-and-Forward (SAF) contexts.

  • jndi
    Groups information about one or more foreign Java Naming and Directory Interface (JNDI) providers as configured in the source domain.

    Each foreign JNDI provider must be configured with the URL that WebLogic Server uses to contact the JNDI provider, or destination information for an existing Oracle Java Cloud Service instance.

  • mailSession
    Groups information about one or more Java mail sessions as configured in the source domain.

    Each mail session can have a default, send, and receive object. A send or receive object cannot be added if the source domain does not have a transport (send) or store (receive) property.

  • storage
    Groups information about the object storage container that contains the AppToCloud artifacts generated by the Export tool.
Nested Schema : ds
Type: object
Groups information about one or more data sources as configured in the source domain.

Each data source must be mapped to an database deployment in Oracle Cloud.

Show Source
  • datasource
    Replace this with the actual dataSourceName name of a dataSourceBindings, as found in the exported JSON file. Specify one data source object for each dataSourceName found in the exported JSON file.
Nested Schema : jmsMessageBridgeDestination
Type: object
Groups information about one or more message bridge destinations as configured in the source domain.

Each JMS message bridge destination must have a connection URL or destination information for an existing Oracle Java Cloud Service instance.

Show Source
Nested Schema : jmsMessagingBridge
Type: object
Groups information about one or more messaging bridges as configured in the source domain.

Each JMS messaging bridge can have a source JMS bridge destination and a target JMS bridge destination.

Show Source
  • messagingbridge
    Replace this with the actual resourceRef name of a JMSBridgeBinding in jmsBindings, as found in the exported JSON file.

    The source and target destination must match the value of the source and target destination in the JMSBridgeBinding. The bridge destinations cannot be changed. If the source or target destination of the binding is empty, this indicates the destination is local to the server or cluster to which the bridge is targeted.

Nested Schema : jmsModule
Type: object
Groups information about one or more JMS modules as configured in the source domain.

Each JMS module can have zero or more foreign JMS servers, and zero or more remote Store-and-Forward (SAF) contexts.

Show Source
  • jmsmodule
    Replace this with the actual resourceRef name of a JMSModuleBinding in jmsBindings, as found in the exported JSON file. Specify one object for each JMS module binding found in the exported JSON file. Each object can have zero or more jmsForeignServer, and zero or more safRemoteContext.
Nested Schema : jndi
Type: object
Groups information about one or more foreign Java Naming and Directory Interface (JNDI) providers as configured in the source domain.

Each foreign JNDI provider must be configured with the URL that WebLogic Server uses to contact the JNDI provider, or destination information for an existing Oracle Java Cloud Service instance.

Show Source
  • foreignjndi
    Replace this with the actual resourceRef name of a foreign JNDI provider binding in serviceBindings, as found in the exported JSON file. Specify one object for each foreign JNDI provider binding found in the exported JSON file.
Nested Schema : mailSession
Type: object
Groups information about one or more Java mail sessions as configured in the source domain.

Each mail session can have a default, send, and receive object. A send or receive object cannot be added if the source domain does not have a transport (send) or store (receive) property.

Show Source
  • javamailsession
    Replace this with the actual resourceRef name of a mail session binding in serviceBindings, as found in the exported JSON file. Specify one object for each mail session binding found in the exported JSON file.
Nested Schema : storage
Type: object
Groups information about the object storage container that contains the AppToCloud artifacts generated by the Export tool.
Show Source
  • Location of the the Model Metadata Override JSON file that was generated when you used the AppToCloud Export tool on the domain configuration you wish to import into a service instance.

    The location is the Oracle Cloud Infrastructure Object Storage Classic container that contains the AppToCloud artifacts generated by the Export tool.

  • Password for the object storage user who has access to the container.
  • User name for the object storage user who has access to the container.
Nested Schema : datasource
Type: object
Replace this with the actual dataSourceName name of a dataSourceBindings, as found in the exported JSON file. Specify one data source object for each dataSourceName found in the exported JSON file.
Show Source
  • Replace this with the actual dataSourceName name of a dataSourceBindings as found in the exported JSON file. The data source types supported at this time are: Generic, Multi, and GridLink. The value is the database deployment.

    Note: For GridLink and Multi data sources, use a database deployment that hosts an Oracle Real Application Clusters (RAC) database (if supported in your Oracle Cloud environment).

  • Password for the database administrator.
  • The value can be one of the following: Generic, Multi, and GridLink.

    If the specified database deployment does not use a RAC database, the value must be Generic.

    If the specified database deployment uses a RAC database and the specified edition (for WebLogic Server software) is EE, the value must be Multi.

    If the specified database deployment uses a RAC database and the specified edition (for WebLogic Server software) is SUITE, the value can be GridLink or Multi.

    Note: Using a RAC database for a database deployment may not be supported in your Oracle Cloud environment.

  • User name for the database administrator.
Nested Schema : messagebridgedestination
Type: object
Replace this with the actual resourceRef name of a JMSBridgeDestinationBinding in jmsBindings, as found in the exported JSON file.
Show Source
  • Flag that specifies whether to validate the connection during the import operation precheck. Default is false, which means validation is performed and the operation does not continue if the connection is invalid. Set to true if you want to skip the connection validation during the operation precheck.
  • Connection URL for the JMS bridge destination.

    Note that either destination or connectionUrl must be specified for each bridge destination.

  • destination
    Information about an existing Oracle Java Cloud Service instance. Provide either server or cluster details for the destination.

    Note that either destination or connectionUrl must be specified for each bridge destination.

  • Can include a password. Must be specified if username is specified.
  • Can include a user name. Must be specified if password is specified.
Nested Schema : destination
Type: object
Information about an existing Oracle Java Cloud Service instance. Provide either server or cluster details for the destination.

Note that either destination or connectionUrl must be specified for each bridge destination.

Show Source
Nested Schema : messagingbridge
Type: object
Replace this with the actual resourceRef name of a JMSBridgeBinding in jmsBindings, as found in the exported JSON file.

The source and target destination must match the value of the source and target destination in the JMSBridgeBinding. The bridge destinations cannot be changed. If the source or target destination of the binding is empty, this indicates the destination is local to the server or cluster to which the bridge is targeted.

Show Source
Nested Schema : jmsmodule
Type: object
Replace this with the actual resourceRef name of a JMSModuleBinding in jmsBindings, as found in the exported JSON file. Specify one object for each JMS module binding found in the exported JSON file. Each object can have zero or more jmsForeignServer, and zero or more safRemoteContext.
Show Source
Nested Schema : jmsForeignServer
Type: object
Groups information about one or more JMS foreign servers.

Each JMS foreign server must have a JNDI connection URL or destination information for an existing Oracle Java Cloud Service instance.

Show Source
Nested Schema : safRemoteContext
Type: object
Groups information about one or more remote Store-and-Forward (SAF) contexts.

Each remote SAF context must have an URL or destination information for an existing Oracle Java Cloud Service instance.

Show Source
Nested Schema : jmsforeignserver
Type: object
Replace this with the actual resourceRef name of the foreign server binding.
Show Source
  • Flag that specifies whether to validate the connection to the server during the import operation precheck. Default is false, which means validation is performed and the operation does not continue if the connection is invalid. Set to true if you want to skip the connection validation during the operation precheck.
  • destination
    Information about an existing Oracle Java Cloud Service instance. Provide either server or cluster details for the destination.

    Note that either destination or jndiConnectionUrl must be specified for each foreign JMS server object.

  • JNDI connection URL.

    Note that either destination or jndiConnectionUrl must be specified for each foreign JMS server object.

  • Can include a password. Must be specified if username is specified.
  • Can include a user name. Must be specified if password is specified.
Nested Schema : destination
Type: object
Information about an existing Oracle Java Cloud Service instance. Provide either server or cluster details for the destination.

Note that either destination or jndiConnectionUrl must be specified for each foreign JMS server object.

Show Source
Nested Schema : safremotecontext
Type: object
Replace this with the actual resourceRef name of the remote SAF context binding.
Show Source
  • Flag that specifies whether to validate the connection to the remote context during the import operation precheck. Default is false, which means validation is performed and the operation does not continue if the connection is invalid. Set to true if you want to skip the connection validation during the operation precheck.
  • destination
    Information about an existing Oracle Java Cloud Service instance. Provide either server or cluster details for the destination.

    Note that either destination or url must be specified for each remote SAF context.

  • Can include a password. Must be specified if username is specified.
  • The URL that the domain will use to connect to the remote server or cluster.

    Note that either destination or url must be specified for each remote SAF context.

  • Can include a user name. Must be specified if password is specified.
Nested Schema : destination
Type: object
Information about an existing Oracle Java Cloud Service instance. Provide either server or cluster details for the destination.

Note that either destination or url must be specified for each remote SAF context.

Show Source
Nested Schema : foreignjndi
Type: object
Replace this with the actual resourceRef name of a foreign JNDI provider binding in serviceBindings, as found in the exported JSON file. Specify one object for each foreign JNDI provider binding found in the exported JSON file.
Show Source
  • Flag that specifies whether to validate the connection to the provider during the import operation precheck. Default is false, which means validation is performed and the operation does not continue if the connection is invalid. Set to true if you want to skip the connection validation during the operation precheck.
  • destination
    Information about an existing Oracle Java Cloud Service instance. Provide either server or cluster details for the destination.

    Note that either destination or provider must be specified for each foreign JNDI provider object.

  • Can include a password. Must be specified if username is specified.
  • The foreign JNDI provider URL.

    Note that either destination or provider must be specified for each foreign JNDI provider object.

  • Can include a user name. Must be specified if password is specified.
Nested Schema : destination
Type: object
Information about an existing Oracle Java Cloud Service instance. Provide either server or cluster details for the destination.

Note that either destination or provider must be specified for each foreign JNDI provider object.

Show Source
Nested Schema : javamailsession
Type: object
Replace this with the actual resourceRef name of a mail session binding in serviceBindings, as found in the exported JSON file. Specify one object for each mail session binding found in the exported JSON file.
Show Source
Nested Schema : defaultMail
Type: object
Default property values for the mail host.
Show Source
Nested Schema : optionalProperties
Type: object
Groups other Java mail properties.
Show Source
  • One or more String name and value pairs of other Java mail properties that are not in the on-premises domain. Do not include host, port, credentials, and protocol properties for connecting to the mail server.
Nested Schema : receive
Type: object
Property values for the receive mail host.
Show Source
Nested Schema : send
Type: object
Property values for the send mail host.
Show Source
Back to Top

Response

Supported Media Types

202 Response

Accepted. The Location header returns a URI that can be used to view the job status, as described in View the Status of an Operation by Job Id.

Note: A response body may not be available in your Oracle Cloud deployment.

Body ()
Root Schema : import-response
Type: object
Show Source
Nested Schema : details
Type: object
Groups the details of the operation.
Show Source
Back to Top

Examples

The following example shows how to import a WebLogic Server domain configuration from an on-premises environment into your Oracle Java Cloud Service instance that was created with AppToCloud artifacts.

Note: The command in this example uses the URL structure https://rest_server_url/resource-path, where rest_server_url is the REST server to contact for your identity domain (or Cloud Account). See Send Requests.

cURL Command

curl -i -X POST -u username:password -d @importcustompayload.json -H "Content-Type:application/json" -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://rest_server_url/paas/api/v1.1/instancemgmt/ExampleIdentityDomain/services/jaas/instances/ExampleInstance/import

The customPayLoad details used in the import POST request are the same as the customPayLoad details used in the create service instance POST request.

For service instances created in release 17.4.1 and higher, the customPayLoad is an object.

On Oracle Cloud at Customer, if the service instance was created before the December 2017 release of Oracle Java Cloud Service (17.4.1) on Oracle Cloud at Customer, customPayLoad is an array.

Example of Request Body (object customPayload)

For release 17.4.1 and higher, customPayLoad is an object. The following shows an example that uses the customPayLoad object and payload object in the request body.

Each data source in the original WebLogic Server domain must be associated with an existing Oracle Cloud database deployment. For GridLink and Multi data sources, use a database deployment that hosts an Oracle Real Application Clusters (Oracle RAC) database.

{
    "customPayload": {
        "payload": {
            "ds":
            {
                "mymultidatasource":
                {
                    "username":"sys as sysdba",
                    "password":"MyDBPassword1#",
                    "mymultidatasource":"some-db-cloud-instance",
                    "targetDataSourceType":"Generic"
                },
                "grid-2":
                {
                    "username":"sys as sysdba",
                    "password":"MyDBPassword1#",
                    "grid-2":"some-db-cloud-instance",
                    "targetDataSourceType":"Generic"
                },
                "JDBC Data Source-0":
                {
                    "username":"sys as sysdba",
                    "password":"MyDBPassword1#",
                    "JDBC Data Source-0":"some-db-cloud-instance",
                    "targetDataSourceType":"Generic"
                },
                "abcdjdbc":
                {
                  "username":"sys as sysdba",
                  "password":"Welcome#1",
                  "abcdjdbc":"some-db-cloud-instance",
                  "targetDataSourceType":"Generic"
                }
            },
            "jndi":
            {
                "myforeign-jndi":
                {
                    "bypassPrecheck": "false",
                    "username":"myweblogicuser",
                    "password":"myweblogic1password",
                    "provider":"T3_WEBLOGIC_SERVER_URL"
                },
                "abcd":
                {
                    "bypassPrecheck": "false",
                    "username":"myweblogicuser",
                    "password":"myweblogic1password",
                    "provider":"T3_WEBLOGIC_SERVER_URL"
                },
                "abcd provider jndi":
                {
                    "bypassPrecheck": "false",
                    "username":"myweblogicuser",
                    "password":"myweblogic1password",
                    "destination":
                    {
                        "jaasInstance": "targetJCSInstance",
                        "server": "myserver",
                        "protocol": "t3"
                    }
                }
            },
            "mailSession": 
            {
                "MyMailSession-0": 
                {
                    "mailSessionName": "MyMailSession-0",
                    "defaultMail": 
                    {
                        "port": "asdasd",
                        "username": "asdasd",
                        "host": "asad",
                        "type": "Default",
                        "password":"password"
                    },
                    "send": 
                    {
                        "port": "465",
                        "username": "asdsad",
                        "protocol": "smtp",
                        "host": "anexample.example.com",
                        "type": "Send",
                        "password":"password"
                    },
                    "bypassPrecheck": "false",
                    "receive": 
                    {
                        "port": "993",
                        "username": "asdsad",
                        "protocol": "imap",
                        "host": "anexample.example.com",
                        "type": "Receive",
                        "password":"password"
                    },
                    "optionalProperties": 
                    {
                        "mail.smtp.ssl.enable": "true",
                        "mail.imap.starttls.enable": "true",
                        "mail.imap.ssl.enable": "true",
                        "mail.smtp.auth": "true",
                        "mail.smtp.starttls.enable": "true",
                        "mail.imap.auth": "true"
                    }
                },
                "MyMailSession-1": 
                {
                    "mailSessionName": "MyMailSession-1",
                    "defaultMail": 
                    {
                        "port": "asdsad",
                        "username": "asdsd",
                        "host": "asdasd",
                        "type": "Default",
                        "password":"password"
                    },
                    "send": 
                    {
                        "port": "465",
                        "username": "asdasd",
                        "protocol": "smtp",
                        "host": "anexample.example.com",
                        "type": "Send",
                        "password":"password"
                    },
                    "bypassPrecheck": "false",
                    "optionalProperties": 
                    {
                        "mail.smtp.ssl.enable": "true",
                        "mail.smtp.auth": "true",
                        "mail.smtp.password":"password",
                        "mail.smtp.starttls.enable": "true"
                    }
                }
            },
            "jmsModule": 
            {
                "My Advanced Jms Module 1": 
                {
                    "jmsForeignServer": 
                    {
                        "MyForeignJMS3": 
                        {
                            "username": "asdsd",
                            "jndiConnectionUrl": "t3:\/\/127.0.0.1:8101",
                            "bypassPrecheck": "false",
                            "password":"password"
                        }
                    },
                    "safRemoteContext": 
                    {
                        "MyRemoteSAFcontext-0": 
                        {
                            "username": "asdasd",
                            "bypassPrecheck": "false",
                            "password":"password",
                            "url": "t3:\/\/127.0.0.1:8101"
                        },
                        "MyRemoteSAFcontext-1": 
                        {
                            "username": "tjghgh",
                            "bypassPrecheck": "false",
                            "password":"password",
                            "url": "t3:\/\/127.0.0.1:8101"
                        },
                        "MyRemoteSAFcontext-2":
                        {
                            "username": "egertert",
                            "bypassPrecheck": "false",
                            "password":"password",
                            "destination":
                            {
                                "jaasInstance": "targetJCSInstance",
                                "server": "mycluster",
                                "protocol": "t3"
                            }   
                        }
                    }
                },
                "MyAdvancedJmsModule2": 
                {
                    "jmsForeignServer": 
                    {
                        "My Foreign JMS 0": 
                        {
                            "username": "dfhrtuu",
                            "jndiConnectionUrl": "t3:\/\/127.0.0.1:8101",
                            "bypassPrecheck": "false",
                            "password":"password"
                        },
                        "ForeignServer-10": 
                        {
                            "username": "username3",
                            "password": "password3",
                            "bypassPrecheck": "false",
                            "destination": { 
                                "jaasInstance": "targetJCSInstance", 
                                "cluster": "my cluster", 
                                "protocol": "t3"
                            } 
                        }
                    },
                    "safRemoteContext": 
                    {
                        "MyRemoteSAFcontext-0": 
                        {
                            "username": "were545",
                            "bypassPrecheck": "false",
                            "password":"password",
                            "url": "t3:\/\/127.0.0.1:8101"
                        },
                        "MyRemoteSAFcontext-1": 
                        {
                            "username": "sdfsdfs",
                            "bypassPrecheck": "false",
                            "password":"password",
                            "url": "t3:\/\/127.0.0.1:8101"
                        },
                        "MyRemoteSAFcontext-2": 
                        {
                            "username": "uuyhmn",
                            "bypassPrecheck": "false",
                            "password":"password",
                            "url": "t3:\/\/127.0.0.1:8101"
                        }
                    }
                }
            },
            "jmsMessageBridgeDestination": 
            {
                "JMS Bridge Remote Destination": 
                {
                    "connectionUrl": "t3:\/\/127.0.0.1:8101",
                    "bypassPrecheck": "false",
                    "username": "someusername",
                    "password": "somepassword"
                },
                "JMS Bridge Local Destination": 
                {
                    "connectionUrl": "t3:\/\/127.0.0.1:8101",
                    "bypassPrecheck": "false",
                    "username": "someusername",
                    "password": "somepassword"
                },
                "JMS Bridge Another Local Destination": 
                {
                    "connectionUrl": "t3:\/\/127.0.0.1:8101",
                    "bypassPrecheck": "false",
                    "username": "someusername",
                    "password": "somepassword"
                },
                "JMS Bridge Another Remote Destination": 
                {
                    "bypassPrecheck": "false",
                    "username": "someusername",
                    "password": "somepassword",
                    "destination":
                    {
                        "jaasInstance": "targetJCSInstance",
                        "server": "mycluster",
                        "protocol": "t3"
                    }               
                }
            },
            "jmsMessagingBridge": 
            {
                "MyMessagingBridge-2": 
                {
                    "sourceDestination": "JMS Bridge Remote Destination",
                    "targetDestination": "JMS Bridge Local Destination"
                },
                "MyMessagingBridge-1": 
                {
                    "sourceDestination": "JMS Bridge Local Destination",
                    "targetDestination": "JMS Bridge Remote Destination"
                },
                "Another Messaging Bridge-2": 
                {
                    "sourceDestination": "JMS Bridge Another Remote Destination",
                    "targetDestination": "JMS Bridge Another Local Destination"
                }
            },
            "storage":
            {
                "a2cModelJsonLocation": "https://storage-url/v1/storage-storageidentitydomain/containername/domain1.json",
                "cloudStoragePwd": "MyPassword1#",
                "cloudStorageUser": "joe@example.com"
            }
        },
        "type": "app2cloud"
    }    
}

Example of Request Body (array customPayload)

On Oracle Cloud at Customer, if the service instance was created before the December 2017 release of Oracle Java Cloud Service (17.4.1) on Oracle Cloud at Customer, customPayLoad must be an array.

The following shows an example that uses the customPayLoad array in the request body.

Each data source in the original WebLogic Server domain must be associated with an existing Oracle Database Cloud Service database deployment. For GridLink and Multi data sources, use a Database Cloud Service database deployment that hosts an Oracle Real Application Clusters (Oracle RAC) database.

{
    "customPayload": [
    {  
        "ds":
        {
            "mymultidatasource":
            {
                "username":"sys as sysdba",
                "password":"MyDBPassword1#",
                "mymultidatasource":"some-db-cloud-instance",
                "targetDataSourceType":"Generic"
            },
            "grid-2":
            {
                "username":"sys as sysdba",
                "password":"MyDBPassword1#",
                "grid-2":"some-db-cloud-instance",
                "targetDataSourceType":"Generic"
            },
            "JDBC Data Source-0":
            {
                "username":"sys as sysdba",
                "password":"MyDBPassword1#",
                "JDBC Data Source-0":"some-db-cloud-instance",
                "targetDataSourceType":"Generic"
            },
            "abcdjdbc":
            {
              "username":"sys as sysdba",
              "password":"Welcome#1",
              "abcdjdbc":"some-db-cloud-instance",
              "targetDataSourceType":"Generic"
            }
        },
        "jndi":
        {
            "myforeign-jndi":
            {
                "bypassPrecheck": "false",
                "username":"myweblogicuser",
                "password":"myweblogic1password",
                "provider":"T3_WEBLOGIC_SERVER_URL"
            },
            "abcd":
            {
                "bypassPrecheck": "false",
                "username":"myweblogicuser",
                "password":"myweblogic1password",
                "provider":"T3_WEBLOGIC_SERVER_URL"
            },
            "abcd provider jndi":
            {
                "bypassPrecheck": "false",
                "username":"myweblogicuser",
                "password":"myweblogic1password",
                "destination":
                {
                    "jaasInstance": "targetJCSInstance",
                    "server": "myserver",
                    "protocol": "t3"
                }
            }
        },
        "mailSession": 
        {
            "MyMailSession-0": 
            {
                "mailSessionName": "MyMailSession-0",
                "defaultMail": 
                {
                    "port": "asdasd",
                    "username": "asdasd",
                    "host": "asad",
                    "type": "Default",
                    "password":"password"
                },
                "send": 
                {
                    "port": "465",
                    "username": "asdsad",
                    "protocol": "smtp",
                    "host": "anexample.example.com",
                    "type": "Send",
                    "password":"password"
                },
                "bypassPrecheck": "false",
                "receive": 
                {
                    "port": "993",
                    "username": "asdsad",
                    "protocol": "imap",
                    "host": "anexample.example.com",
                    "type": "Receive",
                    "password":"password"
                },
                "optionalProperties": 
                {
                    "mail.smtp.ssl.enable": "true",
                    "mail.imap.starttls.enable": "true",
                    "mail.imap.ssl.enable": "true",
                    "mail.smtp.auth": "true",
                    "mail.smtp.starttls.enable": "true",
                    "mail.imap.auth": "true"
                }
            },
            "MyMailSession-1": 
            {
                "mailSessionName": "MyMailSession-1",
                "defaultMail": 
                {
                    "port": "asdsad",
                    "username": "asdsd",
                    "host": "asdasd",
                    "type": "Default",
                    "password":"password"
                },
                "send": 
                {
                    "port": "465",
                    "username": "asdasd",
                    "protocol": "smtp",
                    "host": "anexample.example.com",
                    "type": "Send",
                    "password":"password"
                },
                "bypassPrecheck": "false",
                "optionalProperties": 
                {
                    "mail.smtp.ssl.enable": "true",
                    "mail.smtp.auth": "true",
                    "mail.smtp.password":"password",
                    "mail.smtp.starttls.enable": "true"
                }
            }
        },
        "jmsModule": 
        {
            "My Advanced Jms Module 1": 
            {
                "jmsForeignServer": 
                {
                    "MyForeignJMS3": 
                    {
                        "username": "asdsd",
                        "jndiConnectionUrl": "t3:\/\/127.0.0.1:8101",
                        "bypassPrecheck": "false",
                        "password":"password"
                    }
                },
                "safRemoteContext": 
                {
                    "MyRemoteSAFcontext-0": 
                    {
                        "username": "asdasd",
                        "bypassPrecheck": "false",
                        "password":"password",
                        "url": "t3:\/\/127.0.0.1:8101"
                    },
                    "MyRemoteSAFcontext-1": 
                    {
                        "username": "tjghgh",
                        "bypassPrecheck": "false",
                        "password":"password",
                        "url": "t3:\/\/127.0.0.1:8101"
                    },
                    "MyRemoteSAFcontext-2":
                    {
                        "username": "egertert",
                        "bypassPrecheck": "false",
                        "password":"password",
                        "destination":
                        {
                            "jaasInstance": "targetJCSInstance",
                            "server": "mycluster",
                            "protocol": "t3"
                        }   
                    }
                }
            },
            "MyAdvancedJmsModule2": 
            {
                "jmsForeignServer": 
                {
                    "My Foreign JMS 0": 
                    {
                        "username": "dfhrtuu",
                        "jndiConnectionUrl": "t3:\/\/127.0.0.1:8101",
                        "bypassPrecheck": "false",
                        "password":"password"
                    },
                    "ForeignServer-10": 
                    {
                        "username": "username3",
                        "password": "password3",
                        "bypassPrecheck": "false",
                        "destination": { 
                            "jaasInstance": "targetJCSInstance", 
                            "cluster": "my cluster", 
                            "protocol": "t3"
                        } 
                    }
                },
                "safRemoteContext": 
                {
                    "MyRemoteSAFcontext-0": 
                    {
                        "username": "were545",
                        "bypassPrecheck": "false",
                        "password":"password",
                        "url": "t3:\/\/127.0.0.1:8101"
                    },
                    "MyRemoteSAFcontext-1": 
                    {
                        "username": "sdfsdfs",
                        "bypassPrecheck": "false",
                        "password":"password",
                        "url": "t3:\/\/127.0.0.1:8101"
                    },
                    "MyRemoteSAFcontext-2": 
                    {
                        "username": "uuyhmn",
                        "bypassPrecheck": "false",
                        "password":"password",
                        "url": "t3:\/\/127.0.0.1:8101"
                    }
                }
            }
        },
        "jmsMessageBridgeDestination": 
        {
            "JMS Bridge Remote Destination": 
            {
                "connectionUrl": "t3:\/\/127.0.0.1:8101",
                "bypassPrecheck": "false",
                "username": "someusername",
                "password": "somepassword"
            },
            "JMS Bridge Local Destination": 
            {
                "connectionUrl": "t3:\/\/127.0.0.1:8101",
                "bypassPrecheck": "false",
                "username": "someusername",
                "password": "somepassword"
            },
            "JMS Bridge Another Local Destination": 
            {
                "connectionUrl": "t3:\/\/127.0.0.1:8101",
                "bypassPrecheck": "false",
                "username": "someusername",
                "password": "somepassword"
            },
            "JMS Bridge Another Remote Destination": 
            {
                "bypassPrecheck": "false",
                "username": "someusername",
                "password": "somepassword",
                "destination":
                {
                    "jaasInstance": "targetJCSInstance",
                    "server": "mycluster",
                    "protocol": "t3"
                }               
            }
        },
        "jmsMessagingBridge": 
        {
            "MyMessagingBridge-2": 
            {
                "sourceDestination": "JMS Bridge Remote Destination",
                "targetDestination": "JMS Bridge Local Destination"
            },
            "MyMessagingBridge-1": 
            {
                "sourceDestination": "JMS Bridge Local Destination",
                "targetDestination": "JMS Bridge Remote Destination"
            },
            "Another Messaging Bridge-2": 
            {
                "sourceDestination": "JMS Bridge Another Remote Destination",
                "targetDestination": "JMS Bridge Another Local Destination"
            }
        },
        "storage":
        {
            "a2cModelJsonLocation": "https://storage-url/v1/storage-storageidentitydomain/containername/domain1.json",
            "cloudStoragePwd": "MyPassword1#",
            "cloudStorageUser": "joe@example.com"
        },
        "type": "app2cloud"
    }
    ]
}

Example of Response Header

The following shows an example of the response header. The Location header returns the URI that can be used to view the job status. See View the Status of an Operation by Job Id.

HTTP/1.1 202 Accepted
Date: Mon, 21 Aug 2017 21:45:50 GMT
Location: https://rest_server_url/paas/api/v1.1/activitylog/ExampleIdentityDomain/job/16062
Content-Length: 120
Content-Type: application/json

Example of Response Body

The following shows an example of the response body in JSON format.

{
   "details":
   {
      "message":"Submitted AppToCloud import job for service ExampleInstance in domain ExampleIdentityDomain.",
      "jobId":"16062"
   }
}
Back to Top