You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/service-fabric/service-fabric-get-started-eclipse.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ You can also deploy your application to the local cluster wuth the **Publish App
118
118
119
119
To publish your application to the cloud, follow these steps:
120
120
121
-
1. To publish your application to a secure cluster in the cloud, you need an X.509 certificate to use to communicate with your cluster. In test and development environments, the certificate used is often the cluster certificate. In production environments, the certificate should be a client certificate, which is distinct from the cluster certificate. You need both the certificate and the private key. The certificate (and key) file must be PEM-formatted. You can create a PEM file that contains the certificate and private key from a PFX file with the following openssl command:
121
+
1. To publish your application to a secure cluster in the cloud, you need an X.509 certificate to use to communicate with your cluster. In test and development environments, the certificate used is often the cluster certificate. In production environments, the certificate should be a client certificate that is distinct from the cluster certificate. You need both the certificate and the private key. The certificate (and key) file must be PEM-formatted. You can create a PEM file that contains the certificate and private key from a PFX file with the following openssl command:
@@ -160,16 +160,18 @@ On secure Linux clusters, if your application contains Reliable Services service
160
160
161
161
For a quick walk through of how to deploy a Service Fabric Reliable Services application written in Java to a secure Linux cluster, see [Quckstart: Deploy a Java Reliable Services application](./service-fabric-quickstart-java-reliable-services.md).
162
162
163
-
## Deploy (publish) a Service Fabric application by using Eclipse run configurations
163
+
## Deploy a Service Fabric application by using Eclipse run configurations
164
164
165
165
An alternate way to deploy your Service Fabric application is by using Eclipse run configurations.
166
166
167
-
1. Go to **Run**>**Run Configurations**.
168
-
2. Under **Gradle Project**, selectthe**ServiceFabricDeployer** run configuration.
169
-
3. In the right pane, on the **Arguments** tab, for**publishProfile**, select**local** or **cloud**. The default is **local**. To deploy to a remote or cloud cluster, select**cloud**.
170
-
4. To ensure that the proper information is populated in the publish profiles, edit **Local.json** or **Cloud.json** as needed. You can add or update endpoint details and security credentials.
171
-
5. Ensure that **Working Directory** points to the application you want to deploy. To change the application, click the **Workspace** button, and thenselectthe application you want.
172
-
6. Click **Apply**, and then click **Run**.
167
+
1. In Eclipse, go to **Run**>**Run Configurations**.
168
+
2. Under **Gradle Project**, selectthe**ServiceFabricDeployer** run configuration.
169
+
3. In the right pane, on the **Arguments** tab, make sure the **ip**, **port**, **clientCert**, and **clientKey** parameters are set appropriately foryour deployment. By default, the parameters are set to deploy to the local cluster asin the following screenshot. To publish your app to Azure you can modify the parameters to contain the endpoint details and security credentials for your Azure cluster. For more information, see the previous section, [Publish your Service Fabric application to Azure with Eclipse](#publish-your-service-fabric-application-to-azure-with-eclipse).
5. Make sure that **Working Directory** points to the application you want to deploy. To change the application, click the **Workspace** button, and thenselectthe application you want.
174
+
6. Click **Apply**, and then click **Run**.
173
175
174
176
Your application builds and deploys within a few moments. You can monitor the deployment status in Service Fabric Explorer.
0 commit comments