Skip to content

Commit

Permalink
Merge pull request #1 from MuleSoft-AI-Chain-Project/develop
Browse files Browse the repository at this point in the history
Release 0.1.0
  • Loading branch information
amirkhan-ak-sf authored Sep 5, 2024
2 parents 8d0b508 + 07f7952 commit 135af53
Show file tree
Hide file tree
Showing 34 changed files with 3,093 additions and 165 deletions.
Binary file added .DS_Store
Binary file not shown.
6 changes: 4 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Auto detect text files and perform LF normalization
* text=auto
*.java linguist-detectable=true
*.js linguist-detectable=false
*.html linguist-detectable=false
*.xml linguist-detectable=false
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

.java-version
/target
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 45 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

124 changes: 124 additions & 0 deletions .idea/uiDesigner.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 10 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

<modelVersion>4.0.0</modelVersion>
<groupId>com.mule.mulechain</groupId>
<artifactId>mulechain-web-crawler</artifactId>
<version>0.0.0</version>
<artifactId>mac-web-crawler</artifactId>
<version>0.1.0</version>
<packaging>mule-extension</packaging>
<name>Mulechain-web-crawler Extension</name>
<name>mac-web-crawler Extension</name>

<parent>
<groupId>org.mule.extensions</groupId>
Expand All @@ -20,7 +20,13 @@
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.17.2</version>
</dependency> </dependencies>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.15.2</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>anypoint-exchange-v3</id>
Expand Down
Binary file added src/.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
package com.mule.mulechain.crawler.internal;

import org.mule.runtime.extension.api.annotation.Operations;
import org.mule.runtime.extension.api.annotation.param.Optional;
import org.mule.runtime.extension.api.annotation.param.Parameter;
import org.mule.runtime.extension.api.annotation.param.display.DisplayName;

import java.util.List;

/**
* This class represents an extension configuration, values set in this class are commonly used across multiple
Expand All @@ -11,9 +15,16 @@
public class MulechainwebcrawlerConfiguration {

@Parameter
private String configId;
@Optional
@DisplayName("Tag List")
private List<String> tags;

// Getters and Setters
public List<String> getTags() {
return this.tags;
}

public String getConfigId(){
return configId;
public void setTags(List<String> tags) {
this.tags = tags;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* This is the main class of an extension, is the entry point from which configurations, connection providers, operations
* and sources are going to be declared.
*/
@Xml(prefix = "mulechain-web-crawler")
@Extension(name = "Mulechain Crawler")
@Xml(prefix = "mac-web-crawler")
@Extension(name = "MAC WebCrawler")
@Configurations(MulechainwebcrawlerConfiguration.class)
public class MulechainwebcrawlerExtension {

Expand Down
Loading

0 comments on commit 135af53

Please sign in to comment.