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
2. Clone the repository and import the folder (`salesfroce-data-api`) WITHOUT copying the content to Studio's workspace
90
-
3. Create `local.properties` file in the `src/main/resources/properties` folder (reach out to someone from America SCORES to get Sandbox properties):
91
119
```properties
92
120
http.listener.host=0.0.0.0
93
121
http.listener.port=8091
@@ -96,7 +124,7 @@ fullDomain=0.0.0.0:8091
96
124
api.id=
97
125
keystore.key.password=
98
126
keystore.password=
99
-
127
+
100
128
sfdc.user=
101
129
sfdc.url=
102
130
sfdc.tkn=
@@ -111,34 +139,86 @@ slack.client_id=
111
139
slack.client_secret=
112
140
```
113
141
114
-
5. Configure Runtime
115
-
- Right click on the project and select "Run As" -> "Run Configurations..."
116
-
- Create a new configuration under "Mule Applications"
117
-
- Select the project to launch: `salesforce-data-api`
118
-
- Scroll down, click "Install Runtime" and install `Mule Server 4.6.X`. Once installed and the Studio is restarted (you can trace progress at the right bottom), go back to the menu and select the correct Mule server
119
-
- Click "Apply"
120
-
- Switch to 'Arguments' and add `-M-Denv=local`, `-Duser.timezone=UTC` and `-M-Danypoint.platform.gatekeeper=disabled` to VM arguments
121
-
- Click "Apply"
122
-
- Switch to 'JRE' and make sure that 17+ version is selected
123
-
- Close configurations window
142
+
---
143
+
⚙️ 5. Configure Mule Runtime
124
144
125
-
6. Install Java seperately (depends on the system, visit https://www.java.com)
126
-
7. Using terminal, generate the a new key pair (public and private keys) and a self-signed certificate (required for HTTPS, even for local) AND move it to `./src/main/resources` folder:
145
+
1. Right-click the project → `Run As` → `Run Configurations...`
146
+
2. Create a new config under **Mule Applications**
147
+
3. Set project to launch: `salesforce-data-api`
148
+
4. Scroll down and click **Install Runtime**
149
+
150
+
* Select and install: `Mule Server 4.6.X`
151
+
* Restart Studio if prompted
152
+
5. Select the installed **Mule Server 4.6.X**
153
+
6. Click **Apply**
154
+
155
+
Add VM Arguments (under **Arguments** tab):
156
+
157
+
```text
158
+
-M-Denv=local
159
+
-Duser.timezone=UTC
160
+
-M-Danypoint.platform.gatekeeper=disabled
127
161
```
162
+
163
+
**Set Java Version (under **JRE** tab)**:
164
+
165
+
* Ensure Java **11 or 17+** is selected
166
+
167
+
Click **Apply** and close the config window.
168
+
169
+
☕ 6. Verify Runtime & Java Versions
170
+
171
+
* Mule Runtime: **4.6.X**
172
+
* Java: **11 or 17+**
173
+
174
+
If the Mule runtime is not 4.6.x, you can install the correct version during step 5.
175
+
176
+
177
+
🔐 7. Install Java (if not present)
178
+
179
+
Install Java from the official site:
180
+
🔗 [https://www.java.com/](https://www.java.com)
181
+
182
+
---
183
+
184
+
🗑️ 8. Generate Keystore and Certificate
185
+
186
+
Use your terminal or CMD to run the following command in the **project root directory**:
0 commit comments