19 changed files with 162 additions and 351 deletions
@ -1,2 +0,0 @@ |
|||||
# Default ignored files |
|
||||
/workspace.xml |
|
||||
@ -1,18 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<project version="4"> |
|
||||
<component name="CompilerConfiguration"> |
|
||||
<annotationProcessing> |
|
||||
<profile name="Maven default annotation processors profile" enabled="true"> |
|
||||
<sourceOutputDir name="target/generated-sources/annotations" /> |
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" /> |
|
||||
<outputRelativeToContentRoot value="true" /> |
|
||||
<module name="payment-eureka-app" /> |
|
||||
<module name="payment-base-app" /> |
|
||||
</profile> |
|
||||
</annotationProcessing> |
|
||||
<bytecodeTargetLevel> |
|
||||
<module name="payment-common-app" target="1.8" /> |
|
||||
<module name="rbseurekaserverapp" target="1.8" /> |
|
||||
</bytecodeTargetLevel> |
|
||||
</component> |
|
||||
</project> |
|
||||
@ -1,10 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<project version="4"> |
|
||||
<component name="Encoding"> |
|
||||
<file url="file://$PROJECT_DIR$" charset="UTF-8" /> |
|
||||
<file url="file://$PROJECT_DIR$/payment-base-app" charset="UTF-8" /> |
|
||||
<file url="file://$PROJECT_DIR$/payment-common-app" charset="UTF-8" /> |
|
||||
<file url="file://$PROJECT_DIR$/payment-eureka-app" charset="UTF-8" /> |
|
||||
<file url="file://$PROJECT_DIR$/payment-eureka-server-app" charset="UTF-8" /> |
|
||||
</component> |
|
||||
</project> |
|
||||
@ -1,15 +0,0 @@ |
|||||
<component name="libraryTable"> |
|
||||
<library name="bcprov-ext-jdk15on-1.46"> |
|
||||
<CLASSES> |
|
||||
<root url="jar://$PROJECT_DIR$/../jar/bcprov-ext-jdk15on-1.46.jar!/" /> |
|
||||
<root url="jar://$PROJECT_DIR$/../jar/commons-codec-1.3.jar!/" /> |
|
||||
<root url="jar://$PROJECT_DIR$/../jar/commons-httpclient-3.0.1.jar!/" /> |
|
||||
<root url="jar://$PROJECT_DIR$/../jar/commons-lang-2.3.jar!/" /> |
|
||||
<root url="jar://$PROJECT_DIR$/../jar/commons-logging-1.1.jar!/" /> |
|
||||
<root url="jar://$PROJECT_DIR$/../jar/hiiposm_engine_simple_2.0.0.34.jar!/" /> |
|
||||
<root url="jar://$PROJECT_DIR$/../jar/securityAPI-client.jar!/" /> |
|
||||
</CLASSES> |
|
||||
<JAVADOC /> |
|
||||
<SOURCES /> |
|
||||
</library> |
|
||||
</component> |
|
||||
@ -1,19 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<project version="4"> |
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" /> |
|
||||
<component name="MavenProjectsManager"> |
|
||||
<option name="originalFiles"> |
|
||||
<list> |
|
||||
<option value="$PROJECT_DIR$/pom.xml" /> |
|
||||
</list> |
|
||||
</option> |
|
||||
<option name="ignoredFiles"> |
|
||||
<set> |
|
||||
<option value="$PROJECT_DIR$/payment-common-app/pom.xml" /> |
|
||||
</set> |
|
||||
</option> |
|
||||
</component> |
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK"> |
|
||||
<output url="file://$PROJECT_DIR$/out" /> |
|
||||
</component> |
|
||||
</project> |
|
||||
@ -1,124 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<project version="4"> |
|
||||
<component name="Palette2"> |
|
||||
<group name="Swing"> |
|
||||
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" /> |
|
||||
</item> |
|
||||
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" /> |
|
||||
</item> |
|
||||
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" /> |
|
||||
</item> |
|
||||
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true"> |
|
||||
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" /> |
|
||||
</item> |
|
||||
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" /> |
|
||||
<initial-values> |
|
||||
<property name="text" value="Button" /> |
|
||||
</initial-values> |
|
||||
</item> |
|
||||
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> |
|
||||
<initial-values> |
|
||||
<property name="text" value="RadioButton" /> |
|
||||
</initial-values> |
|
||||
</item> |
|
||||
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> |
|
||||
<initial-values> |
|
||||
<property name="text" value="CheckBox" /> |
|
||||
</initial-values> |
|
||||
</item> |
|
||||
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" /> |
|
||||
<initial-values> |
|
||||
<property name="text" value="Label" /> |
|
||||
</initial-values> |
|
||||
</item> |
|
||||
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> |
|
||||
<preferred-size width="150" height="-1" /> |
|
||||
</default-constraints> |
|
||||
</item> |
|
||||
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> |
|
||||
<preferred-size width="150" height="-1" /> |
|
||||
</default-constraints> |
|
||||
</item> |
|
||||
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> |
|
||||
<preferred-size width="150" height="-1" /> |
|
||||
</default-constraints> |
|
||||
</item> |
|
||||
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> |
|
||||
<preferred-size width="150" height="50" /> |
|
||||
</default-constraints> |
|
||||
</item> |
|
||||
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> |
|
||||
<preferred-size width="150" height="50" /> |
|
||||
</default-constraints> |
|
||||
</item> |
|
||||
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> |
|
||||
<preferred-size width="150" height="50" /> |
|
||||
</default-constraints> |
|
||||
</item> |
|
||||
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
|
||||
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" /> |
|
||||
</item> |
|
||||
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> |
|
||||
<preferred-size width="150" height="50" /> |
|
||||
</default-constraints> |
|
||||
</item> |
|
||||
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3"> |
|
||||
<preferred-size width="150" height="50" /> |
|
||||
</default-constraints> |
|
||||
</item> |
|
||||
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> |
|
||||
<preferred-size width="150" height="50" /> |
|
||||
</default-constraints> |
|
||||
</item> |
|
||||
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> |
|
||||
<preferred-size width="200" height="200" /> |
|
||||
</default-constraints> |
|
||||
</item> |
|
||||
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> |
|
||||
<preferred-size width="200" height="200" /> |
|
||||
</default-constraints> |
|
||||
</item> |
|
||||
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true"> |
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> |
|
||||
</item> |
|
||||
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> |
|
||||
</item> |
|
||||
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" /> |
|
||||
</item> |
|
||||
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" /> |
|
||||
</item> |
|
||||
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1"> |
|
||||
<preferred-size width="-1" height="20" /> |
|
||||
</default-constraints> |
|
||||
</item> |
|
||||
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" /> |
|
||||
</item> |
|
||||
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> |
|
||||
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" /> |
|
||||
</item> |
|
||||
</group> |
|
||||
</component> |
|
||||
</project> |
|
||||
@ -1,6 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<project version="4"> |
|
||||
<component name="VcsDirectoryMappings"> |
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" /> |
|
||||
</component> |
|
||||
</project> |
|
||||
@ -1,40 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" |
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
||||
<parent> |
|
||||
<artifactId>rbsservice</artifactId> |
|
||||
<groupId>com.rbs.springcloud</groupId> |
|
||||
<version>1.0-SNAPSHOT</version> |
|
||||
</parent> |
|
||||
<modelVersion>4.0.0</modelVersion> |
|
||||
|
|
||||
<artifactId>payment-eureka-app</artifactId> |
|
||||
|
|
||||
<dependencies> |
|
||||
<!-- eureka client --> |
|
||||
<dependency> |
|
||||
<groupId>org.springframework.cloud</groupId> |
|
||||
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId> |
|
||||
</dependency> |
|
||||
|
|
||||
<dependency> |
|
||||
<groupId>org.springframework.boot</groupId> |
|
||||
<artifactId>spring-boot-starter-web</artifactId> |
|
||||
</dependency> |
|
||||
<dependency> |
|
||||
<groupId>org.springframework.boot</groupId> |
|
||||
<artifactId>spring-boot-starter-actuator</artifactId> |
|
||||
</dependency> |
|
||||
<dependency> |
|
||||
<groupId>org.projectlombok</groupId> |
|
||||
<artifactId>lombok</artifactId> |
|
||||
<optional>true</optional> |
|
||||
</dependency> |
|
||||
<dependency> |
|
||||
<groupId>org.springframework.boot</groupId> |
|
||||
<artifactId>spring-boot-starter-test</artifactId> |
|
||||
<scope>test</scope> |
|
||||
</dependency> |
|
||||
</dependencies> |
|
||||
</project> |
|
||||
@ -1,14 +0,0 @@ |
|||||
package com.eureka.server.springclould; |
|
||||
|
|
||||
import org.springframework.boot.SpringApplication; |
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|
||||
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; |
|
||||
|
|
||||
@SpringBootApplication |
|
||||
@EnableEurekaServer |
|
||||
public class EurekaServerApplication { |
|
||||
|
|
||||
public static void main(String[] args) { |
|
||||
SpringApplication.run(EurekaServerApplication.class, args); |
|
||||
} |
|
||||
} |
|
||||
@ -1,11 +0,0 @@ |
|||||
server: |
|
||||
port: 7002 |
|
||||
eureka: |
|
||||
instance: |
|
||||
hostname: eureka7002.com #eureka服务端的实例名称 |
|
||||
client: |
|
||||
register-with-eureka: false #false表示不向注册中心注册自己。 |
|
||||
fetch-registry: false #false表示自己端就是注册中心,我的职责就是维护服务实例,并不需要去检索服务 |
|
||||
service-url: |
|
||||
#设置与eureka server交互的地址和注册服务都需要依赖这个地址 |
|
||||
defaultZone: http://eureka7002.com:7002/eureka/ #集群就是指向其他的eureka |
|
||||
@ -1,11 +0,0 @@ |
|||||
server: |
|
||||
port: 7002 |
|
||||
eureka: |
|
||||
instance: |
|
||||
hostname: eureka7002.com #eureka服务端的实例名称 |
|
||||
client: |
|
||||
register-with-eureka: false #false表示不向注册中心注册自己。 |
|
||||
fetch-registry: false #false表示自己端就是注册中心,我的职责就是维护服务实例,并不需要去检索服务 |
|
||||
service-url: |
|
||||
#设置与eureka server交互的地址和注册服务都需要依赖这个地址 |
|
||||
defaultZone: http://eureka7002.com:7002/eureka/ #集群就是指向其他的eureka |
|
||||
Binary file not shown.
Loading…
Reference in new issue